This discussion is archived
13 Replies Latest reply: Oct 29, 2012 10:08 AM by 964668 RSS

how to add a third  equallogic  volume/LUN to zfs pool

964668 Newbie
Currently Being Moderated
hi All,
i have zfs pool made from 2 luns ( equallogic volumes).
i would like to add a third lun to the zfs pool , how do i do that ? can i do it while the zfs pool online?
for example , the zfs pool wgsi1-1 is made from 2 equallogic luns wgsi1-1 and wgsi1-11 , i want to add a third one say wgsi-111

here is the output from " echo | format " and " zpool status -v "

AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@780/pci@0/pci@9/scsi@0/sd@0,0
1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@780/pci@0/pci@9/scsi@0/sd@1,0
2. c2t0690A0184007CD6F716594E001003050d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-1
/scsi_vhci/ssd@g0690a0184007cd6f716594e001003050
3. c2t0690A0184007DD79716514E20100700Cd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-7
/scsi_vhci/ssd@g0690a0184007dd79716514e20100700c
4. c2t0690A01840070D75716554E1010090C3d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-4
/scsi_vhci/ssd@g0690a01840070d75716554e1010090c3
5. c2t0690A01840073D787165D4E101005005d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-6
/scsi_vhci/ssd@g0690a01840073d787165d4e101005005
6. c2t0690A01840075D73716514E1010030FBd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-3
/scsi_vhci/ssd@g0690a01840075d73716514e1010030fb
7. c2t0690A01840078D76716594E10100F05Dd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-5
/scsi_vhci/ssd@g0690a01840078d76716594e10100f05d
8. c2t0690A01840079D717165D4E0010090B5d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-2
/scsi_vhci/ssd@g0690a01840079d717165d4e0010090b5
9. c2t6090A0184007BD2F3DDF1465190420B6d0 <EQLOGIC-100E-00-5.0-1.00TB> wgsi1-17
/scsi_vhci/ssd@g6090a0184007bd2f3ddf1465190420b6
10. c2t6090A0184007BD703DDF64D1190420E6d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-15
/scsi_vhci/ssd@g6090a0184007bd703ddf64d1190420e6
11. c2t6090A0184007DD5C3DDFF4AF1904E022d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-16
/scsi_vhci/ssd@g6090a0184007dd5c3ddff4af1904e022
12. c2t6090A01840074D9F3DDF341F1A04A09Dd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-13
/scsi_vhci/ssd@g6090a01840074d9f3ddf341f1a04a09d
13. c2t6090A01840075DB43DDFB4421A04A0A9d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-11
/scsi_vhci/ssd@g6090a01840075db43ddfb4421a04a0a9
14. c2t6090A01840077D933DDF640B1A042020d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-14
/scsi_vhci/ssd@g6090a01840077d933ddf640b1a042020
15. c2t6090A01840078DAC3DDF74351A04C019d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-12
/scsi_vhci/ssd@g6090a01840078dac3ddf74351a04c019
16. c2t6090A01870227DAACFDFA437AB2792ADd0 <EQLOGIC-100E-00-5.0-4.35TB>
/scsi_vhci/ssd@g6090a01870227daacfdfa437ab2792ad
Specify disk (enter its number): Specify disk (enter its number):


**************
server:(/root)# zpool status -v |more
pool: scratch1
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
scratch1 ONLINE 0 0 0
c2t6090A01870227DAACFDFA437AB2792ADd0 ONLINE 0 0 0

errors: No known data errors

pool: wgsi1-1
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
wgsi1-1 ONLINE 0 0 0
c2t0690A0184007CD6F716594E001003050d0 ONLINE 0 0 0
c2t6090A01840075DB43DDFB4421A04A0A9d0 ONLINE 0 0 0

errors: No known data errors

pool: wgsi1-2
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
wgsi1-2 ONLINE 0 0 0
c2t0690A01840079D717165D4E0010090B5d0 ONLINE 0 0 0
c2t6090A01840078DAC3DDF74351A04C019d0 ONLINE 0 0 0

errors: No known data errors

pool: wgsi1-3
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
wgsi1-3 ONLINE 0 0 0
c2t0690A01840075D73716514E1010030FBd0 ONLINE 0 0 0
c2t6090A01840074D9F3DDF341F1A04A09Dd0 ONLINE 0 0 0

errors: No known data errors

pool: wgsi1-4
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
wgsi1-4 ONLINE 0 0 0
c2t0690A01840070D75716554E1010090C3d0 ONLINE 0 0 0
c2t6090A01840077D933DDF640B1A042020d0 ONLINE 0 0 0

errors: No known data errors

pool: wgsi1-5
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
wgsi1-5 ONLINE 0 0 0
c2t0690A01840078D76716594E10100F05Dd0 ONLINE 0 0 0
c2t6090A0184007BD703DDF64D1190420E6d0 ONLINE 0 0 0

errors: No known data errors

pool: wgsi1-6
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
wgsi1-6 ONLINE 0 0 0
c2t0690A01840073D787165D4E101005005d0 ONLINE 0 0 0
c2t6090A0184007DD5C3DDFF4AF1904E022d0 ONLINE 0 0 0

errors: No known data errors

pool: wgsi1-7
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
wgsi1-7 ONLINE 0 0 0
c2t0690A0184007DD79716514E20100700Cd0 ONLINE 0 0 0
c2t6090A0184007BD2F3DDF1465190420B6d0 ONLINE 0 0 0

errors: No known data errors
server:(/root)#
  • 1. Re: how to add a third  equallogic  volume/LUN to zfs pool
    muvvas Explorer
    Currently Being Moderated
    if their was no mirroring and raidz

    you can add on the fly

    zpool add poolname cxtxdx

    verify zpool status poolname

    if u configured any mirror/raidz

    refer this

    http://docs.oracle.com/cd/E19253-01/819-5461/gazgw/index.html
  • 2. Re: how to add a third  equallogic  volume/LUN to zfs pool
    964668 Newbie
    Currently Being Moderated
    thanks muvvas,
    but how do i create device for the volume, when i run "echo |format " from solaris server i do not see the device.
    also how can i make sure that i do not have raidz nor mirroring?
    something new pop up on the format command output, what is this,

    0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@780/pci@0/pci@9/scsi@0/sd@0,0
    1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@780/pci@0/pci@9/scsi@0/sd@1,0
    2. c2t0690A0184007CD6F716594E001003050d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-1
    /scsi_vhci/ssd@g0690a0184007cd6f716594e001003050
    3. c2t0690A0184007DD79716514E20100700Cd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-7
    /scsi_vhci/ssd@g0690a0184007dd79716514e20100700c
    4. c2t0690A01840070D75716554E1010090C3d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-4
    /scsi_vhci/ssd@g0690a01840070d75716554e1010090c3
    5. c2t0690A01840073D787165D4E101005005d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-6
    /scsi_vhci/ssd@g0690a01840073d787165d4e101005005
    6. c2t0690A01840075D73716514E1010030FBd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-3
    /scsi_vhci/ssd@g0690a01840075d73716514e1010030fb
    7. c2t0690A01840078D76716594E10100F05Dd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-5
    /scsi_vhci/ssd@g0690a01840078d76716594e10100f05d
    8. c2t0690A01840079D717165D4E0010090B5d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-2
    /scsi_vhci/ssd@g0690a01840079d717165d4e0010090b5
    +9. c2t6090A018B05B80E61A0845F6D7A1E61Bd0 <EQLOGIC-100E-00-5.0 cyl 65533 alt 2 hd 16 sec 1000>++
    ++*/scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b*++
    10. c2t6090A0184007BD2F3DDF1465190420B6d0 <EQLOGIC-100E-00-5.0-1.00TB> wgsi1-17
    /scsi_vhci/ssd@g6090a0184007bd2f3ddf1465190420b6
    11. c2t6090A0184007BD703DDF64D1190420E6d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-15
    /scsi_vhci/ssd@g6090a0184007bd703ddf64d1190420e6
    12. c2t6090A0184007DD5C3DDFF4AF1904E022d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-16
    /scsi_vhci/ssd@g6090a0184007dd5c3ddff4af1904e022
    13. c2t6090A01840074D9F3DDF341F1A04A09Dd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-13
    /scsi_vhci/ssd@g6090a01840074d9f3ddf341f1a04a09d
    14. c2t6090A01840075DB43DDFB4421A04A0A9d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-11
    /scsi_vhci/ssd@g6090a01840075db43ddfb4421a04a0a9
    15. c2t6090A01840077D933DDF640B1A042020d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-14
    /scsi_vhci/ssd@g6090a01840077d933ddf640b1a042020
    16. c2t6090A01840078DAC3DDF74351A04C019d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-12
    /scsi_vhci/ssd@g6090a01840078dac3ddf74351a04c019
    17. c2t6090A01870227DAACFDFA437AB2792ADd0 <EQLOGIC-100E-00-5.0-4.35TB>
    /scsi_vhci/ssd@g6090a01870227daacfdfa437ab2792ad
  • 3. Re: how to add a third  equallogic  volume/LUN to zfs pool
    muvvas Explorer
    Currently Being Moderated
    will you please give teh dmesg|grep sd

    iostat -nE

    so be clear and verify what ur adding to the pool..
  • 4. Re: how to add a third  equallogic  volume/LUN to zfs pool
    cindys Pro
    Currently Being Moderated
    It looks like the format entry for device 9) is the new disk. Rather than being placed at format position 17,
    its at 9. Are you sure this isn't the disk you are looking for? :-)

    You don't have any mirrored or raidz pools because the "mirror" or "raidz*" keywords would be included in
    your zpool status output. These are non-redundant pools so I hope these devices are from an underlying
    hardware RAID array and you are monitoring their health and have good backups.

    If all the other devices are in use, you can use format-->this disk-->partition to verify that it is unused. If
    it is in-use by ZFS, you'll see a message to that effect.

    If you are still unsure, you can always use the -n option to check the configuration:

    # zpool add -n wgsi1-3 c2t6090A018B05B80E61A0845F6D7A1E61Bd0

    If this is the device you are looking for, then you can add it to wgsi1-3 like this:

    # zpool add wgsi1-3 c2t6090A018B05B80E61A0845F6D7A1E61Bd0

    Thanks, Cindy
  • 5. Re: how to add a third  equallogic  volume/LUN to zfs pool
    964668 Newbie
    Currently Being Moderated
    Oct 25 11:21:28 scsi: [ID 799468 kern.info] ssd68 at scsi_vhci0: name g6090a018b05b80e61a0845f6d7a1e61b, bus address g6090a018b05b80e61a0845f6d7a1e61b
    Oct 25 11:21:28 genunix: [ID 936769 kern.info] ssd68 is /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b
    Oct 25 11:21:28 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:21:28 genunix: [ID 408114 kern.info] /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68) online
    Oct 25 11:21:28 genunix: [ID 834635 kern.info] /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68) multipath status: degraded, path /iscsi (iscsi0) to target address: 0000iqn.2001-05.com.equallogic:0-8a0906-e6805bb01-1be6a1d7f645081a-wgsi1-1110001,0 is online Load balancing: round-robin
    Oct 25 11:42:24 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:42:24 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:57:51 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:57:51 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:57:55 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:57:55 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:58:09 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    Oct 25 11:59:12 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b (ssd68):
    :(/devices/iscsi)#

    *******************************
    c0t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0714S09CKG
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c1t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
    Vendor: MATSHITA Product: CD-RW CW-8124 Revision: DZ15 Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 1 Predictive Failure Analysis: 0
    c0t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0714S09CLS
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c2t0690A0184007DD79716514E20100700Cd0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t0690A01840073D787165D4E101005005d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t0690A01840078D76716594E10100F05Dd0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t0690A01840070D75716554E1010090C3d0 Soft Errors: 3 Hard Errors: 15 Transport Errors: 15
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t0690A01840075D73716514E1010030FBd0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t0690A01840079D717165D4E0010090B5d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t0690A0184007CD6F716594E001003050d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A0184007BD2F3DDF1465190420B6d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1099.53GB <1099526307840 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A0184007DD5C3DDFF4AF1904E022d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A0184007BD703DDF64D1190420E6d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A01840077D933DDF640B1A042020d0 Soft Errors: 3 Hard Errors: 34 Transport Errors: 34
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A01840074D9F3DDF341F1A04A09Dd0 Soft Errors: 3 Hard Errors: 73 Transport Errors: 71
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 2 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A01840078DAC3DDF74351A04C019d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A01840075DB43DDFB4421A04A0A9d0 Soft Errors: 3 Hard Errors: 87 Transport Errors: 87
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 1649.27GB <1649273733120 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A01870227DAACFDFA437AB2792ADd0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 4782.89GB <4782890680320 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c2t6090A018B05B80E61A0845F6D7A1E61Bd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: EQLOGIC Product: 100E-00 Revision: 5.0 Serial No:
    Size: 536.88GB <536881397760 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
  • 6. Re: how to add a third  equallogic  volume/LUN to zfs pool
    muvvas Explorer
    Currently Being Moderated
    is that newly added lun to server was 550/500 GB?
    is that correct then u can follows cindys suggestions.


    .
  • 7. Re: how to add a third  equallogic  volume/LUN to zfs pool
    964668 Newbie
    Currently Being Moderated
    thanks cindys
    i ran the command with -n , output
    would update 'wgsi1-1' to the following configuration:
    wgsi1-1
    c2t0690A0184007CD6F716594E001003050d0
    c2t6090A01840075DB43DDFB4421A04A0A9d0
    c2t6090A018B05B80E61A0845F6D7A1E61Bd0

    i created 7 new luns from my equallogics each is 500GB , now disk # 9 has strange name, how do i change the name to something meaningful?
    also what commands do i need to run to discover the other 6 luns i created on storage equallogic? i mean i want to see the luns as disk from format command.
  • 8. Re: how to add a third  equallogic  volume/LUN to zfs pool
    cindys Pro
    Currently Being Moderated
    I'm better on the ZFS side than the 3rd party storage side. I would expect the LUNs to be visible on the host after you
    identify which host will have access to them. If they are not immediately visible in format, then you might try devfsadm.
    I hope someone more knowledgeable will comment.

    I don't know if this works with remote storage, but if the format-->disk name looks strange, then you can try selecting
    the disk and using the type command to automatically configure the device.

    See Example 11-1 more towards the bottom of the page, here:

    http://docs.oracle.com/cd/E23824_01/html/821-1459/disksprep-3.html#scrolltoc

    If that doesn't work then you could try creating a test pool, which should rewrite the disk label more sanely,
    like this:

    # zpool create test c2t6090A018B05B80E61A0845F6D7A1E61Bd0

    Review the disk info in format. Then, destroy the test pool.

    Thanks,

    Cindy
  • 9. Re: how to add a third  equallogic  volume/LUN to zfs pool
    964668 Newbie
    Currently Being Moderated
    hi cindys,
    thanks for the follow up; ok i ran the devfsadm -v and now the "echo |foramt " is showing the new 7 created luns. i want to name them to something meaningful like wgsi1-111 and so on. now from the equallogic gui i named the new 7 lun the following : wgsi1-111 , wgsi1-121, wgsi1-131 , .... wgsi1-171 , how do i know which one correspond to which here in format.


    2. c2t0690A0184007CD6F716594E001003050d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-1
    /scsi_vhci/ssd@g0690a0184007cd6f716594e001003050
    3. c2t0690A0184007DD79716514E20100700Cd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-7
    /scsi_vhci/ssd@g0690a0184007dd79716514e20100700c
    4. c2t0690A01840070D75716554E1010090C3d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-4
    /scsi_vhci/ssd@g0690a01840070d75716554e1010090c3
    5. c2t0690A01840073D787165D4E101005005d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-6
    /scsi_vhci/ssd@g0690a01840073d787165d4e101005005
    6. c2t0690A01840075D73716514E1010030FBd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-3
    /scsi_vhci/ssd@g0690a01840075d73716514e1010030fb
    7. c2t0690A01840078D76716594E10100F05Dd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-5
    /scsi_vhci/ssd@g0690a01840078d76716594e10100f05d
    8. c2t0690A01840079D717165D4E0010090B5d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-2
    /scsi_vhci/ssd@g0690a01840079d717165d4e0010090b5
    9. c2t6090A018B05B60A3980815BE43A2C691d0 <EQLOGIC-100E-00-5.0 cyl 65533 alt 2 hd 16 sec 1000>
    /scsi_vhci/ssd@g6090a018b05b60a3980815be43a2c691
    10. c2t6090A018B05B60AE980865BE43A2C6B7d0 <EQLOGIC-100E-00-5.0 cyl 65533 alt 2 hd 16 sec 1000>
    /scsi_vhci/ssd@g6090a018b05b60ae980865be43a2c6b7
    11. c2t6090A018B05B70B59808A5BE43A2467Ed0 <EQLOGIC-100E-00-5.0 cyl 65533 alt 2 hd 16 sec 1000>
    /scsi_vhci/ssd@g6090a018b05b70b59808a5be43a2467e
    12. c2t6090A018B05B80E61A0845F6D7A1E61Bd0 <EQLOGIC-100E-00-5.0-500.01GB>
    /scsi_vhci/ssd@g6090a018b05b80e61a0845f6d7a1e61b
    13. c2t6090A018B05BC09C9808F5BD43A2A69Bd0 <EQLOGIC-100E-00-5.0 cyl 65533 alt 2 hd 16 sec 1000>
    /scsi_vhci/ssd@g6090a018b05bc09c9808f5bd43a2a69b
    14. c2t6090A018B05BD0A9980835BE43A2663Dd0 <EQLOGIC-100E-00-5.0 cyl 65533 alt 2 hd 16 sec 1000>
    /scsi_vhci/ssd@g6090a018b05bd0a9980835be43a2663d
    15. c2t6090A018B05BE0B1980885BE43A2460Dd0 <EQLOGIC-100E-00-5.0 cyl 65533 alt 2 hd 16 sec 1000>
    /scsi_vhci/ssd@g6090a018b05be0b1980885be43a2460d
    16. c2t6090A0184007BD2F3DDF1465190420B6d0 <EQLOGIC-100E-00-5.0-1.00TB> wgsi1-17
    /scsi_vhci/ssd@g6090a0184007bd2f3ddf1465190420b6
    17. c2t6090A0184007BD703DDF64D1190420E6d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-15
    /scsi_vhci/ssd@g6090a0184007bd703ddf64d1190420e6
    18. c2t6090A0184007DD5C3DDFF4AF1904E022d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-16
    /scsi_vhci/ssd@g6090a0184007dd5c3ddff4af1904e022
    19. c2t6090A01840074D9F3DDF341F1A04A09Dd0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-13
    /scsi_vhci/ssd@g6090a01840074d9f3ddf341f1a04a09d
    20. c2t6090A01840075DB43DDFB4421A04A0A9d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-11
    /scsi_vhci/ssd@g6090a01840075db43ddfb4421a04a0a9
    21. c2t6090A01840077D933DDF640B1A042020d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-14
    /scsi_vhci/ssd@g6090a01840077d933ddf640b1a042020
    22. c2t6090A01840078DAC3DDF74351A04C019d0 <EQLOGIC-100E-00-5.0-1.50TB> wgsi1-12
    /scsi_vhci/ssd@g6090a01840078dac3ddf74351a04c019
    23. c2t6090A01870227DAACFDFA437AB2792ADd0 <EQLOGIC-100E-00-5.0-4.35TB>
    /scsi_vhci/ssd@g6090a01870227daacfdfa437ab2792ad
  • 10. Re: how to add a third  equallogic  volume/LUN to zfs pool
    cindys Pro
    Currently Being Moderated
    I don't understand why the new names wgsi1-111 , wgsi1-121, wgsi1-131 , .... wgsi1-171 for the new LUNs are not showing
    up like the previous wgsi1-1...wgsi1-17 names that are visible in format now, even though the new LUNs are visible. I don't
    know how to fix this from the Solaris side of things.

    Cindy
  • 11. Re: how to add a third  equallogic  volume/LUN to zfs pool
    964668 Newbie
    Currently Being Moderated
    hi cindys,
    one of my friends told that i have to go to format command and go to label and label it ,
    so the process would be as following:

    1- remove the lun/volumes from equallogic gui
    2- run devfsadm -C to clear the devices
    3- create one volume
    4- run devfsadm to discover the device
    5- run format -> change to desired label, for example, wgsi1-111
    6- run the zpool add zpool-name <device for new volume to add>
    7- check space , it should be 2.5TB

    8- repeat the steps for rest of zfs pool

    my friend suggested to do one at the time , this way you do not mix them up.
    does it make sense?
    thanks
  • 12. Re: how to add a third  equallogic  volume/LUN to zfs pool
    muvvas Explorer
    Currently Being Moderated
    yes u can proceed,however first try for one.. and verify
  • 13. Re: how to add a third  equallogic  volume/LUN to zfs pool
    964668 Newbie
    Currently Being Moderated
    can i run the following command on the solaris 10 without harming zfs filesystems already online and serving data
    iscsiadm add discovery-address <address>:3260
    iscsiadm modify initiator-node -c 3
    iscsi modify discovery -sendtargets enable
    devfsadm -v
    devfsadm -C

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points