Operating System - HP-UX
1755696 Members
3324 Online
108837 Solutions
New Discussion юеВ

Re: must /usr reside on vg00

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

must /usr reside on vg00

Just a quick question

must /usr reside on /dev/vg00 or can I mount a logical volume on /dev/vg01 as /usr ??

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
6 REPLIES 6
JACQUET
Frequent Advisor

Re: must /usr reside on vg00

Hello,

I guess you can put /usr to another VG than vg00, for sure in Single User Mode. Concerning the multi-user mode, i know that the system is doing a vgchange from all VG before starting rc scripts, but it has to be tested according to me, to be sure than no troubles will happen
regards

PJA.
PJA
Alex_17
Frequent Advisor
Solution

Re: must /usr reside on vg00

Hi rainer,

/usr must not reside on vg00. You can mount it on any non-root volume group.
For example, when you use make_recovery -A, the recovery tape will include data from root volume group plus data from any non-root volume group containing /usr. You can find this in Ignite manual or man make_recovery.

Alex.
Thierry Poels_1
Honored Contributor

Re: must /usr reside on vg00

hi,

/usr does not have to reside on /dev/vg00.
Only /stand, /etc, /dev, /sbin and / have to reside on /dev/vg00.
Be carefull when moving to another disk, many utilities like fbackup, cpio, tar reside on /usr!! tar has an equivalent on /sbin however.
good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Joseph C. Denman
Honored Contributor

Re: must /usr reside on vg00

No, /usr can reside on any vg. I have /usr in vg01 on many of my systems.

...jcd...
If I had only read the instructions first??
Wodisch
Honored Contributor

Re: must /usr reside on vg00

Hello Rainer,

having "/usr" on another VG is all well, you just have
to remember, when you are in single-user mode, you
will have to "vgchange -a y /dev/vgXX" before you do
the "mount -a" to mount "/usr" (to use "vi"?).

HTH,
Wodisch
Isaac_4
Frequent Advisor

Re: must /usr reside on vg00

the first step is make a new file system with some diferent name example: /usr1 after that copy all the /usr information on /usr1 and you can use the comand :
#cd /usr
pwd
#/usr

find . |cpio -pdu /usr1
with this command you can copy all the data with all the permisions and the all configuration included the subdirectories.

2 step shutdown the system in single user mode with the following step

shutdown --> to shutdown the system in single user mode
- # vgchange -a -y vg00
- modify the fstab and change the new path for /usr to vg01/usr
note:you can modify the fstab and made change before shutdown

The time is gold