From: Boli <bo...@le...> - 2011-04-21 09:18:08
|
Does it have anything to do with reserved space for root on the filesystem? (tune2fs -m 1 , or similar...) On 21/04/2011 11:04, youngcow wrote: > I think the reason is filesystem uses some space when you format it. > >> Hi! >> >> That really looks a bit strange. We’d blame difference between 'df -h >> /data1' and 'du -sh /data1/chunkdata' on the operating system, and it >> has nothing to do with MooseFS (maybe some difference between protocols >> in kernel or some tools?). What is your operating system? If ‘df’ and >> ‘du’ give wrong values it may be cause of other inconsequences. >> >> And when you make this command: "ls -al /data1/chunkdata/*/*" – how many >> “chunk…mfs” files do you have? What is the sum of their sizes? Do >> something like this: >> >> ls -al /data1/chunkdata/*/* | awk '{ a+=$5; } END {print a;}' >> >> it should give the sum of files sizes in bytes. >> >> Regards >> >> Michal >> >> *From:*boblin [mailto:ai...@qq...] >> *Sent:* Wednesday, April 20, 2011 7:18 PM >> *To:* Michal Borychowski >> *Subject:* Re:RE: RE: [Moosefs-users] Wrong disk usage in mfs cgi >> monitor and "df -h" >> >> hi Michal : >> >> Now I've got a problem about disk usage , "df -h" shows that partition >> "/data1" used space is 130M . But "du -hs *" shows only >> >> 1.1M。And the most crazy thing is that it show 35GB in cgi monitor !! >> All my 3 chunkserver have the same problem . >> >> I had read the FAQ and found the "df -h" question ( N * 256 * num_of_hdd >> increased by disk usage),it doesn't help ... >> >> How can I know the exactlly disk usage ? >> >> >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> >> >> >> _______________________________________________ >> moosefs-users mailing list >> moo...@li... >> https://lists.sourceforge.net/lists/listinfo/moosefs-users > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users |