From: Piotr R. K. <pio...@mo...> - 2015-02-06 11:50:17
|
Hello, I checked and there is two things you need to know: when you write data to MooseFS, the data is divided to chunks (64MiB each) - I think you probably know this already. When you write data, MooseFS Master Server does not know if the chunk it want to create will contain 64 MiB of data or it will contain less. So MooseFS Master Server assume, that it will be 64 MiB chunk and at this moment your example *hard* quota (~9.5MiB) is already exceeded. To write even less than 64 MiB, your *hard* quota must be at least 65MiB (because the chunk uses really 64 MiB of data + 5KiB header). Of course when you write 1MiB file, your real used space is 1MiB + 5KiB header. So e.g. if you have 66 MiB hard quota, you will be able to write 1MiB file and then 64 MiB file. Please try to set bigger quota values, so your test will be more accurate. -- Best regards, Piotr Robert Konopelko *MooseFS Technical Support Engineer *| moosefs.com[1] Hi, we are happy that you are using MooseFS! Can you provide us output of the following commands?: * mfsdirinfo /data/mfsdata/test * mfsgetgoal -r /data/mfsdata/test So we can analyze your issue? -- Best regards, Piotr Robert Konopelko *MooseFS Technical Support Engineer *| _moosefs.com_ hi,i install moosefs-ce-master-2.0.48 in centos7,and it work better.But i have a issue about mfssetquota in mfs client,i use this tools like this, 13:24:30 # mfsgetquota /data/mfsdata/test /data/mfsdata/test: (current values | soft quota | hard quota) inodes | 6 | 10000000 | 10000000 | length | 0 | 10000000 | 10000000 | size | 0 | 10000000 | 10000000 | realsize | 0 | 10000000 | 10000000 | then i add a 2M file 13:23:16 # dd if=/dev/zero of=test.img bs=1M count=2 dd: writing `test.img': Disk quota exceeded dd: closing output file `test.img': Disk quota exceeded it have a issue,pls help me,tks! -------- [1] http://moosefs.com |