Hello,
I'm trying to replace a failing disk on FreeBSD 13.2-STABLE with zpool mirror. Here is what I have before connecting a new hard drive:
Once I connect the new hard drive, it is the new drive which becomes /dev/ada0 and I get this error:
I tried
I also tried
but got the same error again.
How do I go about replacing the failing drive? Is it documented in the handbook?
I'm trying to replace a failing disk on FreeBSD 13.2-STABLE with zpool mirror. Here is what I have before connecting a new hard drive:
Code:
# gpart show
=> 40 3907029088 ada0 GPT (1.8T)
40 532480 1 efi (260M)
532520 1024 2 freebsd-boot (512K)
533544 984 - free - (492K)
534528 134217728 3 freebsd-swap (64G)
134752256 3772276736 4 freebsd-zfs (1.8T)
3907028992 136 - free - (68K)
=> 40 3907029088 ada1 GPT (1.8T)
40 532480 1 efi (260M)
532520 1024 2 freebsd-boot (512K)
533544 984 - free - (492K)
534528 134217728 3 freebsd-swap (64G)
134752256 3772276736 4 freebsd-zfs (1.8T)
3907028992 136 - free - (68K)
Code:
Mounting local file systems: mount_msdosfs: /dev/ada0p1: Invalid argument
gpart backup
and gpart restore
, which worked in previous versions of FreeBSD, but not this time.I also tried
Code:
dd if=/dev/ada1p1 of=/dev/ada0p1 bs=4M
How do I go about replacing the failing drive? Is it documented in the handbook?