disk quota


I have installed linux with LVM but i am not able to create disk quota.

I have mounted in fstab using

LABEL=/home  /home ext3 defaults,usrquota       1 2

If i mount i get the error as

mount: special device LABEL=/home does not exist

It’s what the message says, no partition is labelled with the string “/home”. In ext3, the label is set at the time of creation, or can be changed later with tune2fs, using the -L option.

/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

I have the following above in fstab, if i add LABEL=/home i get the error, how do i create disk quota?

Do you really have a separate partition for /home or were you under the belief that adding that line would give you quotas? Is this a RHEL system?

I dont have any seperate partition i have everything under / .

Then you can only put a quota on /. Entries in fstab refer to partitions. If you don’t have a partition for /home, you don’t put an entry there.