Forum Moderators: bakedjake
There isn't the /home line so I followed to add the line and rebooted the machine. What happened was that the system could not boot again and I had to use linux rescue to changed back the file.
Firstly, I questioned whether hdd2 is correct but it seems to be ok from the result of running fdisk -l:-
[root@localhost ~]# fdisk -l
Disk /dev/hdd: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 13 104391 83 Linux
/dev/hdd2 14 3738 29921062+ 8e Linux LVM
Disk /dev/sda: 82.3 GB, 82347195904 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5005 40202631 7 HPFS/NTFS
/dev/sda2 5006 10011 40210695 7 HPFS/NTFS
[root@localhost ~]#
Then I searched the web again and found a page on the web saying that quota applied to an entire partition and it seems that in my system /home is just a directory in the / partition. I also found that it works if I put usrquota,grpquota in the / line but I prefer to apply quota to /home only.
So the problem is what can I do to achieve my purpose?
This is my fstab file:-
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
Thank you.