Operating System - HP-UX
1747984 Members
4788 Online
108756 Solutions
New Discussion юеВ

Re: ERROR resize fs / (vxfs fsadm ERROR)

 
Goriik
Advisor

ERROR resize fs / (vxfs fsadm ERROR)

Hi guys.

Work in LVM-maintenance mode

Successfully

lvextend-l 100 /dev/vg00/lvol1

mount /dev/vg00/lvol1 / stand1

/usr/sbin / fsadm-F vxfs-b nolargefiles / stand1

Everything went well.

I carry out for / dev/vg00/lvol3

# Lvextend-l 1950 / dev/vg00/lvol3
Logical volume "/ dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for / dev/vg00 has been saved in / etc/lvmconf/vg00.conf

Checking

# Lvdisplay / dev/vg00/lvol3
--- Logical volumes ---
LV Name / dev/vg00/lvol3
VG Name / dev/vg00
LV Permission read / write
LV Status available / syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1600
Current LE 50
Allocated PE 1950
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict / contiguous
IO Timeout (Seconds) default

All of this is OK.

But while running.

# /usr/sbin /fsadm-F vxfs-b 1600m /
UX: vxfs fsadm: ERROR: V-3-25811: cannot expand /dev/vg00/rlvol3 more than size of the underlying device - 1048576 sectors

# Mount
/ On / dev/vg00/lvol3 ioerror = nodisable, largefiles, log, dev = 40000003 on Wed Aug 18 9:38:41 2010
/ Usr on / dev/vg00/lvol7 ioerror = mwdisable, largefiles, delaylog, dev = 40000007 on Wed Aug 18 12:30:24 2010
/ Stand1 on / dev/vg00/lvol1 ioerror = mwdisable, nolargefiles, delaylog, dev = 40000001 on Wed Aug 18 2010 12:44:27


What do you think is the problem?
5 REPLIES 5
Viktor Balogh
Honored Contributor

Re: ERROR resize fs / (vxfs fsadm ERROR)

Hi,

I have some bad news for you: the root fs just can't be extended so simply. lvol1/2/3 need to be continuously allocated on the disk. So, if you want to have a larger /, you need to restore the system from ignite, and at the start of the restore you can select a larger root.
****
Unix operates with beer.
chris huys_4
Honored Contributor

Re: ERROR resize fs / (vxfs fsadm ERROR)

Hi Goriik,

Best to log a call with hp support now.

Greetz,
Chris
Michal Kapalka (mikap)
Honored Contributor

Re: ERROR resize fs / (vxfs fsadm ERROR)

hi,

as already Viktor mentioned, the best way is to make a ignote backup and in advaced recovery change the size of the / file system.

Yes of course if you have mirrored disks with a LVM, there is a way how-to resize the root partition, but it isn't officially supported.

mikap
public
Regular Advisor

Re: ERROR resize fs / (vxfs fsadm ERROR)

hi,to extend /dev/vg00/lvol3,you do better
do in normal run level.

please just do fsadm command in init 3.

i have successfully extended
/dev/vg00/lvol3 in normal run level.

see below.

----------------------------------------------
root@rp2470:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 103328 1978296 5% /
/dev/vg00/lvol1 298928 30856 238176 11% /stand
/dev/vg00/lvol8 4096000 304200 3762832 7% /var
/dev/vg00/lvol7 3080192 922416 2140984 30% /usr
/dev/vg00/lvol6 1048576 2512 1037960 0% /tmp
/dev/vg00/lvol5 5128192 2471232 2636264 48% /opt
/dev/vg00/lvol4 512000 2304 505720 0% /home
/dev/vg00/test 2097152 922400 1165640 44% /test
root@rp2470:/#
root@rp2470:/#umount /home
root@rp2470:/#lvremove /dev/vg00/lvol4
The logical volume "/dev/vg00/lvol4" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg00/lvol4" has been successfully removed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@rp2470:/#
root@rp2470:/#
root@rp2470:/#lvextend -L 2500 /dev/vg00/lvol3
Warning: rounding up logical volume size to extent boundary at size "2512" MB.
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@rp2470:/#fsadm -b 2500m /
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: /dev/vg00/rlvol3 is currently 2097152 sectors - size will be increased
root@rp2470:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2560000 103344 2437512 4% /
/dev/vg00/lvol1 298928 30856 238176 11% /stand
/dev/vg00/lvol8 4096000 304192 3762848 7% /var
/dev/vg00/lvol7 3080192 922416 2140984 30% /usr
/dev/vg00/lvol6 1048576 2512 1037960 0% /tmp
/dev/vg00/lvol5 5128192 2471232 2636264 48% /opt
/dev/vg00/test 2097152 922400 1165640 44% /test


public
Regular Advisor

Re: ERROR resize fs / (vxfs fsadm ERROR)

by the way!

to extend /dev/vg00/lvol3 online ,you must have onlineJFS software installed.

good luck!