Assume you have a file 342MB but when you get into that file and look the content of it; you see that everything occupy around 92 MB. No hidden file or any other thing exist on it.
How can that be possible. Is there a solution to fix this. Here is before and after mount
/data>du -sh *
342M backup
/mnt> du -sh *
4K etc
79M kernel
8K lost+found
13M platform
Edit: Someone suggested hidden files, but there aren't any:
/mnt> ls -alrt
total 44
drwx------ 2 root root 8192 Mar 20 08:16 lost+found
drwxr-xr-x 2 root root 512 Mar 20 08:16 etc
drwxr-xr-x 15 root sys 512 Mar 20 08:16 kernel
drwxr-xr-x 6 root root 512 Mar 20 08:16 .
drwxr-xr-x 41 root root 1536 Mar 20 08:16 platform
drwxr-xr-x 41 root root 9216 Apr 5 19:47 ..
df /mnt
/mnt (/dev/lofi/2 ): 466192 blocks 162531 files
The command that show my backup file is 342 MB
du -sh backup
342M backup
The command I used for mounting this backup file
lofiadm -a /home/backup
mount -F ufs /dev/lofi/2 /mnt
df -g output :
df -g /mnt
/mnt (/dev/lofi/2 ): 8192 block size 1024 frag size
657548 total blocks 466192 free blocks 400438 available 163520 total files
162531 free files 38535170 filesys id
ufs fstype 0x00000004 flag 255 filename length
du -s output :
du -s /mnt
189292 /mnt
du -sh *: you seem to be in the same directory? If you mounted something, what was it and where? – Gilles Apr 5 '12 at 23:25df /mnt. – Gilles Apr 8 '12 at 21:37