Posts tagged fstab
Fstab – Manual Mounting and Udev Auto
Mar 7th
Modern Linux distributions use udev which automount partitions to the system. This is most notably seen with usb device that are the predominant hot swappable media. Internal hard drives, particularly drives that are used to boot the system, have their mount points defined in the fstab file. Fstab is automatically generated during the Debian/Ubuntu installation process. Occasionally you’ll want to add entries such as to automount samba shares or if you have Windows partitions on the hard drive; although Windows partitions will most likely be handled automatically by udev. You can mount iso images automatically using fstab; but this may be unnecessarily permanent, and a temporary mount -t iso9660 cd.iso might simply be easier and more convenient.
Spin Down USB Hdd – Ehh I don’t Think Its Working
Dec 23rd
Oh, given my previously elabored backup configuations I have one further thing I would like to do. Since backup 1, and 2 are only used once per day I would like to spin down the hard drivers to increase longevity. I figured dismounting the drive would be effective, but I have encountered several things. First, usb drives are auto mounted, therefore there is no entry in fstab, and no folder in /media. If you dismount backup1:
sudo umount /media/backup1
Now just before issuing the backup rsync I would like to mount the hdd and spinup the hard drives:
sudo mount /dev/sdg1 /media/backup1
But the platters still feel like they are spinning. There is a hum to the disk, and it remains warm as if the partition was still mounted. Maybe I’m confused as to what a spindown is? I would like the hdd to be pseudo disconnected, even the the cable is connected, and then pseudo connected when data transmission is required just before the backup routine.
Ubuntu Automounts Secondary HD Partitions to the Desktop
Nov 14th
This is a convenient feature of Ubuntu, which typically has to be achieve via editing the fstab configuration file. Although editing the file is achievable, the convenience of having coexisting partitions auto mounted is noteworthy; any little bit of time saved when installing a fresh OS is considerable. Other features can also be automated including keyrings associated with a user login. Overall Ubuntu gets a thumbs up for the little conveniences that were not overlooked.