On Sun, Aug 10, 2008 at 12:11:39PM +0200, [EMAIL PROTECTED] wrote:
> Hi Linux fans,
> 
> My English is not my first language, I hope the story below is understandable.
> 
> I have a xbuntu machine with 2 hard drives, one for the system, one that
> is for backups. The drive for backups is an old, noisy hard drive, so 
> therefore
> i would like it to spin as little as possible.
> 
> In the current configuration, I don't mount the backup drive, and put it
> to sleep with HDparm -Y late in the boot process. When it's time to create
> the backup, I mount the backup drive, perform the backup, unmount the drive,
> and put the drive back to sleep. This works fine, the backup disk only spins
> when the backup is being made.
> 
> Now i want to mount the backup drive read-only, so the users can bring back
> deleted files themselves. When i mount my reiser disk read-only, and put
> it to sleep, the drive wakes up. When i then make sure no process is reading
> from /backup, and once again put my drive to sleep with HDparm -Y, then again
> the drive wakes up.
> 
> Is there any way to mount a reiser drive readonly without the drive being
> accessed afterwards? I understand the mount proces itself must read the drive,
> but after the mount (and putting the drive in sleep mode with HDparm), the
> drive should sleep until a user accesses the drive

It is entirely possible that some sort of indexing or other daemon is
accessing the drive without your direct input.  Try looking at the
daemons you have running and possibly any cron jobs that might read from
/backup at some point.

-- 
Mohan
<<C'est le temps que tu as perdu pour ta rose
            qui fait ta rose si importante.>>
                       -Le Renard
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to