Adding Labels To fstab
Right now when i do a df all i get is:
Filesystem 1K-blocks Used Available Use% Mounted on
279736320 28065536 237460944 11% /
/dev/sda1 101086 15603 80264 17% /boot
none 1037980 0 1037980 0% /dev/shm
The problem is that i need to set quotas on /home and /var/mail. I figured that the best way to do this is to create labels in fstab like /boot has for /home and /var so that i can then enable quotas on them and they will show up in a df as their own entries. When i edit my fstab to look like this:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota,grpquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/var /var ext3 defaults,usrquota,grpquota 1 3
LABEL=/home /home ext3 defaults 1 4
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
and reboot, i get this error:
fsck.ext3: Unable to resolve 'LABEL=/home'
fsck.ext3: Unable to resolve 'LABEL=/var'
Is there something I am forgetting to do when i add a new label of am i going about this the wrong way???
Thanks for any guidance
Use e2fslabel, or tune2fs -L to label the partitions. Otherwise mount cannot resolve the label to a partition name.
Thanks. I though that there was something i was missing
|All times are GMT -5. The time now is 11:51 PM.|