Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] NFS quotas on Solaris 10

25 views
Skip to first unread message

Christian Manal

unread,
Apr 26, 2012, 6:10:01 AM4/26/12
to
Hi list,

I'm running Samba 3.6.4 on Solaris 10 x86. Underlying filesystem is ZFS.

Since updating from 3.6.0, free space on NFS mounted ZFS filesystem,
without a userquota set for the user, is always reported zero. 'quota
-v' and the perl module 'Quota' both report no quota for such file systems.

(Un)setting (ref)quota for those filesystems doesn't change anything.

Any idea how to fix this behavior? A level 10 log of the quota stuff is
attached.


Regards,
Christian Manal
smbdlog

Gaiseric Vandal

unread,
Apr 26, 2012, 10:10:01 AM4/26/12
to
Are these autofs mounts?

Are the nfs v4 mounts - I think Solaris 10 will automatically default
to NFS v4 when mounting from another Solaris 10 server.

Can you run "smbd -b" on the new and old version and see if the new
build omits any crucial modules?
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Christian Manal

unread,
Apr 26, 2012, 10:30:02 AM4/26/12
to
On 26.04.2012 16:07, Gaiseric Vandal wrote:
> Are these autofs mounts?
>
> Are the nfs v4 mounts - I think Solaris 10 will automatically default
> to NFS v4 when mounting from another Solaris 10 server.

Yes to both.


> Can you run "smbd -b" on the new and old version and see if the new
> build omits any crucial modules?

See attachments.


Regards,
Christian Manal
smbd-b_new
smbd-b_old

Gaiseric Vandal

unread,
Apr 26, 2012, 4:10:02 PM4/26/12
to
I have one share on my samba server which is on top of an autofs mount
point. This is solaris 10 with bundled samba 3.5.10 and zfs. It also
shows 0 free space. I had the same problem with samba 3.4.x compiled
from source code. I think this is just a fundamental Samba issue that
you won't easily solve.

Most Windows applications won't have an issue with this. Adobe Acrobat
will.

Christian Manal

unread,
Apr 27, 2012, 3:00:02 AM4/27/12
to
On 26.04.2012 22:08, Gaiseric Vandal wrote:
> I have one share on my samba server which is on top of an autofs mount
> point. This is solaris 10 with bundled samba 3.5.10 and zfs. It also
> shows 0 free space. I had the same problem with samba 3.4.x compiled
> from source code. I think this is just a fundamental Samba issue that
> you won't easily solve.
>
> Most Windows applications won't have an issue with this. Adobe Acrobat
> will.

Might be. But it wasn't an issue until the update. My Win7 clients can't
copy files onto shares anymore, since then. Error message says not
enough disk space.

I had to rebuild Samba without quota support as a workaround. Which now
makes it show wrong sizes for those who actually have a userquota.

I even tried cooking up my own 'get quota command', but that doesn't
seem to be used for NFS quotas.
0 new messages