Operating System - HP-UX
1833187 Members
2912 Online
110051 Solutions
New Discussion

Extending FS without unmounting

 
SOLVED
Go to solution
Pattabhi
Frequent Advisor

Extending FS without unmounting

Hi All,

i have online jfs installed on my box
swlist -l product |grep -i jfs
JFS B.11.23 The Base VxFS File System
OnlineJFS01 4.1.004 Online features of the VxFS File System


but trying to expand the /opt FS to 8GB from 5GB gives me the following error

fsadm -F vxfs -b 8000000 /opt
UX:vxfs fsadm: ERROR: V-3-25811: cannot expand /dev/vg00/rlvol6 more than size of the underlying device - 5537792 sectors

Am i missing something here?


Regards,
Pattabhi Raman
7 REPLIES 7
Calandrello
Trusted Contributor

Re: Extending FS without unmounting

Friend the command has that to be the following one:
fsadm -F vxfs -b 8388608 /opt
Pattabhi
Frequent Advisor

Re: Extending FS without unmounting

Thanks,

I guessed that, but it did not help..

# fsadm -F vxfs -b 8388608 /opt
UX:vxfs fsadm: ERROR: V-3-25811: cannot expand /dev/vg00/rlvol6 more than size of the underlying device - 5537792 sectors

should i be using extendfs here?
James R. Ferguson
Acclaimed Contributor

Re: Extending FS without unmounting

Hi:

Did you first 'lvextend' your underlying logical volume? It would appear that you have not.

Regards!

...JRF...
Calandrello
Trusted Contributor
Solution

Re: Extending FS without unmounting

friend
The steps to execute extend are: lvextend -L 8000 /dev/vg00/lvol6
fsadm -F vxfs -b 8388608 /opt
Peter Godron
Honored Contributor

Re: Extending FS without unmounting

Pattabhi
Frequent Advisor

Re: Extending FS without unmounting

Thanks,

How foolish of me to miss such an important step... it works now and my FS has been extended.
Pattabhi
Frequent Advisor

Re: Extending FS without unmounting

Thanks for yoru guidance pals.