ZFS mix SSD and HDD in pool during migration?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

legen

Active Member
Mar 6, 2013
213
39
28
Sweden
We use two Kingston SSDNow 60GB SSDs for our rpool in Omnios.

Recently we have had two unexpected reboots of the machine. When it comes back online one of the two kingston drives shows up as,
Code:
pool: rpool
state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://illumos.org/msg/ZFS-8000-2Q
  scan: resilvered 13.5M in 0h0m with 0 errors on Sun Feb  8 12:07:38 2015
config: 
NAME STATE READ WRITE CKSUM
rpool DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
c4t50026B7242084744d0s0 ONLINE 0 0 0
c4t50026B724208470Dd0s0 UNAVAIL 0 0 0 cannot open
The first time we simply re-inserted the broken SSD drive and it directly came online again and resilvered without any problems. Three days later the exact same thing happened (no smart errors, disk says its 100% healthy).

We no longer trust these kingston drives and would like to replace them with regular 2.5'' SAS HDDs. My plan here is to first replace the broken drive with a new 300GB SAS HDD. Then change the working SSD to another 300GB SAS HDD.

Would there be any issues in running the rpool on one SSD and one HDD to transition the rpool from SSD -> SAS HDD?

Thanks :)
 

nle

Member
Oct 24, 2012
204
11
18
I don't know, but I don't see any big risk if you tried. If it works, it works – and if it don't you can just put an SSD back.
 
  • Like
Reactions: Patriot

Patriot

Moderator
Apr 18, 2011
1,451
792
113
I don't know, but I don't see any big risk if you tried. If it works, it works – and if it don't you can just put an SSD back.
2nded... If it fails while rebuilding ... you still have the ssd to shove back in there... and try with the other drive.
You can use smartctl and serial numbers to make sure you start with the bad drive.
 

legen

Active Member
Mar 6, 2013
213
39
28
Sweden
Thanks for the reply. The new disk has not yet arrived but i will report back when i have tested it:)

To localize the disk in the SAN we use sas2ircu,
Code:
./sas2ircu LIST
./sas2ircu 0 DISPLAY
./sas2ircu 0 LOCATE 1:6 ON
./sas2ircu 0 LOCATE 1:6 OFF