VXVM: Creating rootdg w/o going through vxinstall


Standard disclaimer: Use the information that follows at your own risk. If you screw up a system, don't blame it on me...
mailto: dkoleary@olearycomputers.com

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

  1. vxconfigd -m disable
  2. vxdctl init
  3. vxdg init rootdg
  4. vxdctl enable
  5. xdisksetup -i ${pv} privlen=1024
  6. vxdg -g rootdg adddisk ${pv}=${pv}
  7. rm /etc/vx/reconfig.d/state.d/install-db # enables vxvm to come up on the next boot (line 61 of vxvm-start)

Document:
URL:
Last updated: