VXVM: Creating rootdg w/o going through vxinstall¶
- Title:
VXVM: Creating rootdg w/o going through vxinstall
- Author:
Douglas O’Leary <dkoleary@olearycomputers.com>
- Description:
VXVM: Creating rootdg w/o going through vxinstall
- Date created:
08/2008
- Date updated:
09/2009
- Disclaimer:
Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…
Why would you need to do this? Fairly short number of reasons, I expect. I had to do it because we were using very small disks (like 4 megs) for rootdg and the vxinstall was crapping out in the vxdisksetup. Fortunately, this is a requirement for vxvm ver 3.5 only, so chances of needing it much longer are remote
vxconfigd -m disable
vxdctl init
vxdg init rootdg
vxdctl enable
xdisksetup -i ${pv} privlen=1024
vxdg -g rootdg adddisk ${pv}=${pv}
rm /etc/vx/reconfig.d/state.d/install-db # enables vxvm to come up on
# the next boot (line 61 of
# vxvm-start)