LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-16-2007, 01:15 AM   #1
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
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?
 
Old 01-16-2007, 06:16 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 01-16-2007, 07:04 PM   #3
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
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?
 
Old 01-17-2007, 04:34 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 01-18-2007, 12:44 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How set disk space for particular user using command edquota sarajevo Debian 1 01-06-2006 07:49 PM
edquota and useradd dreyes81 Linux - Newbie 5 10-23-2005 07:13 PM
How to use edquota for openwebmail quota? heislyc Linux - General 0 08-01-2005 11:38 PM
how to edquota MySQL users? MDFH Linux - General 1 05-03-2005 01:23 PM
repquota (and edquota) report incorrect "used" blocks/inodes.. marcolof Linux - General 0 02-18-2005 09:26 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration