Operating System - HP-UX
1833858 Members
3510 Online
110063 Solutions
New Discussion

Simple RootDG Configuration on HP-UX Systems

 
Alzhy
Honored Contributor

Simple RootDG Configuration on HP-UX Systems

A question to those that are also well-versed with Solaris.

Is is possible to have a simple RootDG configuration on HP-UX systems so VxVM actually uses just a part of the disk?

On Solaris environments:

SLICE=c0t0d0s7
vxconfigd -m disable
vxdctl init
vxdg init rootdg
vxdctl add disk $SLICE type=simple
vxdisk -f init $SLICE type=simple
vxdg adddisk $SLICE
vxdctl enable
vxdctl initdmp
rm /etc/vx/reconfig.d/state.d/install-db

And further, is it possible for a disk in HP-UX to be partially used by LVM? Ie. during pvcreate -- to not use the whole disk?

Hakuna Matata.
6 REPLIES 6
steven Burgess_2
Honored Contributor

Re: Simple RootDG Configuration on HP-UX Systems

Hi

Interesting, await replies

Steve

take your time and think things through
Alzhy
Honored Contributor

Re: Simple RootDG Configuration on HP-UX Systems

This is actually an attempt to replicate a standard we have on our Solaris Servers where we use Disksuite to the system disks and VxVM for all the rest. SInce we don not want to have rootDG using an entire pair of disks, we configure it to be just a slice of our mirror pair... I was expecting rootDG woul dbe history by now (at 3.5m) but apparently it is still needed -- even if you're not encapsulating your boot disks (rootability..)
Hakuna Matata.
Jeff Schussele
Honored Contributor

Re: Simple RootDG Configuration on HP-UX Systems

Hi Nelson,

Answer to the first question is, I'm fairly certain - NO. Slices are not supported in HP-UX, I believe.
Answer to the second question is definitively - NO. LVM can only use the whole device.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor

Re: Simple RootDG Configuration on HP-UX Systems

Which OS version are you running?
Life is a promise, fulfill it!
Alzhy
Honored Contributor

Re: Simple RootDG Configuration on HP-UX Systems

HP-UX 11i JUN2003 Release.

I know it's been years since HP departed from the notion of "slices" on disks. I wonder how VxVM handles private and public regions (s3 and s4?) when it does its thing on HP-UX environments?
Hakuna Matata.
Helen French
Honored Contributor

Re: Simple RootDG Configuration on HP-UX Systems

1) On HP-UX 11i (and 11.0 and 10.X), all the disks in the system are treated as entire physical disks. No slice or partition is allowed - cXtYdZ.

2) If you are using LVM, one of the major rule is to use an entired disk for LVM. No slice or partition is allowed.

3) In HP-UX 11i version 1.5, I 've seen slices (cXtYdZsN), like the root disk is on partition cxtydzs2.
Life is a promise, fulfill it!