LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   edquota issue (https://www.linuxquestions.org/questions/solaris-opensolaris-20/edquota-issue-519700/)

UltraSoul 01-16-2007 01:15 AM

edquota issue
 
# edquota ultrasoul
/etc/mnttab: no UFS filesystems with quotas file

1) I tried to add the "rq" mount option to the /etc/vfstab file. but problem persistent.
rw, quota is the same situation.
2) I use quotaon -av, problem persistent and without any command output.


I wonder what meaning of the error, under my understanding, the mounted file system did not have quota mount option enabled. But I have added to /etc/vfstab and perform reboot, problem persistent. I also tried to modify /etc/mnttab, but the file has 444 permission and have mounted FS info, then I can not modify the /etc/mnttab file.

Can someone give me some advices?

Brian1 01-16-2007 06:16 PM

I assume you mean /etc/fstab and /etc/mtab. Also which distro and version you are running might help. Just to make sure have you unmounted the partition and then edited fstab and remounted the partition?

Just to make sure what is the partition you are adding quotas to?
Is it just mounted as /home or something.

Brian

UltraSoul 01-16-2007 07:04 PM

My solaris is Solaris 9 9/04. I did the following steps and quota seems to be enabled.

1) # touch /quotas

2) Edit root filesystem entry in /etc/vfstab with rq mount option.

3) Reboot system and use "mount -p" command to confirm the root file system has quota enabled.

#mount -p
/dev/dsk/c0t0d0s0 - / ufs - no rw,intr,largefiles,logging,quota,xattr,onerror=panic
/devices - /devices devfs - no
ctfs - /system/contract ctfs - no
proc - /proc proc - no
mnttab - /etc/mnttab mntfs - no
swap - /etc/svc/volatile tmpfs - no xattr
objfs - /system/object objfs - no
fd - /dev/fd fd - no rw
swap - /tmp tmpfs - no xattr
swap - /var/run tmpfs - no xattr
==>
I found that quota -v user_name can update the disk usage.

Q1. Is it better to run quotacheck root file system to gurantee to display the latest disk usage?

Brian1 01-17-2007 04:34 PM

Sorry did not see it was under the Solaris forum. Did a quick google search for ufs and quota. Seen one post that the newer quota was broken on ufs. Not sure if it would apply. http://www.ussg.iu.edu/hypermail/lin...02.1/1102.html

Brian

jlliagre 01-18-2007 12:44 AM

If you look closer, this broken ufs support was in the Linux kernel, so it certainly doesn't apply to Solaris.


All times are GMT -5. The time now is 10:20 PM.