Hi,
Today I noticed that one of the disks in a server is broken. The server itself has a very basic setup: i7, 2 drives, clean FreeBSD 10.1 install. The bsdinstall(8) has created the zfs mirror drive and installed the system on it. Now I've seen in the logs that one of the drives has gone south and needs to be replaced. During my time with FreeBSD I had to repair some failed RaidZ pools but never a broken mirror containing the system. So what really puzzles me that it only shows one drive, no alias for the broken one. Here is the output of
The pool shows only the running drive ata0 but no hint for the missing ata1. Here is the output of
Yes, I know you shouldn't mix different drives but making things even more complicated the server is hosted at a remote location...
So how can I fix the pool?
Best regards,
Mike
Today I noticed that one of the disks in a server is broken. The server itself has a very basic setup: i7, 2 drives, clean FreeBSD 10.1 install. The bsdinstall(8) has created the zfs mirror drive and installed the system on it. Now I've seen in the logs that one of the drives has gone south and needs to be replaced. During my time with FreeBSD I had to repair some failed RaidZ pools but never a broken mirror containing the system. So what really puzzles me that it only shows one drive, no alias for the broken one. Here is the output of
zpool status
:
Code:
pool: systemPool
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://illumos.org/msg/ZFS-8000-9P
scan: resilvered 704M in 0h0m with 0 errors on Mon Aug 3 20:27:25 2015
config:
NAME STATE READ WRITE CKSUM
systemPool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gpt/zfs0 ONLINE 0 0 0
diskid/DISK-Z1F0SEY6p3 ONLINE 0 0 7
errors: No known data errors
camcontrol devlist
:
Code:
<WDC WD3000FYYZ-01UL1B2 01.01K03> at scbus0 target 0 lun 0 (ada0,pass0)
<ST3000DM001-1CH166 CC43> at scbus1 target 0 lun 0 (ada1,pass1)
<AHCI SGPIO Enclosure 1.00 0001> at scbus2 target 0 lun 0 (ses0,pass2)
Yes, I know you shouldn't mix different drives but making things even more complicated the server is hosted at a remote location...
So how can I fix the pool?
Best regards,
Mike