search for: q_xgetquota

Displaying 4 results from an estimated 4 matches for "q_xgetquota".

Did you mean: q_getquota
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started experimenting with the filesystem quotas, and I have a suggestion for improvement. On my mail server, I use group-based quotas, and would like to have Dovecot be able to report these quotas. It should be simple to implement, requiring only changes to the quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2014 Mar 03
1
Doubled Quotas on Ubuntu
...IZE_INFO bsize=1024, cSectorUnit=2, cBytesSector=512, cUnitTotal=1048576, cUnitAvail=1048572 [2014/01/29 11:30:21.517959, 9] smbd/trans2.c:979(send_trans2_replies) t2_rep: params_sent_thistime = 0, data_sent_thistime = 32, useable_space = 131012 while stracing the samba process shows: quotactl(Q_XGETQUOTA|GRPQUOTA, "/dev/sdb", 10057, {version=1, flags=XFS_GROUP_QUOTA, fieldmask=0, id=10057, blk_hardlimit=2097152, blk_softlimit=2097152, ino_hardlimit=0, ino_softlimit=0, bcount=8, icount=11, ...}) = 0 On the incorrect Ubuntu machine, level=10 logs show: [2014/01/29 09:27:25.429062, 5] s...
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...TA_H) - /* Linux */ + /* Linux */ #ifdef HAVE_XFS_QUOTA - if (strcmp(root->mount->type, "xfs") == 0) { - /* XFS */ - struct fs_disk_quota xdqblk; + if (strcmp(root->mount->type, "xfs") == 0) { + /* XFS */ + struct fs_disk_quota xdqblk; - if (quotactl(QCMD(Q_XGETQUOTA, USRQUOTA), - root->mount->device_path, - root->uid, (caddr_t)&xdqblk) < 0) { - i_error("quotactl(Q_XGETQUOTA, %s) failed: %m", - root->mount->device_path); - quota_set_error(_root->setup->quota, - "Internal quota error"); -...
2006 Apr 19
1
quota on xfs on lvm doesn't work(?)
Hi, I have a strange problem with user quotas enabled on a xfs filesystem and samba 3.0.21c: When a standard block device (e.g. /dev/sdc1) is used for the fs, quota works like expected: /dev/sdc1 on /mnt/tmp type xfs (rw,usrquota) output from level quota:10 debug: [2006/04/19 14:38:48, 10] lib/sysquotas.c:sys_get_quota(394) sys_get_quota() uid(4004, 4004) [2006/04/19 14:38:48, 10]