Harddisk spin-up delay


Results 1 to 7 of 7

Thread: Harddisk spin-up delay

Threaded View

  1. #1
    Join Date
    Jun 2006
    Location
    Haarlem, Holland
    Posts
    129

    Harddisk spin-up delay [solved, I think]

    Hi
    I have a security cam watched by a computer with Motion. on that computer i use hdparm -S 240 /dev/hdb to stop the harddrive where the pictures go from running when not used (witch is usually 2 days in a row).
    Now when motion is detected, the first 3 or 4 pictures are saved, and then there is a pauze for about 5 sec. before the next picture. This has to do with the hard-disk spinning up (I tried without), but I don't understand why not more pictures are held in memory until the disk is ready.

    Has anybody ideas how to solve this without having the disk running all days?, or what i should start reading

    motion (version 3.2.9)
    Debian lenny
    Kernel 2.6.26-2-686
    hdparm v8.9
    PII with 384mb ram

    pictures are jpg size 30-70kb

    Code:
    server:~# free
                 total       used       free     shared    buffers     cached
    Mem:        386244     381432       4812          0     145952     102416
    -/+ buffers/cache:     133064     253180
    Swap:       257000        924     256076
    Last edited by folkert; 04-18-2010 at 05:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •