Sunday, September 8, 2013

How to grow a striped filesystem in svm 

echo |forMAT---14 LUN NLXSL212---25

nlxsl212:a511627> echo |format |grep -i c3t5000097408105929d11
c3t5000097408105929d11: configured with capacity of 100.01GB
      14. c3t5000097408105929d11 <EMC-SYMMETRIX-5874 cyl 54618 alt 2 hd 30 sec 128>

c4t500009740810592Dd11
c3t5000097408105929d11


===================================================================

# echo |format |grep -i c0t60000970000292602650533034453346d0s2
#  echo |format |grep -i c0t60000970000292602650533034453346d0
c0t60000970000292602650533034453346d0: configured with capacity of 100.01GB
      72. c0t60000970000292602650533034453346d0 <EMC-SYMMETRIX-5874 cyl 54618 alt 2 hd 30 sec 128>





===============================================================

partition> p
Current partition table (unnamed):
Total disk cylinders available: 54618 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0                0         (0/0/0)             0
  1       swap    wu       0                0         (0/0/0)             0
  2     backup    wu       0 - 54617      100.01GB    (54618/0/0) 209733120
  3 unassigned    wm       0 - 54613      100.00GB    (54614/0/0) 209717760
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6        usr    wm       0 - 54617      100.01GB    (54618/0/0) 209733120
  7 unassigned    wm       0                0         (0/0/0)             0

partition>


s3
=============================================================================================================
nlxsl212\:a511627> df -kh /volumes/ora03
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d50        1.0T   843G   200G    81%    /volumes/ora03
nlxsl212\:a511627>


nlxsl212\:a511627> metastat d50
d50: Concat/Stripe
    Size: 2209722180 blocks (1.0 TB)
    Stripe 0: (interlace: 32 blocks)
        Device                    Start Block  Dbase    Reloc
        c3t5000097408105919d1s2          0     No       Yes
        c3t5000097408105919d4s2      16860     No       Yes

Device Relocation Information:
Device                  Reloc   Device ID
c3t5000097408105919d1   Yes     id1,ssd@n60000970000292601046533030423046
c3t5000097408105919d4   Yes     id1,ssd@n60000970000292601046533031304436
nlxsl212\:a511627>



metattch d50 c3t5000097408105929d11s3



nlxsl212\:a511627>
nlxsl212\:a511627> metastat d50
d50: Concat/Stripe
    Size: 2419443720 blocks (1.1 TB)
    Stripe 0: (interlace: 32 blocks)
        Device                    Start Block  Dbase    Reloc
        c3t5000097408105919d1s2          0     No       Yes
        c3t5000097408105919d4s2      16860     No       Yes
    Stripe 1:
        Device                     Start Block  Dbase   Reloc
        c3t5000097408105929d11s3       3840     No      Yes

Device Relocation Information:
Device                   Reloc  Device ID
c3t5000097408105919d1    Yes    id1,ssd@n60000970000292601046533030423046
c3t5000097408105919d4    Yes    id1,ssd@n60000970000292601046533031304436
c3t5000097408105929d11   Yes    id1,ssd@n60000970000292601046533033384638
nlxsl212\:a511627>



growfs -M /volumes/ora03 /dev/md/rdsk/d50


for zfs no need to format also jst add
  zpool add poolname <diskname>

No comments:

Post a Comment