Man benötigt die Product = VERITAS SANPoint Control , sonst gib es Fehlermeldung „keine License“
- Das Filesystem soll vergrößert werden
#df -k
Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/laydg/layvol 512000 1852 478271 1% /layvol
- Bis jetzt sind pro Controller nur zwei Disks belegt
#vxdg free
GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS laydg laydg01 c1t9d0s2 c1t9d0 512000 34846848 - laydg laydg02 c1t10d0s2 c1t10d0 512000 34846848 - laydg laydg03 c1t11d0s2 c1t11d0 0 35358848 - laydg laydg04 c1t12d0s2 c1t12d0 0 35358848 - laydg laydg05 c2t9d0s2 c2t9d0 512000 34846848 - laydg laydg06 c2t10d0s2 c2t10d0 512000 34846848 - laydg laydg07 c2t11d0s2 c2t11d0 0 35358848 - laydg laydg08 c2t12d0s2 c2t12d0 0 35358848 -
#vxdisk list
DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t8d0s2 auto:none - - online invalid c1t9d0s2 auto:sliced laydg01 laydg online c1t10d0s2 auto:sliced laydg02 laydg online c1t11d0s2 auto:sliced laydg03 laydg online c1t12d0s2 auto:sliced laydg04 laydg online c2t9d0s2 auto:sliced laydg05 laydg online c2t10d0s2 auto:sliced laydg06 laydg online c2t11d0s2 auto:sliced laydg07 laydg online c2t12d0s2 auto:sliced laydg08 laydg online
- Volume layvol hat zwei Subvolume
#vxprint -th
Disk group: laydg dg laydg default default 11000 1179228065.161.DEFX0WF1 dm laydg01 c1t9d0s2 auto 4711 35358848 - dm laydg02 c1t10d0s2 auto 4455 35358848 - dm laydg03 c1t11d0s2 auto 4455 35358848 - dm laydg04 c1t12d0s2 auto 4455 35358848 - dm laydg05 c2t9d0s2 auto 4455 35358848 - dm laydg06 c2t10d0s2 auto 4455 35358848 - dm laydg07 c2t11d0s2 auto 4455 35358848 - dm laydg08 c2t12d0s2 auto 4455 35358848 - v layvol - ENABLED ACTIVE 1024000 SELECT layvol-03 fsgen pl layvol-03 layvol ENABLED ACTIVE 1024000 STRIPE 2/128 RW sv layvol-Ds04 layvol-03 layvol-d04 1 512000 0/0 2/2 ENA sv layvol-Ds05 layvol-03 layvol-d05 1 512000 1/0 2/2 ENA v layvol-d04 - ENABLED ACTIVE 512000 SELECT - fsgen pl layvol-dp07 layvol-d04 ENABLED ACTIVE 512000 CONCAT - RW sd laydg01-04 layvol-dp07 laydg01 0 512000 0 c1t9d0 ENA pl layvol-dp08 layvol-d04 ENABLED ACTIVE 512000 CONCAT - RW sd laydg05-04 layvol-dp08 laydg05 0 512000 0 c2t9d0 ENA v layvol-d05 - ENABLED ACTIVE 512000 SELECT - fsgen pl layvol-dp09 layvol-d05 ENABLED ACTIVE 512000 CONCAT - RW sd laydg02-04 layvol-dp09 laydg02 0 512000 0 c1t10d0s2 ENA pl layvol-dp10 layvol-d05 ENABLED ACTIVE 512000 CONCAT - RW sd laydg06-04 layvol-dp10 laydg06 0 512000 0 c2t10d0 ENA
- erweiterung um einen Columne (ncol=3), über Controller
#vxassist -g laydg relayout layvol layout=stripe-mirror mirror=controller ncol=3
- pro Controllern kam noch eine DISK dazu
#vxdg free
GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS laydg laydg01 c1t9d0s2 c1t9d0 341376 35017472 - laydg laydg02 c1t10d0s2 c1t10d0 341376 35017472 - laydg laydg03 c1t11d0s2 c1t11d0 0 35358848 - laydg laydg04 c1t12d0s2 c1t12d0 341376 35017472 - laydg laydg05 c2t9d0s2 c2t9d0 341376 35017472 - laydg laydg06 c2t10d0s2 c2t10d0 341376 35017472 - laydg laydg07 c2t11d0s2 c2t11d0 0 35358848 - laydg laydg08 c2t12d0s2 c2t12d0 341376 35017472
#vxdisk list
DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t8d0s2 auto:none - - online invalid c1t9d0s2 auto:sliced laydg01 laydg online c1t10d0s2 auto:sliced laydg02 laydg online c1t11d0s2 auto:sliced laydg03 laydg online c1t12d0s2 auto:sliced laydg04 laydg online c2t9d0s2 auto:sliced laydg05 laydg online c2t10d0s2 auto:sliced laydg06 laydg online c2t11d0s2 auto:sliced laydg07 laydg online c2t12d0s2 auto:sliced laydg08 laydg online
#vxprint -th
Disk group: laydg dg laydg default default 11000 1179228065.161.DEFX0WF1 dm laydg01 c1t9d0s2 auto 4711 35358848 - dm laydg02 c1t10d0s2 auto 4455 35358848 - dm laydg03 c1t11d0s2 auto 4455 35358848 - dm laydg04 c1t12d0s2 auto 4455 35358848 - dm laydg05 c2t9d0s2 auto 4455 35358848 - dm laydg06 c2t10d0s2 auto 4455 35358848 - dm laydg07 c2t11d0s2 auto 4455 35358848 - dm laydg08 c2t12d0s2 auto 4455 35358848 - v layvol - ENABLED ACTIVE 1024000 SELECT layvol-03 fsgen pl layvol-03 layvol ENABLED ACTIVE 1024128 STRIPE 3/128 RW sv layvol-Ds01 layvol-03 layvol-d01 1 341376 0/0 2/2 ENA sv layvol-Ds02 layvol-03 layvol-d02 1 341376 1/0 2/2 ENA sv layvol-Ds03 layvol-03 layvol-d03 1 341376 2/0 2/2 ENA v layvol-d01 - ENABLED ACTIVE 341376 SELECT - fsgen pl layvol-dp01 layvol-d01 ENABLED ACTIVE 341376 CONCAT - RW sd laydg01-02 layvol-dp01 laydg01 0 341376 0 c1t9d0 ENA pl layvol-dp02 layvol-d01 ENABLED ACTIVE 341376 CONCAT - RW sd laydg05-02 layvol-dp02 laydg05 0 341376 0 c2t9d0 ENA v layvol-d02 - ENABLED ACTIVE 341376 SELECT - fsgen pl layvol-dp03 layvol-d02 ENABLED ACTIVE 341376 CONCAT - RW sd laydg02-02 layvol-dp03 laydg02 0 341376 0 c1t10d0s2 ENA pl layvol-dp04 layvol-d02 ENABLED ACTIVE 341376 CONCAT - RW sd laydg06-02 layvol-dp04 laydg06 0 341376 0 c2t10d0 ENA v layvol-d03 - ENABLED ACTIVE 341376 SELECT - fsgen
pl layvol-dp05 layvol-d03 ENABLED ACTIVE 341376 CONCAT - RW
sd laydg04-02 layvol-dp05 laydg04 0 341376 0 c1t12d0 ENA
pl layvol-dp06 layvol-d03 ENABLED ACTIVE 341376 CONCAT - RW
sd laydg08-02 layvol-dp06 laydg08 0 341376 0 c2t12d0 ENA
- Vergrößern des Filesystems
#df -k
Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/laydg/layvol 512000 1852 478271 1% /layvol
- Filesystem vergrößern um 200MB
#/usr/lib/vxvm/bin/vxresize -g laydg layvol +200m
#vxdg free
GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS laydg laydg01 c1t9d0s2 c1t9d0 477952 34880896 - laydg laydg02 c1t10d0s2 c1t10d0 477952 34880896 - laydg laydg03 c1t11d0s2 c1t11d0 0 35358848 - laydg laydg04 c1t12d0s2 c1t12d0 477952 34880896 - laydg laydg05 c2t9d0s2 c2t9d0 477952 34880896 - laydg laydg06 c2t10d0s2 c2t10d0 477952 34880896 - laydg laydg07 c2t11d0s2 c2t11d0 0 35358848 - laydg laydg08 c2t12d0s2 c2t12d0 477952 34880896 -
#df -k
Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/laydg/layvol 716800 1900 670226 1% /layvol
- UND die Daten sind auch noch da.
#ls -la /layvol
-rw-r--r-- 1 root other 1306 May 22 20:07 df_info