It works

 

#umount /mnt

#mount -F vxfs /dev/vx/dsk/testdg/vols /mnt

#vxquot /mnt

/dev/vx/rdsk/testdg/vols:

USERS

     11266      root

      4096      adm

      4096      bin

      4096      cstynes

      4096      gdm

      4096      daemon

      4096      joe

      4096      listen

      4096      lp

      4096      noaccess

      4096      nobody

      4096      nobody4

      4096      nuucp

      4096      oracle

      4096      postgres

      4096      smmsp

      4096      svctag

      4096      sys

      4096      uucp

      4096      webservd

   

   3072      Admin

 

Just a quick test after remounting - it works

Generated a small amount of junk using the following

 

for (( i=0; i <= 512; i++ )) ; do echo $i; cat /etc/passwd | cut -d ":"
-f1  | while read user; do dd if=/dev/zero of=$user.$i bs=1024k count=1;
chown $user $user.$i; done; done

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of John
Cronin
Sent: Saturday, 5 March 2011 10:16 AM
To: Carl E. Ma
Cc: [email protected]
Subject: Re: [Veritas-vx] vxrepquota question

 

Try the command "vxquot <file-system>".  According to the man page, it
does not appear that quotas need to be enabled for this command to work.
Unfortunately, I don't have any place to try this out right now.

On Fri, Mar 4, 2011 at 4:40 PM, Carl E. Ma <[email protected]> wrote:

Hello All,

We are running NFS server with Veritas VCS 5.1SP1 on solaris 10 x86. In
order to track disk usage in real time, we enabled disk quota on the
server so that we can get each user's usage with "vxrepquota
<filesystem>" and "vxquota -v -u <username>". If we didn't set quota for
a user, his name/usage won't show up in "vxrepquota" output.

Since we don't know how many users will keep files on the shared NFS
filesystem, we have to enable quota for all 3000+ users as temp
solution. My questions is without enforcing soft/hard quota, can we
still track user disk usage? My understanding of quota filesystem is all
users' disk usage is being tracked within filesystem and there should
have other way to read out the statistics. I will summarize if there is
answer.

Thanks & have a good weekend,

zhu




_______________________________________________
Veritas-vx maillist  -  [email protected]
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

 

_______________________________________________
Veritas-vx maillist  -  [email protected]
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to