Re: Rquota not functioning in Solaris 8
From: Richard L. Hamilton (Richard.L.Hamilton_at_mindwarp.smart.net)
Date: 07/31/03
- Next message: Scott Howard: "Re: telnetd: open /dev/ptmx: No such device."
- Previous message: Tony Walton: "Re: using the 'format' command non-interactively in a script"
- In reply to: Tyler Kilian: "Rquota not functioning in Solaris 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Jul 2003 12:38:54 -0000
In article <7c557fde.0307300831.3b543fe4@posting.google.com>,
TKilian@DakotaCom.net (Tyler Kilian) writes:
> I'm hoping that someone can shed light into this problem for me.
> I am trying to share a filesystem across a PTP ethernet link using
> NFS.
> The exported file sytem has quotas enabled and is a metadevice.
> Quotas
> function fine locally. The filesystem can be mounted remotely.
> I am sure I am missing something basic.
>
> Server info:
>
> bash-2.03# df -k|egrep /mnt$
> /dev/md/dsk/d0 12343099 10389542 1830127 86% /mnt
>
>
> bash-2.03# share
> - /mnt rw=fw:ptp-2,root=fw:ptp-2 ""
>
>
> Client side:
>
> bash-2.03# mount -o vers=3,proto=udp,quota ptp-1:/mnt /mnt
>
> bash-2.03# nfsstat -m
> /mnt from ptp-1:/mnt
> Flags: vers=3,proto=udp,sec=sys,hard,intr,link,symlink,acl,rsize=32768,wsize=32768,retrans=5,timeo=11
> Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
>
> bash-2.03# df -k | egrep /mnt$
> ptp-1:/mnt 12343099 10398149 1821520 86% /mnt
>
> bash-2.03# repquota -va
> quotactl: no quotas file on any mounted file system
>
> bash-2.03# rpcinfo -p ptp-1
> program vers proto port service
> 100000 4 tcp 111 rpcbind
> 100000 3 tcp 111 rpcbind
> 100000 2 tcp 111 rpcbind
> 100000 4 udp 111 rpcbind
> 100000 3 udp 111 rpcbind
> 100000 2 udp 111 rpcbind
> 100005 1 udp 50763 mountd
> 100005 2 udp 50763 mountd
> 100005 3 udp 50763 mountd
> 100005 1 tcp 36109 mountd
> 100005 2 tcp 36109 mountd
> 100005 3 tcp 36109 mountd
> 100003 2 udp 2049 nfs
> 100003 3 udp 2049 nfs
> 100227 2 udp 2049 nfs_acl
> 100227 3 udp 2049 nfs_acl
> 100003 2 tcp 2049 nfs
> 100003 3 tcp 2049 nfs
> 100227 2 tcp 2049 nfs_acl
> 100227 3 tcp 2049 nfs_acl
>
>
> I've tried running rquotad manually on the server as well. When I do
> so, it shows up via RPC.
>
> Any ideas? The mount works and quotas work locally. Is rquota not
> supported
> when the shared filesystem is a metadevice? I don't see why that
> would be the
> case...
>
> What am I missing here? Last time I did this, IIRC, everything just
> functioned.
Repquota only lists quotas in local ufs filesystems. From repquota(1m):
> NAME
> repquota - summarize quotas for a ufs file system
>
> SYNOPSIS
> repquota [ -v ] filesystem ...
>
> repquota -a [ -v ]
>
> DESCRIPTION
> repquota prints a summary of the disk usage and quotas for
> the specified ufs file systems. The current number of files
> and amount of space (in kilobytes) is printed for each user
> along with any quotas created with edquota(1M).
[...]
OTOH, quota -v USER (where USER is one that has a quota established)
lists quotas in any filesystem that supports quotas.
Aside from that, I gather rquotad runs on the server side, and is
properly started by the inetd.conf line
rquotad/1 tli rpc/datagram_v wait root /usr/lib/nfs/rquotad rquotad
Just for the heck of it, I added the quota option to a bunch of my
automount map entries, and then logged into a client and ran quota -v.
Sure enough, it picked up the quotas on those of the affected NFS mounted
filesystems that hadn't already been mounted when I updated the maps.
Both server and client were running Solaris 8 (albeit the server was
current on patches and the client definitely wasn't).
-- mailto:rlhamil@mindwarp.smart.net http://www.smart.net/~rlhamil
- Next message: Scott Howard: "Re: telnetd: open /dev/ptmx: No such device."
- Previous message: Tony Walton: "Re: using the 'format' command non-interactively in a script"
- In reply to: Tyler Kilian: "Rquota not functioning in Solaris 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|