From: Paweł K. <ma...@gm...> - 2016-09-01 09:44:08
|
Hello, mfsdirinfo : mfsdirinfo -p frontend_projekty/ frontend_projekty/: inodes: 579036 directories: 290321 files: 288715 chunks: 288711 length: 201767005613 size: 214924626944 realsize: 429849253888 frontend_projekty/ (precise data): inodes: 579036 directories: 290321 files: 288715 chunks: 288711 length: 201767005613 size: 214924626944 realsize: 429849253888 But - if i copy this dir to harddrive : du -d 0 -h frontend_projekty/ 197G frontend_projekty/ What is the reason for this difference ? W dniu 2016-09-01 o 09:29, Aleksander Wieliczko pisze: > Hi, > > To calculate real size of folder in MooseFS please use mfsdirinfo with > -p parameter: > > "-p > > Precise mode means that system takes into account repeated nodes/chunks > and count them once, also uses current number of copies instead of goal." > > Best regards > Aleksander Wieliczko > Technical Support Engineer > MooseFS.com <moosefs.com> > > On 08/31/2016 11:23 PM, Alex Crow wrote: >> I am a bit concerned about this too, 979k from 80K with a single cp? >> >> Cheers >> >> Alex >> >> >> On 31/08/16 12:12, Tom Ivar Helbekkmo wrote: >>> I guess the surprise is what happens here (MooseFS 3.0.80): >>> >>> tih@thuvia:/usr/local/store/Data$ mkdir tmp >>> tih@thuvia:/usr/local/store/Data$ cd tmp >>> tih@thuvia:/usr/local/store/Data/tmp$ du -hs . >>> 0B . >>> tih@thuvia:/usr/local/store/Data/tmp$ dd if=/dev/zero of=file1 bs=1 count=800 >>> 800+0 records in >>> 800+0 records out >>> 800 bytes transferred in 0.672 secs (1190 bytes/sec) >>> tih@thuvia:/usr/local/store/Data/tmp$ du -hs * >>> 1.0K file1 >>> tih@thuvia:/usr/local/store/Data/tmp$ du -hs . >>> 80K . >>> tih@thuvia:/usr/local/store/Data/tmp$ cp file1 file2 >>> tih@thuvia:/usr/local/store/Data/tmp$ du -hs * >>> 1.0K file1 >>> 1.0K file2 >>> tih@thuvia:/usr/local/store/Data/tmp$ du -hs . >>> 979K . >>> tih@thuvia:/usr/local/store/Data/tmp$ >>> >>> -tih >> -- >> This message is intended only for the addressee and may contain >> confidential information. Unless you are that person, you may not >> disclose its contents or use it in any way and are requested to delete >> the message along with any attachments and notify us immediately. >> This email is not intended to, nor should it be taken to, constitute advice. >> The information provided is correct to our knowledge & belief and must not >> be used as a substitute for obtaining tax, regulatory, investment, legal or >> any other appropriate advice. >> >> "Transact" is operated by Integrated Financial Arrangements Ltd. >> 29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300. >> (Registered office: as above; Registered in England and Wales under >> number: 3727592). Authorised and regulated by the Financial Conduct >> Authority (entered on the Financial Services Register; no. 190856). >> >> ------------------------------------------------------------------------------ >> _________________________________________ >> moosefs-users mailing list >> moo...@li... >> https://lists.sourceforge.net/lists/listinfo/moosefs-users > > > > ------------------------------------------------------------------------------ > > > > _________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users > -- Paweł "Argail" Kowalski "... krzesło pozostaje krzesłem, nawet kiedy nikt na nim nie siedzi ..." |