format
cfgadm -al (scanning controller)
devfsadm -Cv (scanning new disk)
format
format -d c3t50060E8005B20241d55
partition -p
print current table -p
2nd wud be the full disk
l -label
q
q
==================================================================================
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:none - - online invalid
xp24k0_0003 auto:cdsdisk - - online
xp24k0_0004 auto:cdsdisk - - online
xp24k0_0212 auto:cdsdisk xp24k0_0212 clds2bdg online
xp24k0_0213 auto:cdsdisk xp24k0_0213 clds2bdg online
xp24k0_0800 auto:simple - - online invalid
xp24k0_0801 auto:simple - - online invalid
====================================================================================
# vxdiskunsetup xp24k0_0800
# vxdiskunsetup xp24k0_0801
=====================================================================================
# vxdctl enable
# vxdisksetup -if xp24k0_0800 format=cdsdisk
# vxdisksetup -if xp24k0_0801 format=cdsdisk
=====================================================================================
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:none - - online invalid
xp24k0_0003 auto:cdsdisk - - online
xp24k0_0004 auto:cdsdisk - - online
xp24k0_0212 auto:cdsdisk xp24k0_0212 clds2bdg online
xp24k0_0213 auto:cdsdisk xp24k0_0213 clds2bdg online
xp24k0_0800 auto:cdsdisk - - online thin
xp24k0_0801 auto:cdsdisk - - online thin
==================================================================================================
# vxdg -g clds2bdg adddisk xp24k0_0800=xp24k0_0800 (1. vgname 2.next available group name=disk name)
# vxdg -g clds2bdg adddisk xp24k0_0801=xp24k0_0801
=============================================================================================
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:none - - online invalid
xp24k0_0003 auto:cdsdisk - - online
xp24k0_0004 auto:cdsdisk - - online
xp24k0_0212 auto:cdsdisk xp24k0_0212 clds2bdg online
xp24k0_0213 auto:cdsdisk xp24k0_0213 clds2bdg online
xp24k0_0800 auto:cdsdisk xp24k0_0800 clds2bdg online thin
xp24k0_0801 auto:cdsdisk xp24k0_0801 clds2bdg online thin
=============================================================================
# vxdg -g clds2bdg free
DISK DEVICE TAG OFFSET LENGTH FLAGS
xp24k0_0213 xp24k0_0213 xp24k0_0213 102844160 1929728 -
xp24k0_0800 xp24k0_0800 xp24k0_0800 0 104773888 -
xp24k0_0801 xp24k0_0801 xp24k0_0801 0 104773888 - 50GB
=============================================================================
# hostname
cldsapp-nb-8p.cable.comcast.com
#
#vxdg -g cho-oyudg free in bytes---divide bye 2 ..........
=============================================================================
# /usr/lib/vxvm/bin/vxresize -g cho-oyudg datavol90 +30G
vxresize -g t1-clrdg-dr clr2-data8-dg +50G
==============================================================================
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 8267957 3932739 4252539 49% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 13431048 1544 13429504 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s4 13479123 2134137 11210195 16% /var
swap 18897080 5467576 13429504 29% /tmp
swap 13429576 72 13429504 1% /var/run
/dev/dsk/c0t0d0s5 115081722 14689916 99240989 13% /opt
/dev/vx/dsk/clds2bdg/vol01
103809024 78294764 23934633 77% /u02
=============================================================================
# vxresize -g clds2bdg vol01 +100G
=============================================================================
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 7.9G 3.8G 4.1G 49% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 13G 1.5M 13G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c0t0d0s4 13G 2.0G 11G 16% /var
swap 18G 5.2G 13G 29% /tmp
swap 13G 72K 13G 1% /var/run
/dev/dsk/c0t0d0s5 110G 14G 95G 13% /opt
/dev/vx/dsk/clds2bdg/vol01
199G 75G 117G 40% /u02
===================================================================================
cfgadm -al (scanning controller)
devfsadm -Cv (scanning new disk)
format
format -d c3t50060E8005B20241d55
partition -p
print current table -p
2nd wud be the full disk
l -label
q
q
==================================================================================
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:none - - online invalid
xp24k0_0003 auto:cdsdisk - - online
xp24k0_0004 auto:cdsdisk - - online
xp24k0_0212 auto:cdsdisk xp24k0_0212 clds2bdg online
xp24k0_0213 auto:cdsdisk xp24k0_0213 clds2bdg online
xp24k0_0800 auto:simple - - online invalid
xp24k0_0801 auto:simple - - online invalid
====================================================================================
# vxdiskunsetup xp24k0_0800
# vxdiskunsetup xp24k0_0801
=====================================================================================
# vxdctl enable
# vxdisksetup -if xp24k0_0800 format=cdsdisk
# vxdisksetup -if xp24k0_0801 format=cdsdisk
=====================================================================================
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:none - - online invalid
xp24k0_0003 auto:cdsdisk - - online
xp24k0_0004 auto:cdsdisk - - online
xp24k0_0212 auto:cdsdisk xp24k0_0212 clds2bdg online
xp24k0_0213 auto:cdsdisk xp24k0_0213 clds2bdg online
xp24k0_0800 auto:cdsdisk - - online thin
xp24k0_0801 auto:cdsdisk - - online thin
==================================================================================================
# vxdg -g clds2bdg adddisk xp24k0_0800=xp24k0_0800 (1. vgname 2.next available group name=disk name)
# vxdg -g clds2bdg adddisk xp24k0_0801=xp24k0_0801
=============================================================================================
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:none - - online invalid
xp24k0_0003 auto:cdsdisk - - online
xp24k0_0004 auto:cdsdisk - - online
xp24k0_0212 auto:cdsdisk xp24k0_0212 clds2bdg online
xp24k0_0213 auto:cdsdisk xp24k0_0213 clds2bdg online
xp24k0_0800 auto:cdsdisk xp24k0_0800 clds2bdg online thin
xp24k0_0801 auto:cdsdisk xp24k0_0801 clds2bdg online thin
=============================================================================
# vxdg -g clds2bdg free
DISK DEVICE TAG OFFSET LENGTH FLAGS
xp24k0_0213 xp24k0_0213 xp24k0_0213 102844160 1929728 -
xp24k0_0800 xp24k0_0800 xp24k0_0800 0 104773888 -
xp24k0_0801 xp24k0_0801 xp24k0_0801 0 104773888 - 50GB
=============================================================================
# hostname
cldsapp-nb-8p.cable.comcast.com
#
#vxdg -g cho-oyudg free in bytes---divide bye 2 ..........
=============================================================================
# /usr/lib/vxvm/bin/vxresize -g cho-oyudg datavol90 +30G
vxresize -g t1-clrdg-dr clr2-data8-dg +50G
==============================================================================
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 8267957 3932739 4252539 49% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 13431048 1544 13429504 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s4 13479123 2134137 11210195 16% /var
swap 18897080 5467576 13429504 29% /tmp
swap 13429576 72 13429504 1% /var/run
/dev/dsk/c0t0d0s5 115081722 14689916 99240989 13% /opt
/dev/vx/dsk/clds2bdg/vol01
103809024 78294764 23934633 77% /u02
=============================================================================
# vxresize -g clds2bdg vol01 +100G
=============================================================================
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 7.9G 3.8G 4.1G 49% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 13G 1.5M 13G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c0t0d0s4 13G 2.0G 11G 16% /var
swap 18G 5.2G 13G 29% /tmp
swap 13G 72K 13G 1% /var/run
/dev/dsk/c0t0d0s5 110G 14G 95G 13% /opt
/dev/vx/dsk/clds2bdg/vol01
199G 75G 117G 40% /u02
===================================================================================
No comments:
Post a Comment