HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to umount /usr in single user mode

 
SOLVED
Go to solution
Ronald Maas_1
Occasional Advisor

unable to umount /usr in single user mode

Hi,

I want to increase the size of my /usr partition to enable me to upgrade to hpux 11i version2.
I've dropped into single user mode (shutdown). The /usr partition is still mounted. When I umount the partition it says 'cannot unmount /usr : Device busy'.

Am I doing something very silly or is there something else goin on?
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor
Solution

Re: unable to umount /usr in single user mode

Hi Ronald,

# shutdown -h -y now

Reset the server

Interupt the boot process by holding a key (older systems may require the escape key, or break key)

at the boot prompt type
>boot pri

The system should ask then if you want to interacet with ISL. Type
>y

at the ISL prompt, type
>hpux -is

# /sbin/lvextend -L XXX /dev/vg00/lvolx
# /sbin/extendfs /dev/vg00/rlvolx

# mount -a
# bdf
# shutdown -r -y now

Hope this helps,
Robert-Jan
Ronald Maas_1
Occasional Advisor

Re: unable to umount /usr in single user mode

Thanks that did the trick.

I am now running the upgrade and it's complaining that my root partition is not big enough for the upgrade.
Current size is 141427 Kb of which 91479 Kb is free.
The upgrade says it's estimated to increase by 139702 Kb. Meaning that there is not enough space on the root partition.

Any ideas of how to increase the size of the root partition, or maybe move some files elsewhere.

Ronald
Robert-Jan Goossens
Honored Contributor

Re: unable to umount /usr in single user mode

extending / will be a more work.

Download and install ignite.

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB

create a bootable tape.

# make_tape_recovery -a /dev/rmt/0mn -A -v -x inc_entire=vg00

# shutdown -h -y now

reset the server.

Interupt the boot process.
>sea

(search for the tape drive and replace the x)

> bo px

and interrupt it before it starts restoring.

go to advanced installation and choose your new sizes for your filesystems.

Good luck.

Robert-Jan
Ronald Maas_1
Occasional Advisor

Re: unable to umount /usr in single user mode

Robert-Jan,

Thanks for the info. I've installed ignite and am currently creating the bootable tape.
(Seems to take forever).

Would you be able to elaborate a little bit more about the 'sea' and 'bo px' commands and what they do?


Thanks,

Ronald
Robert-Jan Goossens
Honored Contributor

Re: unable to umount /usr in single user mode

your name sounds Dutch to me :-)

shure.

--
# shutdown -h -y now

Reset the server

Interupt the boot process by holding a key (older systems may require the escape key, or break key)

at the boot prompt type
>boot pri
--

above was when you booted to single user mode, bo pri --> boot primary disk

instead of booting from disk you will need to locate your tape drive from the boot prompt.

>sea
the sea commend will search for the HPUX bootable disks and tapes, it will give you all the option to boot from. One of the options should be the make_tape_recovery created tape.

below is from memory, will NOT be the same on your system.

p0 path to disk
p1 path to mirror disk
p3 path to cdrom/dvd
p4 path to tape drive

>bo p4

Hope this helps,
Robert-Jan