search for: repquota

Displaying 20 results from an estimated 43 matches for "repquota".

2009 Apr 22
1
Cannot set user quotas
Hello, I am having some trouble getting quota's to work. When I try to set the quota for a user, it does not show up when I run repquota. I am doing this on a Redhat (RHEL5) machine (I assume it is the same on Centos). I think I am missing a step, but this is what I am doing: (1) I add usrquota to the /etc/fstab file, then reboot LABEL=/home /home ext3 defaults,usrquota 1 2 (2) Verify /home is /dev/hda3 /sbin/tune2fs -l...
2008 Oct 27
3
dumpe2fs and repquota not agreeing on block size
Hello: I am trying to set up user quotas on my /var partition to enforce limits on user's mailbox sizes. The machine is running CentOS 5. When I do this: /sbin/dumpe2fs /dev/md2 | grep 'Block size' Block size: 4096 That tells me the block size is 4k. But, if I do: repquota /var It is telling me that one of my users is currently using 10264 blocks. But, if I look at their mail file, it is 10493792 bytes, which means they should be using 2562 blocks or so. Also, if I do: df /var I get this Filesystem 1K-blocks Used Available Use% Mounted on /dev/md2...
2014 Sep 16
1
quota doesn't appear to work - repquota only updates when quotacheck is run
...t does not appear that > the quota system is being updated, except when I manually run quotacheck. > > More detail: I run "warnquota -s" from a script in /etc/cron.daily. I > noticed that no one had received an "over quota" message in a long time. > Using "repquota -as", it indeed looked as though everyone was under their > quotas. But "du" showed many people were over quota. So I did a "quotaoff > -a ; quotacheck -vam ; quotaon -a". That night, several > warnquota-generated messages went out. My users diligently cleaned...
2013 Nov 21
0
quota doesn't appear to work - repquota only updates when quotacheck is run
...on an ext4 filesystem. It does not appear that the quota system is being updated, except when I manually run quotacheck. More detail: I run "warnquota -s" from a script in /etc/cron.daily. I noticed that no one had received an "over quota" message in a long time. Using "repquota -as", it indeed looked as though everyone was under their quotas. But "du" showed many people were over quota. So I did a "quotaoff -a ; quotacheck -vam ; quotaon -a". That night, several warnquota-generated messages went out. My users diligently cleaned up their homes....
2018 Mar 26
3
[OT?] winbind e quota...
As was used to (in Samba NT/LDAP), i've enabled quota on /homes, and homes are exported (as homedrive) for users. Editing quotas (with edquota) works as expected, and in windows explorer users get quota correctly reported, but a simple: repquota -a return nothing: root at vdmsv1:~# repquota -a *** Report for user quotas on device /dev/sdb1 Block grace time: 28days; Inode grace time: 28days Block limits File limits User used soft hard grace used soft hard grace ---------...
2014 Sep 29
1
3.6.9 samba does not propagate (or show) Linux quota for windows users to see it
...************ #!/bin/bash PATH=/usr/bin:/usr/sbin:/bin IAM=`id -un` # find the user's home file system. DIR="home" #check and see if they're over quota, as it will affect output # user with reached quota has 9 fields in row, 'ok' user only 8 OVER=`/usr/bin/sudo /usr/sbin/repquota /$DIR | grep -w $IAM | wc -w` # over quota if [ $OVER -eq 9 ]; then RET=`/usr/bin/sudo /usr/sbin/repquota /$DIR | grep -w $IAM | awk -F" " '{print "2 "$3" "$4" "$5" "$7" "$8" "$9}'` else # not over quota...
2018 Mar 27
2
[OT?] winbind e quota...
...#39;quota' and works as expected: root at vdmsv1:~# quota -su gaio Disk quotas for user gaio (uid 10000): Filesystem space quota limit grace files quota limit grace /dev/sdb1 204K 51200M 56320M 39 50000 55005 so seems that simply 'repquota' depend heavily on 'enumerated' users. Sorry to all. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco...
2018 Mar 27
1
[OT?] winbind e quota...
On Tue, 27 Mar 2018 16:38:29 +0200 Malte zu Klampen via samba <samba at lists.samba.org> wrote: > > so seems that simply 'repquota' depend heavily on 'enumerated' > > users. > > > Correct, and it's not the only tool that relies on this assumption. > > The default for 'winbind enum users' changed a while back iirc. It > defaults to off now and I've had no luck forcing it b...
2006 Jan 30
1
linux group quota does not work as expected with 3.0.21a
...path = /var/work/smb_shares/ISCMPD valid users = @ISCMPD write list = @ISCMPD force group = qiscmpd force create mode = 0777 force directory mode = 0777 qiscmpd - is a linux group manually added for quotas: # cat /etc/group | grep qiscmpd qiscmpd:x:10057: # repquota -ag | grep iscmpd qiscmpd -- 778296 1000 1000 5102 0 0 When I try to copy files to quoted samba share, it copies ok, samba set correct permissions, and size of used blocks in repquota grows, but: 1. I can copy as much data as I want, not as quota says. 2. Th...
2008 Nov 05
1
winbindd consuming 99% CPU
...ng ADS with 64k users, samba takes around 20 - 25 min to populate idmap_cache.tdb and winbindd_cache.tdb This is because we haven't turned of enumeration and we would be fixing it for next maintenance release of the NAS product. 2. We periodically check the quota state of all the users using repquota command. It refers to /etc/nsswitch.conf for mapping user ids to names. And winbindd inherently should look for its cache as it is populated completely to do the conversion. But we observed that every time the repquota command is invoked, winbindd starts consuming 98% of CPU. It fetches the info...
2013 Feb 06
2
fail to display xfs quotas instead of smbcquotas on Win clients
Hi Samba 3.6.3 on Ubuntu. Filesystem is xfs, grpquota and usrquota are enabled. root at host:# repquota /mntpoint displays the correct data (see below). In smb.conf I defined max protocol = SMB2. When running smbcquotas //host/share -L I'm getting displayed a value of 16GB for every user share. This is the value that is displayed on the windows 7 boxes when looking at the network shares in Start...
2019 Sep 23
2
testparm comaprison
...I repeat (louder this time): NO ONE NEEDS THE 'WINBIND ENUM' LINES IN >> SMB.CONF > While it is true that i can live happily without 'winbind enum', it is > not completely true that 'no one needs' that. > > For example, quota: > > root at vdmsv1:~# repquota -a > *** Report for user quotas on device /dev/sdc1 > Block grace time: 28days; Inode grace time: 28days > Block limits File limits > User used soft hard grace used soft hard grace > ----------------------------...
2019 Sep 23
4
testparm comaprison
On 23/09/2019 13:42, Trenta sis via samba wrote: > Thanks, ntlm auth is temporary until we have solved some issues > getent is needed by filesystem acl > If you think you need the 'winbind enum' lines so that 'getent' works, then think again ;-) If you do not have the 'winbind enum 'lines 'getent passwd username' will still work. 'getent passwd'
2016 Nov 03
0
Centos 7 Minimal and Quotas
...need to install Directadmin which requires quotas. I have this in fstab: UUID=b482396d-d2fc-49ed-b9df-c49e9387405b / xfs defaults 0 0 UUID=e24a16e0-57ab-42b2-af0b-9edf789376e5 /boot xfs defaults 0 0 UUID=b08b8243-6b46-444c-a7bd-02934246d884 swap swap defaults 0 0 I get this: # repquota / repquota: Mountpoint (or device) / not found or has no quota enabled. repquota: Not all specified mountpoints are using quota. I tried changing / from defaults to defaults,usrquota,grpquota in fstab and rebooting but I still get the same result. What do I need to do here?
2010 Dec 31
1
OT how to prevent oversubscription of a disk
I want to add up the quotas I've assigned on a particular partition and see if the total is bigger than the disk. It's possible to do this (awkwardly) using repquota or quota. Is there no more accurate/elegant way? I can't be the first person to worry that more quota has been issued than the disk can supply. mahalo and Happy New Year, Dave -- Q: Why should this email be 5 sentences or less? A: http://five.sentenc.es
2007 Feb 01
0
Samba behaving badly with quotas
...e than 1 block to / , but as much as he wants to /media/drivebay/backup - when copying data from remote machines. What do I have to change? (I know that I could do something similar in a script, but I want to learn about quotas). the usrquota program does not exist in my distro (FC6), but "repquota /media/drivebay/backup1" shows: repquota: Mountpoint (or device) /media/drivebay/backup1 not found. repquota: Not all specified mountpoints are using quota. This suggests that quotas are not applied to that mount point. However....I can r/w just fine as user "backup" with quotas of...
2019 Mar 13
4
Unable to set quota-fs plugin
Looks working. [root at mail ~]# ls -lh / total 72K -rw------- 1 root root 8.0K Mar 13 09:56 aquota.group -rw------- 1 root root 7.0K Mar 13 09:56 aquota.user .... [root at mail ~]# repquota -a *** Report for user quotas on device /dev/vda1 Block grace time: 7days; Inode grace time: 7days Block limits File limits User used soft hard grace used soft hard grace -----------------------------------------------------------------...
2018 Mar 26
0
[OT?] winbind e quota...
...sts.samba.org>: > >As was used to (in Samba NT/LDAP), i've enabled quota on /homes, and >homes are exported (as homedrive) for users. > >Editing quotas (with edquota) works as expected, and in windows >explorer >users get quota correctly reported, but a simple: > > repquota -a > >return nothing: > > root at vdmsv1:~# repquota -a > *** Report for user quotas on device /dev/sdb1 > Block grace time: 28days; Inode grace time: 28days > Block limits File limits > User used soft hard grace us...
2019 Sep 23
1
testparm comaprison
...> https://bugzilla.samba.org/buglist.cgi?quicksearch=quota&list_id=25312 I don't think it's a samba bug! Simply i'm pointing out that disabling 'winbind enum' can lead to some 'glitches', mostnotably 'getent passwd' return no domin users (by design) and repquota/warnquota does not work. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-04...
2019 Sep 23
0
testparm comaprison
Mandi! Rowland penny via samba In chel di` si favelave... > For normal use, nobody needs 'winbind enum' and you will be able to script > around 'repquota' without the 'winbind enum' lines in smb.conf, probably > using a for loop around the output of 'wbinfo -u' Again, it is true; but simply someone have to make a note on it (and, ok, code the sript), because repquota/warnquta simply 'does not work' (they are totally u...