Operating System - HP-UX
1844164 Members
2335 Online
110229 Solutions
New Discussion

Problem mounting /usr (on add'l vol group) in single user mode.

 
SOLVED
Go to solution
rayvd
Advisor

Problem mounting /usr (on add'l vol group) in single user mode.

Doing a fresh install of HP-UX 11i and need to turn off NIS after the first install.

I boot into single user mode but when I try to mount /usr to get access to vi I get the following:

vxfs mount: Cannot open /dev/vg01/lvol1: No such device or address

/var mounts just fine -- it is on /dev/vg00. Maybe it was a mistake for me to put /usr on vg01, but is there any way to mount this?

The device /dev/vg01/lvol1 exists, but I guess it's apparently not useable.

I actually was able to modify the namesvrs file with cat and awk, but am still curious about how I should get /usr to mount in single user mode.

TIA!
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Problem mounting /usr (on add'l vol group) in single user mode.

Actually the only filesystems/devices that MUST be on the boot disk are /stand, /, and primary swap. Now whether or not that yours is a wise configuration is another question. I suspect that your fundamental problem is the /dev/vg01 has not yet been activated. You should be able to do an /sbin/vgchange -a y /dev/vg01 and then /sbin/mount /usr while in single-user.
If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: Problem mounting /usr (on add'l vol group) in single user mode.

Clay is right on the money. To mount anything other than VG00, you MUST first activate the VG.

/sbin/vgchange -a y vg01

/sbin/mount /usr
freddy_21
Respected Contributor

Re: Problem mounting /usr (on add'l vol group) in single user mode.

Hello Dion Rivera,

Because this is fresh instalation, i think you must fix the /usr problem. before it will be problem at the future ( this is my opinion).

Maybe you can backup using ignite and restore it.

The future problem are:
1. if vg00 problem, you have problem with your OS.
2. if vg01 problem, you have problem with your OS because /usr at vg01.
3. when you run ignite you must remember the option to backup /usr at vg01.

Thanks
Freddy

rayvd
Advisor

Re: Problem mounting /usr (on add'l vol group) in single user mode.

Thanks guys. vgchange was what I needed to do.

(This is Ray not Dion btw -- he probably would have known better) :)