Hi,
I have a 6 disks RAIDZ2 pool, all 6 disks are currently on internal SATA.
To workaround an issue on two of the SATA ports (1) I'd like to move (until a receive a new SATA PCIe controler card) two disks to an external USB3 enclosure.
ZFS when on SATA has "ata-xxx-serialnumber" in front on each disk when doing zpool status which correspond to /dev/disk/by-id/ entry.
When moved on USB the disks become /dev/disk/by-id/usb-xxx-usbportnumber.
I can't find a sequence of ZFS command to have all 6 disks back online in the raidz2 when I move two of the disks to the external enclosure, I'm confused by the various ZFS concepts offline/online/replace/export/import and in what order these should be done.
How should I proceed ?
Notes:
- this is not a root array so I can afford to offline everything in this pool, may be zpool export mypool then zpool import mypool?
- because of (1) the array on SATA is resilvering but the asmedia issue up to now happens before the end of resilver and disks go to fault state, so the pool is in resilvering state.
(1) https://forum.proxmox.com/threads/a...-6-4-and-not-on-5-11-22-pve-7-0-branch.97743/
I have a 6 disks RAIDZ2 pool, all 6 disks are currently on internal SATA.
To workaround an issue on two of the SATA ports (1) I'd like to move (until a receive a new SATA PCIe controler card) two disks to an external USB3 enclosure.
ZFS when on SATA has "ata-xxx-serialnumber" in front on each disk when doing zpool status which correspond to /dev/disk/by-id/ entry.
When moved on USB the disks become /dev/disk/by-id/usb-xxx-usbportnumber.
I can't find a sequence of ZFS command to have all 6 disks back online in the raidz2 when I move two of the disks to the external enclosure, I'm confused by the various ZFS concepts offline/online/replace/export/import and in what order these should be done.
How should I proceed ?
Notes:
- this is not a root array so I can afford to offline everything in this pool, may be zpool export mypool then zpool import mypool?
- because of (1) the array on SATA is resilvering but the asmedia issue up to now happens before the end of resilver and disks go to fault state, so the pool is in resilvering state.
(1) https://forum.proxmox.com/threads/a...-6-4-and-not-on-5-11-22-pve-7-0-branch.97743/