IT dragons tamed since 2006 (with 760 solutions and growing)

[login]
[join]

your IP[54.221.93.187]




If you thought this solution was helpfull, please login and vote. Not a member? click here

ID766
TitleZFS - create a RAID 1+0
Byjohn
Keywordszfs raid solaris
CategorySolaris 11
Votes0
Views32
Score32
Date2017-08-03
Body
ZFS - create a RAID 1+0

First I insert 6 SAS SSD drives into the 10 bay Dell R610

Login to iDRAC and tell the PERC controller they are non-RAID

From a Solaris 11.3 login

Have Solaris recognize the drives:

root@dracko-sql01:/# devfsadm root@dracko-sql01:/# iostat -En c0t55CD2E414D60C0F8d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: ATA Product: INTEL SSDSC2BB48 Revision: 0101 Serial No: Size: 480.10GB <480103981056 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c0t55CD2E414D60AB21d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: ATA Product: INTEL SSDSC2BB48 Revision: 0101 Serial No: Size: 480.10GB <480103981056 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t5001E820027DC4F2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: Pliant Product: LB806M Revision: D326 Serial No: 41796848 Size: 800.17GB <800166076416 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 41 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t5001E820027FD7EEd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: Pliant Product: LB806M Revision: D332 Serial No: 41932780 Size: 800.17GB <800166076416 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 79 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c0t600601603BF0410046806F592FBBA684d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: DGC Product: VRAID Revision: 4100 Serial No: APM00164504849 Size: 1758.79GB <1758789107712 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c0t600601603BF0410009746F59CC81A537d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: DGC Product: VRAID Revision: 4100 Serial No: APM00164504849 Size: 1.07GB <1073741824 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t50000397BC8818DAd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: TOSHIBA Product: PX05SVB096Y Revision: AS03 Serial No: 4710A0A9TEZE Size: 960.20GB <960197124096 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t50000397BC8816FEd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: TOSHIBA Product: PX05SVB096Y Revision: AS03 Serial No: 4710A06STEZE Size: 960.20GB <960197124096 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t500003978C88CC5Ed0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: TOSHIBA Product: PX05SVB096Y Revision: AS03 Serial No: 1780A01KTEZE Size: 960.20GB <960197124096 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t500003979C8AC68Ed0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: TOSHIBA Product: PX05SVB096Y Revision: AS03 Serial No: 27W0A0A4TEZE Size: 960.20GB <960197124096 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t50000397BC8815B6d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: TOSHIBA Product: PX05SVB096Y Revision: AS03 Serial No: 4710A04CTEZE Size: 960.20GB <960197124096 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0 c1t500003979C8AC6BEd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: TOSHIBA Product: PX05SVB096Y Revision: AS03 Serial No: 27W0A0AGTEZE Size: 960.20GB <960197124096 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 Non-Aligned Writes: 0
Let's single out their LUNs:
root@dracko-sql01:/# iostat -En|grep c1|tail -6|awk '{print $1}' c1t50000397BC8818DAd0 c1t50000397BC8816FEd0 c1t500003978C88CC5Ed0 c1t500003979C8AC68Ed0 c1t50000397BC8815B6d0 c1t500003979C8AC6BEd0
Now build the RAID:
root@dracko-sql01:/# zpool create -f -m /data3 data3 mirror c1t50000397BC8818DAd0
c1t50000397BC8816FEd0 mirror c1t500003978C88CC5Ed0 c1t500003979C8AC68Ed0 mirror
c1t50000397BC8815B6d0 c1t500003979C8AC6BEd0
Verify!:
root@dracko-sql01:/# zpool status data3 pool: data3 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM data3 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c1t50000397BC8818DAd0 ONLINE 0 0 0 c1t50000397BC8816FEd0 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 c1t500003978C88CC5Ed0 ONLINE 0 0 0 c1t500003979C8AC68Ed0 ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 c1t50000397BC8815B6d0 ONLINE 0 0 0 c1t500003979C8AC6BEd0 ONLINE 0 0 0 errors: No known data errors root@dracko-sql01:/# df -h|grep data3 data3 2.6T 31K 2.6T 1% /data3
SharediggDigg this solutiondel.icio.usPost to del.icio.usSlashdotSlashdot it!email to a friend
PrintPrint This Solution Print
If you thought this solution was helpfull, please login and vote. Not a member? click here


Latest News

Thanks to Dave for hosting this site!

Registered User Area

[login]
[new user]


Paying the Rent



Advanced Search:

Choose body, keywords, title, or all to include in search 
words to include in search 
and(+)

Choose body, keywords, title, or all to include in search 
additional words to include in search 
not(-)

Choose body, keywords, title, or all to exclude in search 
words to exclude from search 


catagory
order by






diggDigg Dracko
del.icio.usPost to del.icio.us
SlashdotSlashdot us!




Don't forget to vote!
Powered by John Core
Bye!

Dracko by John Core

me

View John Core's profile on LinkedIn


Certifications
security logo saber ccsa logo ccna-logo hbss veritas

Technologies
oracle_logo
solaris_logo linux-logo openstack_logo vbox_logo splunk storagetek_logo sun_logo oraclevm_logo brocade_logo bsd_logo

Languages
c-logo bash-logo php-logo

Employers
PlanetPayment Medecision AWi PennStateHershey DISA DLA cim Sun

Consulting
KMBS PNC FBI CCS PTD Sentinel