The df -h on the /var is showing the 80GB used size but du -ksh /var is showing 687MB of the total used size of this directory;The total size of the /var partition is 89GB. I am confusing at this point ,also i have gone through the each directories and files size and found everything is normal size ,no files size is above 1GB in the /var directory, but the df -h confuses me and noticed there 80GB used on the /var partition.
kernel version : vmlinuz-2.6.16.46-0.12-bigsmp
Os version : SUSE Linux Enterprise server 10 sp1
Is this bugs or filesystem for the /var corrupted or hard/soft link on the /var ? should i upgraded from the current version SLES 10 sp1 to higher version? I appreciate your suggestion,recommendation and update.
thanks for the prompting update and mentioned the right link. Can i run the fsck on the /var partition after unmounted it? and what is the proper fsck syntax to fix this issue?
Is there any inbuild software on the suse to check the filesystem integrity and fix the error for the same.
Can i run the fsck on the /var partition after unmounted it? and what
is the proper fsck syntax to fix this issue?
Is there any inbuild software on the suse to check the filesystem
integrity and fix the error for the same.[/color]
Check the man pages for information:
man fsck
[color=blue]
fsck is used to check and optionally repair one or more
Linux file systems. filesys can be a device name (e.g. /dev/hdc1,
/dev/sdb2), a mount point (e.g. /, /usr, /home), or
an ext2 label or UUID specifier (e.g.
UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root). Normally,
the fsck program will try to handle filesystems on different
physical disk drives in parallel to reduce the total amount of time
needed to check all of the filesystems.[/color]
If your filesystem hasn’t been checked for a long time, it will be
checked when the system is booted, You can check /var/log/messages. It
is always a good idea to check /var/log/messages for clues about what
is happening with your system.
fsck will check and repair disk errors. If you cannot umount a certain
mount point, you can boot into rescue mode with an installation CD and
then run these disk checks.
–
Kevin Boyle - Knowledge Partner
If you find this post helpful and are using the web interface,
show your appreciation and click on the star below…
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[color=blue]
thanks for the prompting update and mentioned the right link. Can i
run the fsck on the /var partition after unmounted it? and what is
the proper fsck syntax to fix this issue?[/color]
No no no… the ‘Accepted Answer’ on that page had nothing to do with
fsck. Read the answer with a ‘6’ by it, and more-importantly, a green
checkmark. The only instance of ‘fsck’ is at the bottom and is almost
certainly not what you want to do (it won’t hurt, but it’s probably
irrelevant).
Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/