Problems mounting a partition using fstab and e2label...
System is CentOS 5.4 using two 80GB raid 1 drives and one external usb 1TB drive.
I am trying to make the USB partition (ext3 and e2labeled as /usbstorage) a permanent mount using fstab. I used the writeup found here and here to base the setup from. When I reboot the server, the external drive does not auto mount. But if I run mount -a the drive mounts and is usable. fdisk -l Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes Code:
/usbstorage Code:
Filesystem volume name: /usbstorage Code:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1 Code:
drwxr-xr-x 2 root root 4096 Jul 27 14:42 /Storage |
It's been a while since I had such a problem. If memory serves, you need to write a udev rule which relates /dev/sdc1 to the volume label to the mount point to create a persistent mount point. Then, your fstab entry should work.
Red Hat has this on writing custom udev rules: http://www.redhat.com/magazine/002dec04/features/udev/ |
All times are GMT -5. The time now is 01:03 AM. |