Operating System - HP-UX
1753971 Members
7779 Online
108811 Solutions
New Discussion юеВ

VxVM hot-relocation of rootdg

 
David Nixon
Valued Contributor

VxVM hot-relocation of rootdg

Under VxVM 3.5 I have been trying to add
a hot-spare drive to a mirrored root disc group.

'vxdiskadm' insists on initialising the disk using a default
private region offset of 128.

'vxdisksetup' enables me to initialise with
the correct 2144 offset. However if I then
add the initialised disk to
rootdg using 'vxdiskadm' it gets
re-initialised.

From what I have read of VxVM 4.1 (SunOS)
'vxdiskadm' can skip initialising an already prepared
drive when adding it to a disc group.

Is there a method for doing similar under 3.5?
3 REPLIES 3
Kevin Wright
Honored Contributor

Re: VxVM hot-relocation of rootdg

vxdiskadd
David Nixon
Valued Contributor

Re: VxVM hot-relocation of rootdg

Yes, I tried that before and 'diskadd'
behaved the same as the addition option of
'diskadm'.
Reading the man page implies differently
so I have attached a sample of what did
happen.

Dave.
David Nixon
Valued Contributor

Re: VxVM hot-relocation of rootdg

I used the 'vxdg' command to add
my initialised disk to rootdg

# vxdg -g rootdg adddisk hotspare=c2t0d0