Archive for the ‘Numa’ Category

Numa: Adding Volumes

Thursday, October 29th, 2009
Unmount volumes
check info horcom
if ok "unmount db volume
sudo unmount {DB Name}
stop volumes
sudo vxvol stop vdbm
Want to know the disk
vxprint -ht /grep dbmd / grep ^sd
Break the volume down
vxedit -r rm vdb{db name}a01
Remove disk from disk group
sudo vxdg rmdisk {disk name}
Basic Disk Info
vxdisk -list: gives listing of disk in svm
Add Disk Back IN
sudo svdg -g diskgroup sharedg2 adddisk hd7210
Make Subdisk
sudo vxmake -g sharedge sd $[1]s0-0 $[1],0,28442685
Make Plex
sudo vxmake -g sharedg2 plex
ex. pbuRETd78-0 sd=hd721050-0
Make Volume
sudo vxmake -g sharedg2 vol
ex. vbuRET78 use_type=fsgen plex=pbu d78-0
Initialize Volume
sudo vxvol init clean {volume name}
start volume
sudo vxvol start {volume name}
put on file system
sudo newfs -F efs /dev/vx/rdsk/share/name/{volume name}
sudo fsck

Enjoy,
Mike Kniaziewicz