1748051 Members
5003 Online
108757 Solutions
New Discussion юеВ

Re: Problem with /var

 
VICBUR1507
Frequent Advisor

Problem with /var

Hi dudes!

I have a server with 11.31, the person who installed the operating system, for some strange reason do not put /var as file system such as is the default installation, now I have a problem because it is in /(root file systema) this is me taking up space in this file system, I need know if there is any way to create /var as a file system without affecting the operability of me operating system.
Thanks guys
8 REPLIES 8
Victor Fridyev
Honored Contributor

Re: Problem with /var

Hi,

If you have a free space on the system disk, which is enough for /var ( 4-6 gb ), create there a file system, copy content of /var to it, configure the FS in /etc/fstab and restart the computer to single user mode. There rename /var to /var.bck and create /var.
Boot the computer to level 3 or 5, which is in use.

HTH
Entities are not to be multiplied beyond necessity - RTFM
SUDHAKAR_18
Trusted Contributor

Re: Problem with /var

can you pls attach /etc/fstab.

I think /var filesystem may not be mounted or some problem with the logical volume of /var.
Jim Walls
Trusted Contributor

Re: Problem with /var

I believe SUDHAKAR is probably correct in his/her assumption.

List the contents of:
/etc/fstab

ls -l /dev/vg00
Borislav Perkov
Respected Contributor

Re: Problem with /var

/dev/vg00/lvol10 /var vxfs delaylog 0 2

is the solution for fstab if you created new volume in vg00 lvol10.
singh sanjeev
Trusted Contributor

Re: Problem with /var

if it was not created , then you have to create a new lv,

-create a new Lvname
-mount lv with /var.new
-copy the content from /var to /var.new
-edit the fstab
/var vxfs delaylog 0 2
-reboot the system
Sanjeev Singh
VICBUR1507
Frequent Advisor

Re: Problem with /var

Hi mates, see file atach....
Jim Walls
Trusted Contributor

Re: Problem with /var

OK!
That confirms there is no mounted file system for /var. I would guess someone has fiddled about and unwittingly messed up!

Usually (but not necessarily always) /dev/vg00/lvol8 is mounted as /var. It is very unusual to see /var/adm/crash mounted here.

It will be helpful if you can post the output from bdf - so we can see how large /dev/vg00/lvol8 is. Maybe you can recover the situation be shuffling some stuff about and remounting it as /var.

Please, also post the output from the following:

vgdisplay -v vg00
ioscan -fnC disk

VICBUR1507
Frequent Advisor

Re: Problem with /var

Hey Guys, I create the new file system restart the server and monitoring...

Thanks,

Reggards