Luke Hamilton
2010-Jul-09 00:31 UTC
[Samba] smbcquotas tells me that "quotas are not enabled"
I have a setup of Ubuntu 8.04 running Samba 3.0.28a. Connected to our network I have a buffalo linkstation acting as Network Attached Storage (NAS), which I have successfully mounted on the local file system. Using smbcquotas I believe I can set up a quota for each user on the NAS. To get started, I run the command: smbcquotas //192.168.1.4/share -S FSQFLAGS:QUOTA_ENABLED -A /etc/.credentials But I get the error: Quotas are not enabled on this share. Failed to open \$Extend\$Quota:$Q:$INDEX_ALLOCATION NT_STATUS_ACCESS_DENIED. I'm trying to figure out why my command fails. Shouldn't that enable quotas in the first place?
Stan Hoeppner
2010-Jul-09 01:43 UTC
[Samba] smbcquotas tells me that "quotas are not enabled"
Luke Hamilton put forth on 7/8/2010 7:31 PM:> I have a setup of Ubuntu 8.04 running Samba 3.0.28a. Connected to our network I > have a buffalo linkstation acting as Network Attached Storage (NAS), which I > have successfully mounted on the local file system. > > Using smbcquotas I believe I can set up a quota for each user on the NAS. To > get started, I run the command: > smbcquotas //192.168.1.4/share -S FSQFLAGS:QUOTA_ENABLED -A /etc/.credentialsIs 192.168.1.4 the Buffalo NAS? If so...> But I get the error: > Quotas are not enabled on this share. > Failed to open \$Extend\$Quota:$Q:$INDEX_ALLOCATION NT_STATUS_ACCESS_DENIED.Does the Buffalo support NTFS5 and is quota capability enabled on the Buffalo SMB server?> I'm trying to figure out why my command fails. Shouldn't that enable quotas in > the first place?Not if the Buffalo NAS isn't already configured to support quotas. As I understand it, this command sends a packet to a remote SMB server telling it how to (re)configure quotas on a given share. If quota capability isn't already enabled on the remote SMB server this command will fail. I think that is what is happening here. I'm no expert on this, just making a somewhat educated guess. See: man smbcquotas -- Stan
Luke Hamilton
2010-Jul-09 20:05 UTC
[Samba] smbcquotas tells me that "quotas are not enabled"
I think you're right in that quotas aren't enabled on the NAS itself and there doesn't appear to be any way of doing so. If I'm to do this, I may have to invent some way of enforcing quotas for the remote machine at the client. But before I get elbow deep in Perl code, I want to try putting a quota on one of the Samba shares. Is that possible? ----- Original Message ---->Luke Hamilton put forth on 7/8/2010 7:31 PM: >> I have a setup of Ubuntu 8.04 running Samba 3.0.28a. Connected to our network >> >>I >> >> have a buffalo linkstation acting as Network Attached Storage (NAS), which I > > >> have successfully mounted on the local file system. >> >> Using smbcquotas I believe I can set up a quota for each user on the NAS. To > > >> get started, I run the command: >> smbcquotas //192.168.1.4/share -S FSQFLAGS:QUOTA_ENABLED -A >/etc/.credentials > >Is 192.168.1.4 the Buffalo NAS? If so... > >> But I get the error: >> Quotas are not enabled on this share. >> Failed to open \$Extend\$Quota:$Q:$INDEX_ALLOCATION >NT_STATUS_ACCESS_DENIED. > >Does the Buffalo support NTFS5 and is quota capability enabled on the Buffalo >SMB server? > >> I'm trying to figure out why my command fails. Shouldn't that enable quotas > >>in >> >> the first place? > >Not if the Buffalo NAS isn't already configured to support quotas. As I >understand it, this command sends a packet to a remote SMB server telling it >how to (re)configure quotas on a given share. If quota capability isn't >already enabled on the remote SMB server this command will fail. I think that >is what is happening here. I'm no expert on this, just making a somewhat >educated guess. > >See: man smbcquotas > >-- >Stan
tms3 at tms3.com
2010-Jul-10 12:52 UTC
[Samba] smbcquotas tells me that "quotas are not enabled"
> >> >> I think you're right in that quotas aren't enabled on the NAS itself >> and there >> doesn't appear to be any way of doing so. If I'm to do this, I may >> have to >> invent some way of enforcing quotas for the remote machine at the >> client.That NAS runs on Linux. A few minutes of googling just now reveals there are OS hacks for it. You might go that route.> >> >> But before I get elbow deep in Perl code, I want to try putting a >> quota on one >> of the Samba shares. Is that possible? > > I wish I had an answer for you. I just don't have enough experience > with > quotas. You may just have to experiment with it unless/until someone > else > posts a solution. > > -- > Stan > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Apparently Analagous Threads
- smbcquotas (Need help with command syntax)
- fail to display xfs quotas instead of smbcquotas on Win clients
- how can i setup disk quota with smbcquotas?
- why i am getting the error message cli_full_connection failed! (NT_STATUS_LOGON_FAILURE) on smbcquotas when i am try to use smbcquotas
- 2 TB limit on a samba share