Results 1 to 7 of 7
When i try to setup quota in linux 5.6
i add this in /etc/fstab
LABEL=/home /home ext3 defaults,usrquota 1 2
after that i tried to mount
mount -o remount /home
...
- 02-15-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 8
Quota "mount: /home not mounted already, or bad option"
When i try to setup quota in linux 5.6
i add this in /etc/fstab
LABEL=/home /home ext3 defaults,usrquota 1 2
after that i tried to mount
mount -o remount /home
but i get
not mounted already, or bad option
How can solve this issue , and why this issue occured ??
- 02-15-2011 #2
Is your LABEL really /home?
I notice your line looks exactly like the example line from this guide, so I'm wondering if you're using the correct info for your system. Please post your /etc/fstab file.
- 02-15-2011 #3Just Joined!
- Join Date
- Jan 2011
- Posts
- 8
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/home /home ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
~
~
~
~
- 02-15-2011 #4
- 02-15-2011 #5
Patience. It's only been a couple of hours.
Is this the default fstab outside of the addition of usrquota and grpquota? Or have you modified this?
The biggest thing to me is the Label names seem unusual. I personally prefer using the uuid or barring that the /dev name.
You can get the uuid as so
fstab with uuid Linux by ExamplesCode:ls -l /dev/disk/by-uuid
Try using that or the /dev name. Post the output of
if you need help identifying the /dev name.Code:su - fdisk -l
- 02-15-2011 #6Just Joined!
- Join Date
- Jan 2011
- Posts
- 8
No , this is not the default fstab file , i add the line LABEL=/home>
The output is
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1305 10377990 8e Linux LVM
Disk /dev/sdb: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 13 104391 83 Linux
- 02-15-2011 #7
What was the LABEL=/home entry before you changed it?
I should have asked as well for the output of
You have two drives showing up. (Is the ~2 GB one, /dev/sdb a flash drive?) The first is only split into two, /dev/sda1 and /dev/sda2. The easiest way to have them in fstab is to use the /dev name.Code:df -h
From your fstab, you only are mounting a /boot partition and a /home partition. What happened to the root partition? You are not required to have a separate /boot partition and it doesn't look like you set one up when you installed based on the above. I would guess /dev/sda1 is meant to be your root partition and /dev/sda2 your /home?
So the simplest way to put these in fstab is by /dev name
Code:/dev/sda1 / ext3 defaults 1 2 /dev/sda2 /home ext3 defaults,usrquota,grpquota 1 2


Reply With Quote
