- 論壇徽章:
- 0
|
問題:如何創(chuàng)建rootdg?(在線急切)
This example uses c0t2d0 as the first disk to put into 'rootdg'.
1. Add (via pkgadd) the Volume Manager packages.
2. Start vxconfigd in disabled mode.
vxconfigd -d
3. Create the /etc/volboot file.
vxdctl init
4. Add license key(s), if needed.
vxserial -c
5. Make a new rootdg group.
vxdg init rootdg
6. Initialize a new disk.
/etc/vx/bin/vxdisksetup -i c0t2d0
7. Add disk record.
vxdisk -f init c0t2d0s2
8. Add disk name to rootdg disk group.
vxdg -g rootdg adddisk disk01=c0t2d0s2
9. Enable transactions.
vxdctl enable
10. Remove the install-db file, if present.
rm /etc/vx/reconfig.d/state.d/install-db
11. To optionally add additional disks into the 'rootdg' diskgroup,
run the following two commands for each disk:
/etc/vx/bin/vxdisksetup -i c#t#d#
vxdg -g rootdg adddisk disk##=c#t#d#s2 |
|