Re: Jewel CephFS quota (setfattr, getfattr)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 23, 2016 at 12:52 AM, Yan, Zheng <ukernel@xxxxxxxxx> wrote:
> To enable quota, you need to pass "--client-quota" option to ceph-fuse

Yeah, this is a bit tricky since the kernel just doesn't respect quota
at all. Perhaps once the kernel does support them we should make this
the default. Or do something like make it the default in ceph-fuse,
and issue MDS-side warnings when kernel clients start doing things in
trees with a quota attached.
-Greg

>
> Yan, Zheng
>
> On Mon, May 23, 2016 at 3:18 PM, Goncalo Borges
> <goncalo.borges@xxxxxxxxxxxxx> wrote:
>> Hi Edgaras...
>>
>>
>> Just quoting a previous statement frim Yang:
>>
>> " To use ACL, you need to add "--fuse_default_permissions=0
>> --client_acl_type=posix_acl" options to ceph-fuse. The
>> '--fuse_default_permissions=0' option disables kernel
>> file permission check and let ceph-fuse do the check."
>>
>> Cheers
>>
>> G.
>>
>>
>> On 05/17/2016 10:33 PM, Edgaras Lukoševičius wrote:
>>
>> Hello,
>>
>> I have ceph 10.2 (Jewel) running with CephFS on CentOS 7.2 which is mounted
>> using ceph-fuse 10.2.
>> Attributes ceph.quota.max_files and ceph.quota.max_bytes doesn't work.
>>
>> # setfattr -n ceph.quota.max_files -v 10 /home/quotatest1
>> # setfattr -n ceph.quota.max_bytes -v 1000000 /home/quotatest1
>>
>> Both commands exit with status 0 (strace output is added below)
>>
>> But quotas is not working and running getfattr doesn't return any value.
>> # getfattr -n ceph.quota.max_files /home/quotatest1
>> /home/quotatest1: ceph.quota.max_files: No such attribute
>>
>> # getfattr -n ceph.quota.max_bytes /home/quotatest1
>> /home/quotatest1: ceph.quota.max_bytes: No such attribute
>>
>> # getfattr -m ceph.* /home/quotatest1
>> getfattr: Removing leading '/' from absolute path names
>> # file: home/quotatest1
>> ceph.dir.entries
>> ceph.dir.files
>> ceph.dir.rbytes
>> ceph.dir.rctime
>> ceph.dir.rentries
>> ceph.dir.rfiles
>> ceph.dir.rsubdirs
>> ceph.dir.subdirs
>>
>>
>>
>> # strace -s 1024 -ff setfattr -n ceph.quota.max_files -v 10 /home/quotatest1
>> execve("/usr/bin/setfattr", ["setfattr", "-n", "ceph.quota.max_files", "-v",
>> "10", "/home/quotatest1"], [/* 26 vars */]) = 0
>> brk(0)                                  = 0xb85000
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f528f4a2000
>> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
>> directory)
>> open("/etc/ld.so.cache", O_RDONLY)      = 5
>> fstat(5, {st_mode=S_IFREG|0644, st_size=30080, ...}) = 0
>> mmap(NULL, 30080, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f528f49a000
>> close(5)                                = 0
>> open("/lib64/libattr.so.1", O_RDONLY)   = 5
>> read(5,
>> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0@\0\0\0\0\0\0\0XB\0\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\33\0\32\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\304:\0\0\0\0\0\0\304:\0\0\0\0\0\0\0\0
>> \0\0\0\0\0\1\0\0\0\6\0\0\0\310=\0\0\0\0\0\0\310= \0\0\0\0\0\310=
>> \0\0\0\0\0\200\3\0\0\0\0\0\0\230\3\0\0\0\0\0\0\0\0
>> \0\0\0\0\0\2\0\0\0\6\0\0\0\30>\0\0\0\0\0\0\30> \0\0\0\0\0\30>
>> \0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0$\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\0345\0\0\0\0\0\0\0345\0\0\0\0\0\0\0345\0\0\0\0\0\0\364\0\0\0\0\0\0\0\364\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\310=\0\0\0\0\0\0\310=
>> \0\0\0\0\0\310=
>> \0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\0\214\320\263\5%\235\265\371\270\310\320\333\305c\272p\232f\301\0\0\0\0\21\0\0\0\32\0\0\0\4\0\0\0\10\0\0\0*\0\30\0(\340\205\20<\4\1bH
>> X \4\250#\0\v\21\10\311\20\230\10\r\0\5\6\200\32\0\0\0\33\0\0\0
>> \0\0\0$\0\0\0(\0\0\0\0\0\0\0*\0\0\0,\0\0\0/\0\0\0001\0\0\0\0\0\0\0002\0\0\0\0\0\0\0005\0\0\0006\0\0\0008\0\0\0;\0\0\0\241\213\315\300\352\323\357\16l42\350\276\250\343\370\2-^\203\5\301X\25\276B1\340X\235\235\323\352\32\346\300\271\215\361\16\24\345N\251\330qX\34P\3431\256g\336\10`r\302x\356\273\343\222|.cx\204\221U_\25J=G\363.cx\204CE\325\354\220x\251\3351cx\204\271\3732\0\362?\355s\240sU\2413S\247\273\313\333\343\3706|h%E\366H\23\332\217[\25\304\350\33\233\333\f\26\211\255\0179N\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\n\0\310\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0
>> \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0+\0\0\0 \0\0\0", 832) = 832
>> fstat(5, {st_mode=S_IFREG|0755, st_size=18712, ...}) = 0
>> mmap(NULL, 2113888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) =
>> 0x7f528f07f000
>> mprotect(0x7f528f083000, 2093056, PROT_NONE) = 0
>> mmap(0x7f528f282000, 8192, PROT_READ|PROT_WRITE,
>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x3000) = 0x7f528f282000
>> close(5)                                = 0
>> open("/lib64/libc.so.6", O_RDONLY)      = 5
>> read(5,
>> "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\356\1\0\0\0\0\0@\0\0\0\0\0\0\0(=\35\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0J\0I\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0p\247\25\0\0\0\0\0p\247\25\0\0\0\0\0p\247\25\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0<\233\30\0\0\0\0\0<\233\30\0\0\0\0\0\0\0
>> \0\0\0\0\0\1\0\0\0\6\0\0\0\10\247\30\0\0\0\0\0\10\2478\0\0\0\0\0\10\2478\0\0\0\0\0\260F\0\0\0\0\0\0\0\222\0\0\0\0\0\0\0\0
>> \0\0\0\0\0\2\0\0\0\6\0\0\0@\333\30\0\0\0\0\0@\3338\0\0\0\0\0@\3338\0\0\0\0\0\360\1\0\0\0\0\0\0\360\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0D\0\0\0\0\0\0\0D\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\10\247\30\0\0\0\0\0\10\2478\0\0\0\0\0\10\2478\0\0\0\0\0\20\0\0\0\0\0\0\0h\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\214\247\25\0\0\0\0\0\214\247\25\0\0\0\0\0\214\247\25\0\0\0\0\0\314e\0\0\0\0\0\0\314e\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\10\247\30\0\0\0\0\0\10\2478\0\0\0\0\0\10\2478\0\0\0\0\0\3708\0\0\0\0\0\0\3708\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\216o\244\304\260YL5\\\33\220\301\324\231\2206\214\201\240@\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0\22\0\0\0\0\0\0\0\363\3\0\0\t\0\0\0\0\1\0\0\16\0\0\0\0000\20D\240
>> \2\1\210\3\346\220\305E\214\0\300\0\10\0\5\200\0`\300\200\0\r\212\f\0\4\20\0\210D2\10.@\210P4,
>> \16\"H&\204\300\214\4\10\0\2\2\16\241\254\32\4f\300\0\3002\0\300\0P\1
>> \201\10\204\v  ($\0\4 P\0\20X\200\312DB(\0\6\200\20\30B\0
>> @\200\0\tP\0Q\212@\20\0\0\0\0\10\0\0\21\20", 832) = 832
>> fstat(5, {st_mode=S_IFREG|0755, st_size=1920936, ...}) = 0
>> mmap(NULL, 3750152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) =
>> 0x7f528eceb000
>> mprotect(0x7f528ee75000, 2097152, PROT_NONE) = 0
>> mmap(0x7f528f075000, 20480, PROT_READ|PROT_WRITE,
>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x18a000) = 0x7f528f075000
>> mmap(0x7f528f07a000, 18696, PROT_READ|PROT_WRITE,
>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f528f07a000
>> close(5)                                = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f528f499000
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f528f498000
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f528f497000
>> arch_prctl(ARCH_SET_FS, 0x7f528f498700) = 0
>> mprotect(0x7f528f075000, 16384, PROT_READ) = 0
>> mprotect(0x7f528f282000, 4096, PROT_READ) = 0
>> mprotect(0x602000, 4096, PROT_READ)     = 0
>> mprotect(0x7f528f4a3000, 4096, PROT_READ) = 0
>> munmap(0x7f528f49a000, 30080)           = 0
>> brk(0)                                  = 0xb85000
>> brk(0xba6000)                           = 0xba6000
>> open("/usr/lib/locale/locale-archive", O_RDONLY) = 5
>> fstat(5, {st_mode=S_IFREG|0644, st_size=99158576, ...}) = 0
>> mmap(NULL, 99158576, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f5288e5a000
>> close(5)                                = 0
>> setxattr("/home/quotatest1", "ceph.quota.max_files", "10", 2, 0) = 0
>> exit_group(0)                           = ?
>> +++ exited with 0 +++
>>
>>
>>
>>
>>
>> # strace -s1024 -ff getfattr -n ceph.quota.max_files /home/quotatest1
>> execve("/usr/bin/getfattr", ["getfattr", "-n", "ceph.quota.max_files",
>> "/home/quotatest1"], [/* 26 vars */]) = 0
>> brk(0)                                  = 0x1a89000
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f919d862000
>> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
>> directory)
>> open("/etc/ld.so.cache", O_RDONLY)      = 5
>> fstat(5, {st_mode=S_IFREG|0644, st_size=30080, ...}) = 0
>> mmap(NULL, 30080, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f919d85a000
>> close(5)                                = 0
>> open("/lib64/libattr.so.1", O_RDONLY)   = 5
>> read(5,
>> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0@\0\0\0\0\0\0\0XB\0\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\33\0\32\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\304:\0\0\0\0\0\0\304:\0\0\0\0\0\0\0\0
>> \0\0\0\0\0\1\0\0\0\6\0\0\0\310=\0\0\0\0\0\0\310= \0\0\0\0\0\310=
>> \0\0\0\0\0\200\3\0\0\0\0\0\0\230\3\0\0\0\0\0\0\0\0
>> \0\0\0\0\0\2\0\0\0\6\0\0\0\30>\0\0\0\0\0\0\30> \0\0\0\0\0\30>
>> \0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0$\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\0345\0\0\0\0\0\0\0345\0\0\0\0\0\0\0345\0\0\0\0\0\0\364\0\0\0\0\0\0\0\364\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\310=\0\0\0\0\0\0\310=
>> \0\0\0\0\0\310=
>> \0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\0\214\320\263\5%\235\265\371\270\310\320\333\305c\272p\232f\301\0\0\0\0\21\0\0\0\32\0\0\0\4\0\0\0\10\0\0\0*\0\30\0(\340\205\20<\4\1bH
>> X \4\250#\0\v\21\10\311\20\230\10\r\0\5\6\200\32\0\0\0\33\0\0\0
>> \0\0\0$\0\0\0(\0\0\0\0\0\0\0*\0\0\0,\0\0\0/\0\0\0001\0\0\0\0\0\0\0002\0\0\0\0\0\0\0005\0\0\0006\0\0\0008\0\0\0;\0\0\0\241\213\315\300\352\323\357\16l42\350\276\250\343\370\2-^\203\5\301X\25\276B1\340X\235\235\323\352\32\346\300\271\215\361\16\24\345N\251\330qX\34P\3431\256g\336\10`r\302x\356\273\343\222|.cx\204\221U_\25J=G\363.cx\204CE\325\354\220x\251\3351cx\204\271\3732\0\362?\355s\240sU\2413S\247\273\313\333\343\3706|h%E\366H\23\332\217[\25\304\350\33\233\333\f\26\211\255\0179N\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\n\0\310\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0
>> \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0+\0\0\0 \0\0\0", 832) = 832
>> fstat(5, {st_mode=S_IFREG|0755, st_size=18712, ...}) = 0
>> mmap(NULL, 2113888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) =
>> 0x7f919d43f000
>> mprotect(0x7f919d443000, 2093056, PROT_NONE) = 0
>> mmap(0x7f919d642000, 8192, PROT_READ|PROT_WRITE,
>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x3000) = 0x7f919d642000
>> close(5)                                = 0
>> open("/lib64/libc.so.6", O_RDONLY)      = 5
>> read(5,
>> "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\356\1\0\0\0\0\0@\0\0\0\0\0\0\0(=\35\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0J\0I\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0p\247\25\0\0\0\0\0p\247\25\0\0\0\0\0p\247\25\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0<\233\30\0\0\0\0\0<\233\30\0\0\0\0\0\0\0
>> \0\0\0\0\0\1\0\0\0\6\0\0\0\10\247\30\0\0\0\0\0\10\2478\0\0\0\0\0\10\2478\0\0\0\0\0\260F\0\0\0\0\0\0\0\222\0\0\0\0\0\0\0\0
>> \0\0\0\0\0\2\0\0\0\6\0\0\0@\333\30\0\0\0\0\0@\3338\0\0\0\0\0@\3338\0\0\0\0\0\360\1\0\0\0\0\0\0\360\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0D\0\0\0\0\0\0\0D\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\10\247\30\0\0\0\0\0\10\2478\0\0\0\0\0\10\2478\0\0\0\0\0\20\0\0\0\0\0\0\0h\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\214\247\25\0\0\0\0\0\214\247\25\0\0\0\0\0\214\247\25\0\0\0\0\0\314e\0\0\0\0\0\0\314e\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\10\247\30\0\0\0\0\0\10\2478\0\0\0\0\0\10\2478\0\0\0\0\0\3708\0\0\0\0\0\0\3708\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\216o\244\304\260YL5\\\33\220\301\324\231\2206\214\201\240@\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0\22\0\0\0\0\0\0\0\363\3\0\0\t\0\0\0\0\1\0\0\16\0\0\0\0000\20D\240
>> \2\1\210\3\346\220\305E\214\0\300\0\10\0\5\200\0`\300\200\0\r\212\f\0\4\20\0\210D2\10.@\210P4,
>> \16\"H&\204\300\214\4\10\0\2\2\16\241\254\32\4f\300\0\3002\0\300\0P\1
>> \201\10\204\v  ($\0\4 P\0\20X\200\312DB(\0\6\200\20\30B\0
>> @\200\0\tP\0Q\212@\20\0\0\0\0\10\0\0\21\20", 832) = 832
>> fstat(5, {st_mode=S_IFREG|0755, st_size=1920936, ...}) = 0
>> mmap(NULL, 3750152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) =
>> 0x7f919d0ab000
>> mprotect(0x7f919d235000, 2097152, PROT_NONE) = 0
>> mmap(0x7f919d435000, 20480, PROT_READ|PROT_WRITE,
>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x18a000) = 0x7f919d435000
>> mmap(0x7f919d43a000, 18696, PROT_READ|PROT_WRITE,
>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f919d43a000
>> close(5)                                = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f919d859000
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f919d858000
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f919d857000
>> arch_prctl(ARCH_SET_FS, 0x7f919d858700) = 0
>> mprotect(0x7f919d435000, 16384, PROT_READ) = 0
>> mprotect(0x7f919d642000, 4096, PROT_READ) = 0
>> mprotect(0x603000, 4096, PROT_READ)     = 0
>> mprotect(0x7f919d863000, 4096, PROT_READ) = 0
>> munmap(0x7f919d85a000, 30080)           = 0
>> brk(0)                                  = 0x1a89000
>> brk(0x1aaa000)                          = 0x1aaa000
>> open("/usr/lib/locale/locale-archive", O_RDONLY) = 5
>> fstat(5, {st_mode=S_IFREG|0644, st_size=99158576, ...}) = 0
>> mmap(NULL, 99158576, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f919721a000
>> close(5)                                = 0
>> open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 5
>> fstat(5, {st_mode=S_IFREG|0644, st_size=26060, ...}) = 0
>> mmap(NULL, 26060, PROT_READ, MAP_SHARED, 5, 0) = 0x7f919d85b000
>> close(5)                                = 0
>> getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
>> lstat("/home/quotatest1", {st_mode=S_IFDIR|0755, st_size=14868480, ...}) = 0
>> getxattr("/home/quotatest1", "ceph.quota.max_files", 0x0, 0) = -1 ENODATA
>> (No data available)
>> write(2, "/home/quotatest1: ", 18/home/quotatest1: )      = 18
>> open("/usr/share/locale/locale.alias", O_RDONLY) = 5
>> fstat(5, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0x7f919d85a000
>> read(5, "# Locale name alias data base.\n# Copyright (C) 1996-2001,2003,2007
>> Free Software Foundation, Inc.\n#\n# This program is free software; you can
>> redistribute it and/or modify\n# it under the terms of the GNU General
>> Public License as published by\n# the Free Software Foundation; either
>> version 2, or (at your option)\n# any later version.\n#\n# This program is
>> distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY;
>> without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE.  See the\n# GNU General Public License for more
>> details.\n#\n# You should have received a copy of the GNU General Public
>> License\n# along with this program; if not, write to the Free Software\n#
>> Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
>> USA.\n\n# The format of this file is the same as for the corresponding file
>> of\n# the X Window System, which normally can be found
>> in\n#\t/usr/lib/X11/locale/locale.alias\n# A single line contains two
>> fields: an alias and a substitution value.\n# All"..., 4096) = 2512
>> read(5, "", 4096)                       = 0
>> close(5)                                = 0
>> munmap(0x7f919d85a000, 4096)            = 0
>> open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/attr.mo", O_RDONLY) = -1
>> ENOENT (No such file or directory)
>> open("/usr/share/locale/en_US.utf8/LC_MESSAGES/attr.mo", O_RDONLY) = -1
>> ENOENT (No such file or directory)
>> open("/usr/share/locale/en_US/LC_MESSAGES/attr.mo", O_RDONLY) = -1 ENOENT
>> (No such file or directory)
>> open("/usr/share/locale/en.UTF-8/LC_MESSAGES/attr.mo", O_RDONLY) = -1 ENOENT
>> (No such file or directory)
>> open("/usr/share/locale/en.utf8/LC_MESSAGES/attr.mo", O_RDONLY) = -1 ENOENT
>> (No such file or directory)
>> open("/usr/share/locale/en/LC_MESSAGES/attr.mo", O_RDONLY) = -1 ENOENT (No
>> such file or directory)
>> write(2, "ceph.quota.max_files: No such attribute\n",
>> 40ceph.quota.max_files: No such attribute
>> ) = 40
>> exit_group(1)                           = ?
>> +++ exited with 1 +++
>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@xxxxxxxxxxxxxx
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>> --
>> Goncalo Borges
>> Research Computing
>> ARC Centre of Excellence for Particle Physics at the Terascale
>> School of Physics A28 | University of Sydney, NSW  2006
>> T: +61 2 93511937
>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@xxxxxxxxxxxxxx
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux