Operating System - HP-UX
1833019 Members
2368 Online
110049 Solutions
New Discussion

You can verify the procedure to expand filesystem /

 
Víctor López Chávez
Occasional Contributor

You can verify the procedure to expand filesystem /

You can verify if the following procedure to expand "/" he is the correct one, which happens is that desire to test.

Procedure to expand filesystem /

reboot
Press any key...
sea
bo p0
Interactive Mode (y/n): y
ISL>hpux -is
pvmove -n /dev/vg00/lvol4 /dev/dsk/c1t2d0 /dev/dsk/c2t2d0
shutdown -h -y 0
Press any key...
sea
bo p0
Interactive Mode (y/n): y
ISL>hpux -lm
extendfs -F vxfs /dev/vg00/rlvol3
reboot -n

Exits of commandos who allow to see the local configuration us.
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 81464 122424 40% /
/dev/vg00/lvol1 298928 55904 213128 21% /stand
/dev/vg00/lvol8 3588096 135768 3425384 4% /var
/dev/vg00/lvol7 2564096 784624 1765584 31% /usr
/dev/vg00/lvol4 204800 2360 200928 1% /tmp
/dev/vg00/lvol6 2564096 25280 2519000 1% /opt
/dev/vg00/lvol5 24576 2280 22136 9% /home

# fstyp /dev/vg00/lvol3
vxfs

# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 1 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0

Thanks!

Víctor López Chá
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: You can verify the procedure to expand filesystem /

It appears that you're moving lvol4 (/tmp) to another disk to create room to expand lvol3 (/). The first thing I notice is that you have omitted the lvextend step. Other than that, it should work. Is /dev/dsk/c2t2d0 already part of vg00?


Pete

Pete
Stf
Esteemed Contributor

Re: You can verify the procedure to expand filesystem /

Hello,

do you have OnLineJFS installed on your server?

Stf ;-)
Fred Ruffet
Honored Contributor

Re: You can verify the procedure to expand filesystem /

You got answers on "how". Let me ask you "why" do you want to expand /. There are really only few things needing to expand this FS (not to say none).

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Geoff Wild
Honored Contributor

Re: You can verify the procedure to expand filesystem /

Another way to do this is with a make_tape_recovery tape - allows you to resize volumes prior to loading.


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.