Greetings All,
I need some help on a Proxmox VE 5.4 system.
The system has 4 x 2Tb SATA hard drives. These have been configured into 2 mirrored pools.
In the boot pool one of the disks failed. This was replaced and resilvered successfully using “/dev/sda”.
Research on this subject revealed that the pool should be created using “by-id” as this is more reliable.
Found an article https://forum.proxmox.com/threads/how-to-import-zfs-root-pool-by-id.24295/ in which @jim.bond.9862 commented about changing the “dev/sdx” mounting to the more reliable “by-id” method.
After doing the “zpool detach rpool sda2” step, I tried to reattach the disk using:
“zpool attach -f rpool ata-ST2000NM001A-2J2101_WS10XE8A-part2” which fails with error
“missing <new_device> specification usage: attach [-f] [-o property=value] <pool> <device> <new-device>” tried with and without the “-f” switch.
AND
“zpool attach rpool sda2 ata-ST2000NM001A-2J2101_WS10XE8A-part2” which fails with error message
“cannot open 'ata-ST2000NM001A-2J2101_WS10XE8A-part2': no such device in /dev must be a full path or shorthand device name”.
Below is some information about the system from “ls -la /dev/disk/by-id: and “zpool status -v”
ls -la /dev/disk/by-id
AND
“zpool status -v
Some direction on this matter will be greatly appreciated.
I need some help on a Proxmox VE 5.4 system.
The system has 4 x 2Tb SATA hard drives. These have been configured into 2 mirrored pools.
In the boot pool one of the disks failed. This was replaced and resilvered successfully using “/dev/sda”.
Research on this subject revealed that the pool should be created using “by-id” as this is more reliable.
Found an article https://forum.proxmox.com/threads/how-to-import-zfs-root-pool-by-id.24295/ in which @jim.bond.9862 commented about changing the “dev/sdx” mounting to the more reliable “by-id” method.
After doing the “zpool detach rpool sda2” step, I tried to reattach the disk using:
“zpool attach -f rpool ata-ST2000NM001A-2J2101_WS10XE8A-part2” which fails with error
“missing <new_device> specification usage: attach [-f] [-o property=value] <pool> <device> <new-device>” tried with and without the “-f” switch.
AND
“zpool attach rpool sda2 ata-ST2000NM001A-2J2101_WS10XE8A-part2” which fails with error message
“cannot open 'ata-ST2000NM001A-2J2101_WS10XE8A-part2': no such device in /dev must be a full path or shorthand device name”.
Below is some information about the system from “ls -la /dev/disk/by-id: and “zpool status -v”
ls -la /dev/disk/by-id
AND
“zpool status -v
Some direction on this matter will be greatly appreciated.