Martin Maisey
Dabbler
- Joined
- May 22, 2017
- Messages
- 34
Hi,
I'm running a home NAS on an an HP Microserver Gen8. The main pool is formed from 4xWD RED 2TB drives as a stripe of two mirrored vdevs in the drive bays, with the fifth internal SATA port occupied with a Crucial SSD drive for ZIL. The sole PCIe slot is occupied with an HyperX Predator 240GB Gen2 PCIe x4 SSD for L2ARC. 'zpool status' output below. Boot is from an externally attached USB3 SSD.
Everything's currently healthy. However, the pool is getting a little short on space, so I've ordered 2xWD RED 8TB drives with the aim of expanding one of the mirrored vdevs to a mirror of the 8TB drives to give 10TB usable.
I've obviously read https://doc.freenas.org/9.3/freenas_storage.html#replacing-drives-to-grow-a-zfs-pool which describes two ways of doing this. The safest way is obviously to do the replacement with the original 2TB drives online, in order to prevent the array going into a degraded state during the resilver. However, I haven't got any SATA drive bays to do this with.
I do have an external USB3 SATA drive dock, and was wondering whether it would be sensible to put each new 8TB drive into this and do the resilver that way, then swap the drive into the internal bay when complete? This raises two questions:
1/ The documentation page above says to use 'an eSATA port and a hard drive dock'. It doesn't mention USB anywhere, and Googling turns up lots of people saying USB with ZFS on FreeNAS is scary. Unfortunately, the Gen8 doesn't have an eSATA port. Is using USB acceptable for this type of short term operation where I have two good disks on internal SATA ports in the mirrored vdev to fall back to if something goes wrong? Are there risks from doing it this way and if so what are they?
2/ When the resilver operation is complete, the replaced 2TB drive should be offlined automatically, as I understand. If I then power down, swap the newly resilvered disk into the internal bay, and power up, will FreeNAS pick up and start using the new 8TB drive without any problems, despite the fact I've moved it between controllers? Googling, I *think* the answer is yes, but wanted to be sure.
I guess an alternative approach would be to remove the L2ARC from the pool, swap in an eSATA PCIe card and do the resilvering from that, then reverse the process. But that's a lot of mucking around and opening the case that I'd rather not do if I don't have to.
Cheers,
Martin
---
I'm running a home NAS on an an HP Microserver Gen8. The main pool is formed from 4xWD RED 2TB drives as a stripe of two mirrored vdevs in the drive bays, with the fifth internal SATA port occupied with a Crucial SSD drive for ZIL. The sole PCIe slot is occupied with an HyperX Predator 240GB Gen2 PCIe x4 SSD for L2ARC. 'zpool status' output below. Boot is from an externally attached USB3 SSD.
Everything's currently healthy. However, the pool is getting a little short on space, so I've ordered 2xWD RED 8TB drives with the aim of expanding one of the mirrored vdevs to a mirror of the 8TB drives to give 10TB usable.
I've obviously read https://doc.freenas.org/9.3/freenas_storage.html#replacing-drives-to-grow-a-zfs-pool which describes two ways of doing this. The safest way is obviously to do the replacement with the original 2TB drives online, in order to prevent the array going into a degraded state during the resilver. However, I haven't got any SATA drive bays to do this with.
I do have an external USB3 SATA drive dock, and was wondering whether it would be sensible to put each new 8TB drive into this and do the resilver that way, then swap the drive into the internal bay when complete? This raises two questions:
1/ The documentation page above says to use 'an eSATA port and a hard drive dock'. It doesn't mention USB anywhere, and Googling turns up lots of people saying USB with ZFS on FreeNAS is scary. Unfortunately, the Gen8 doesn't have an eSATA port. Is using USB acceptable for this type of short term operation where I have two good disks on internal SATA ports in the mirrored vdev to fall back to if something goes wrong? Are there risks from doing it this way and if so what are they?
2/ When the resilver operation is complete, the replaced 2TB drive should be offlined automatically, as I understand. If I then power down, swap the newly resilvered disk into the internal bay, and power up, will FreeNAS pick up and start using the new 8TB drive without any problems, despite the fact I've moved it between controllers? Googling, I *think* the answer is yes, but wanted to be sure.
I guess an alternative approach would be to remove the L2ARC from the pool, swap in an eSATA PCIe card and do the resilvering from that, then reverse the process. But that's a lot of mucking around and opening the case that I'd rather not do if I don't have to.
Cheers,
Martin
---
Code:
[root@fileserver] ~# zpool status pool: Pool1 state: ONLINE scan: scrub repaired 0 in 6h4m with 0 errors on Sun May 7 06:04:47 2017 config: NAME STATE READ WRITE CKSUM Pool1 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/910019e1-9859-11e2-9858-a0b3cce00e31 ONLINE 0 0 0 gptid/916edfff-9859-11e2-9858-a0b3cce00e31 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 gptid/e4c86e4a-9abf-11e2-984b-a0b3cce00e31 ONLINE 0 0 0 gptid/e5384f3a-9abf-11e2-984b-a0b3cce00e31 ONLINE 0 0 0 logs gptid/f57beb86-2994-11e5-8a07-d0bf9c460284 ONLINE 0 0 0 cache gptid/aa1c5dd7-2994-11e5-8a07-d0bf9c460284 ONLINE 0 0 0 errors: No known data errors pool: freenas-boot state: ONLINE scan: scrub repaired 0 in 0h0m with 0 errors on Tue May 9 03:45:33 2017 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 da0p2 ONLINE 0 0 0 errors: No known data errors
Last edited by a moderator: