I had a bad disk in my rpool. I replaced the disk but the new disk turned out to be really slow. I decided to remove it with zpool detatch . I am trying to attach a new drive to the rpool but I get an error. See below
Code:
root@pveprod:~# zpool status rpool
pool: rpool
state: ONLINE
scan: resilvered 7.34G in 00:33:49 with 0 errors on Wed Nov 1 14:55:29 2023
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
sdm3 ONLINE 0 0 0
errors: No known data errors
root@pveprod:~#
root@pveprod:~# lsblk |grep sdp
sdp 8:240 1 59.8G 0 disk
root@pveprod:~# lsblk |grep sdm
sdm 8:192 1 59.8G 0 disk
├─sdm1 8:193 1 1007K 0 part
├─sdm2 8:194 1 512M 0 part
└─sdm3 8:195 1 59.3G 0 part
root@pveprod:~#
root@pveprod:~# zpool attach -f rpool sdm sdp
cannot label 'sdp': failed to detect device partitions on '/dev/sdp1': 19
root@pveprod:~#