Create a 500g volume with space guaranteed for the volume.
vol create new_vol -s volume aggr0 500g
Resize the volume if needed
vol size new_vol 600g
Offline and destroy volume if a mistake was made
vol offline new_vol
vol destroy new_vol
Create the qtree
qtree create /vol/new_vol/new_qtree
Create the 50g LUNs for Solaris
lun create -s 50g -t solaris /vol/new_vol/new_qtree/new101_lun
lun create -s 50g -t solaris /vol/new_vol/new_qtree/new102_lun
lun create -s 50g -t solaris /vol/new_vol/new_qtree/new103_lun
lun create -s 50g -t solaris /vol/new_vol/new_qtree/new104_lun
Map the LUNs
lun map /vol/new_vol/new_qtree/new101_lun SYSTEM01 101
lun map /vol/new_vol/new_qtree/new102_lun SYSTEM01 102
lun map /vol/new_vol/new_qtree/new103_lun SYSTEM01 103
lun map /vol/new_vol/new_qtree/new103_lun SYSTEM01 104
vtoc
cat > /tmp/vtoc50g << EOF
0 0 00 16384 104808448 104824831
2 5 01 0 104824832 104824831
EOF
Label disks and apply layout
fmthard -s /tmp/vtoc50g /dev/rdsk/c10t600xxxxxxd101s2
fmthard -s /tmp/vtoc50g /dev/rdsk/c10t600xxxxxxd102s2
fmthard -s /tmp/vtoc50g /dev/rdsk/c10t600xxxxxxd103s2
fmthard -s /tmp/vtoc50g /dev/rdsk/c10t600xxxxxxd104s2
Update permissions
chown oracle:dba /dev/rdsk/c10t600*d10*
chown oracle:dba /dev/dsk/c10t600*d10*
The DBA can now go ahead with adding the disks underl ASM control.
Recent Comments