10 Aug 2008 12:11
Prevent spin-up of ReiserFS HD mounted read-only
<cedric.dewijs <at> telfort.nl>
2008-08-10 10:11:39 GMT
2008-08-10 10:11:39 GMT
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 Thanks in advance for your attention, Cedric. -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat(Continue reading)
.--. -
RSS Feed