1847176 Members
6018 Online
110263 Solutions
New Discussion

/var error!!

 
Amit Manna_6
Regular Advisor

/var error!!

Hi
When i am doing bdf in 10.2 server it shows /var as utilzed 75% but when i got to /var and do bdf .
It says "No such file or directory"
Can anybody tell me the reason.
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: /var error!!

Hi Amit,

Just check you run the "bdf" with full path in all the cases.

# which bdf
/usr/bin/bdf

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sivakumar TS
Honored Contributor

Re: /var error!!

Dear Amit,

the bdf output will be same irrespective of the present working directory.

If you want to see the disk utilisation of /var alone,

you can try

#du /var

With Regards,

Siva.
Nothing is Impossible !
Steven E. Protter
Exalted Contributor

Re: /var error!!

Shalom Amit,

I think that the /var filesystem is not mounted.

Try mount /var

Check /etc/fstab for problems.

You may have to take your system into single user mode.

Note that when a system runs with /var not moutned, there are a lot of files created that will be hidden and take up space on root / when the /var filesystem is mounted. These need to be cleared prior to mounting /var

I'd run dmesg and see if a disk has failed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: /var error!!

Try

bdf /var

if what you want is the bdf output for only the /var file system.


Pete

Pete
DCE
Honored Contributor

Re: /var error!!



bdf /var will give you what you want

As a check you can also change to /var and and run du -sk *

the numbers should match - if there are no mount points under /var (du will include them)
Indrajit_1
Valued Contributor

Re: /var error!!

Hi;

You can try..

#cd /var
#bdf .
#du -sk /var/* |sort -rn

Try this commands. see the output.

Cheers
indrajit
Never Ever Give Up