This can also be done on vxvm vol. It does not matter it is just vxfs style to grow.
** be carefull with fadm command as it can shrink the filesystem
partition> p
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1 - 3630 5.00GB (3630/0/0) 10487070
1 swap wu 3631 - 4356 1.00GB (726/0/0) 2097414
2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
3 unassigned wm 10962 - 24028 18.00GB (13067/0/0) 37750563 <-----added size
4 unassigned wm 10891 - 10961 100.16MB (71/0/0) 205119
5 usr wm 4357 - 5808 2.00GB (1452/0/0) 4194828
6 usr wm 5809 - 10164 6.00GB (4356/0/0) 12584484 <----- actual size
7 usr wm 10165 - 10890 1.00GB (726/0/0) 2097414
partition>
# metattach d46 c0t0d0s3
# metattach d76 c0t1d0s3
# metastat d6
d6: Mirror
Submirror 0: d46
State: Okay
Submirror 1: d76
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 50335047 blocks
d46: Submirror of d6
State: Okay
Size: 50335047 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c0t0d0s6 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare <-------- added
c0t0d0s3 0 No Okay
d76: Submirror of d6
State: Okay
Size: 50335047 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c0t1d0s6 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare <-------- added
c0t1d0s3 0 No Okay
root@:/opt/VRTSvxfs/sbin # ./fsadm -b 23g /var/nas/.nfsvol **23g is final size
UX:vxfs fsadm: INFO: V-3-23585: /dev/md/rdsk/d6 is currently 12582912 sectors - size will be increased
root@:/opt/VRTSvxfs/sbin # df -k /var/nas/.nfsvol
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d6 24117248 5093342 17853137 23% /var/nas/.nfsvol
root@:/opt/VRTSvxfs/sbin # cd /var/nas/.nfsvol
root@:/var/nas/.nfsvol # ls
cyclone cyclone5 dstx home lost+found mercator tomcat var_cyclone
root@:/var/nas/.nfsvol #
Subscribe to:
Post Comments (Atom)
UNIX: How to print column nicely using printf
[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...
-
This does increase the amount of CPU and I/O that both your sending and receiving side use, but I’ve been able to run ~25 parallel instance...
-
syntax: rmvterm –m {msys} –p {lpar} # rmvterm -m Server-9117-570-SN103FACD_B -p WBITVIO2
-
Cluster operations Start VCS hastart [-force-stale] hasys -force system Stop VCS hastop -local [-force-evacuate] hastop -sys system [-force-...
No comments:
Post a Comment