Operating System - HP-UX
1849899 Members
3764 Online
104047 Solutions
New Discussion

Re: Extending /var filesystem using FSADM

 
SOLVED
Go to solution
Navin_3
Advisor

Extending /var filesystem using FSADM


Hi everybody,

I wanted to extend /var filesystem.Is it possible. I tried using fsadm utility & not able to do that. I have online JFS installed on my server. Pls let me how i can do this.

Below is the fsadm error i got.

root@holland>fsadm -F vxfs -b 888832 /var
vxfs fsadm: /dev/vg00/rlvol8 is currently 786432 sectors - size will be increased
vxfs fsadm: write failure at block 5083134 : No such device or address


7 REPLIES 7
Anthony Lennan
Valued Contributor
Solution

Re: Extending /var filesystem using FSADM

Hi Navin,

Have you extended your logical volume using lvextend before running fsadm?

Rgds,
Anthony
Ermin Borovac
Honored Contributor

Re: Extending /var filesystem using FSADM

Did you extend logical volume with lvextend first?

# lvextend -L /dev/vgxx/lvolxx
# fsadm -b M /var
Sudeesh
Respected Contributor

Re: Extending /var filesystem using FSADM

How much free space is available in root vg?
Can you pls post the output of
#vgdisplay vg00



Sudeesh
The most predictable thing in life is its unpredictability
Alex Lavrov.
Honored Contributor

Re: Extending /var filesystem using FSADM

Please check:

bdf /var

And make sure, that /dev/vg00/rlvol8 is bigger than 868MB
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Alex Lavrov.
Honored Contributor

Re: Extending /var filesystem using FSADM

Sorry, not bigger. I mean not less than 868MB.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Anthony Lennan
Valued Contributor

Re: Extending /var filesystem using FSADM

Hi Navin,

I should have mentioned that I think your syntax for fsadm looks ok at first glance so I'm not exactly sure why it's failing.

write failure at block 5083134 suggests to me that the logical volume isn't big enough or that its having problems writing to the disk at that point for some reason.

The other thing that might be worth checking is your patches for OnlineJFS.

If everything checks out and all else fails you might have to try shutting down to single user mode and trying it then. Obviously thats last resort though as you have online jfs and should be able to do it while the systems up.

Cheers,
Anthony
Navin_3
Advisor

Re: Extending /var filesystem using FSADM


I gave the size in Mb & it was accepted.

fsadm -b 868M /var
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: /dev/vg00/rlvol8 is currently 786432 sectors - size will be increased

Thanks all