I have a failed drive in my freebsd NAS. Long story short, this one drive was dropped on the floor. The system does not boot with the drive present. I got another drive and put it in place of the failed drive. This is what zpool status shows.
What commands do I need to issue to get freebsd to use the new drive, which is present as ada3? I understand that freebsd will resilver the new drive.
I'm afraid of making some mistake and wiping out my data. The new drive is not even partitioned:
I'm not sure if the replacement process take care of that.
What commands do I need to issue to get freebsd to use the new drive, which is present as ada3? I understand that freebsd will resilver the new drive.
I'm afraid of making some mistake and wiping out my data. The new drive is not even partitioned:
Code:
# gpart show ada3
gpart: No such geom: ada3.
I'm not sure if the replacement process take care of that.
Code:
# zpool status
pool: zroot
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: [URL]https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-2Q[/URL]
scan: resilvered 1.56M in 00:00:01 with 0 errors on Sat Oct 14 12:37:20 2023
config:
NAME STATE READ WRITE CKSUM
zroot DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
ada2p3 ONLINE 0 0 0
ada3p3 UNAVAIL 0 0 0 cannot open
errors: No known data errors