Hey Gustin, Well I tied with the b command argument and get the following output:
voyage:/# du -Pacbx --max-depth=1 . |sort -g 0 ./proc 0 ./sys 7 ./tmp 8 ./root 30 ./vmlinuz 30 ./vmlinuz-2.6.23-486-voyage 33 ./initrd.img 33 ./initrd.img-2.6.23-486-voyage 3145 ./voyage.dpkg.list 4022 ./README.live-cd 4096 ./initrd 4096 ./media 4096 ./mnt 4096 ./opt 4096 ./srv 4325 ./README.pxe 7972 ./isolinux 9600 ./CHANGELOG 10971 ./voyage.depends.list 13500 ./dev 16384 ./lost+found 17119 ./voyage.dpkg-l 20711 ./README 23634 ./tftpboot 39802 ./gmon.out 288451 ./ro 1408647 ./pblue 3548295 ./bin 3986830 ./sbin 4652318 ./boot 5652929 ./thinkblue 6122815 ./etc 6328816 ./home 16700494 ./lib 25874589 ./rw 182051243 ./var 389331680 ./usr 646143009 . 646143009 total Appears to be very much the same story, 600 off mb used but obviously something isnt right. This system is out in the field so I currently have no way of placing the card into another system to check it. I'd like to avoid having to go and do any manual maintenance on the system if possible. Cheers, Rob -------------------------------------------------------------------------------- From: "Gustin Johnson" <[email protected]> Sent: 23 June 2009 08:07 To: "Robert Rawlins - Think Blue" <[email protected]> Subject: Re: [Voyage-linux] check/repair fs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert Rawlins - Think Blue wrote: > Morning Gustin, > > Thanks very much for the suggestion, that goes someway to making the > results more readable, however, this still looks to me as if only > 671mb is registered as being used on the fs: > That is what it looks like to me. Can you pull the CF card and put it into a different system such as a laptop. I would like to see the results when this is not in a running system. I would also try the command again with the "b" option instead of the "m", (-b is the equivalent to --apparent-size and --block-size=1 so you could use the --apparent-size option with the "m" option as well). It should be noted that the "m" option rounds up, so a 20KB file will show as 1 MB. The "b" option will be much more accurate. Not using the --max-depth option may help you as well. Hth, __ G -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpAfxUACgkQwRXgH3rKGfPXHgCfcCljCSu3NPOUWL7E368J/ZnQ h58An1OIKrSWJK59QJtqXDA7CWO5Jfn6 =bdrJ -----END PGP SIGNATURE----- _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
