HPE 9000 and HPE e3000 Servers
1753888 Members
7441 Online
108809 Solutions
New Discussion юеВ

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
Ronald Maas_1
Occasional Advisor

Re: unable to umount /usr in single user mode

<< Yes I am Dutch, moved to the UK 15 years ago :-) >>

Finally got round to boot from tape, everything works fine, until I have to go to the advanced installation.

At this point the root terminal displays loads of control characters, basically the screen becomes unreadable.

I guess I will have to upgrade the firmware for the root terminal? (The same problem occurs when starting SAM on the root terminal).

If I have to upgrade the firmware how do I go about that?


Thanks,

Ronald Maas
Andrew Rutter
Honored Contributor

Re: unable to umount /usr in single user mode

hi ronald,

you might have got a quicker response if you started a new thread with this question :-)

you wont need to upgrade the firmware of the terminal it just isnt configured correctly for your system.

we would ned to know what the system is d/k/rp etc and what terminal you are using so you can configure it so that the tui loads correctly on the screen.

if its a newer system then it will be need to set to VT100 emulation probably.

You can also reset most of the 700/xx terminals back to there defaults by pressing the 'd' key when you power it up.

post more info then I or someone can be more precise.

andy
Andy
Ronald Maas_1
Occasional Advisor

Re: unable to umount /usr in single user mode

Hi Andy,

Thanks for the reply and sorry for adding to this thread rathter than starting a new one.

After I posted the question I managed to resolve the problem myself. We have an old root terminal and the TERM needs to be set to the value of hp to correctly display the 'gui' type interfaces.

I went into GPS (or is it GSP) and used the CA command to change the terminal type from vt100 to hp. And I have now successfully extended my root partition and am in the process of running the upgrade.


Thanks,

Ronald Maas