Hi,
I have to maintain a backup server using FreeBSD 11.1.
I don't have all the informations because the guy who installed the server
has left for two month and won't be there before next year.
The problem : the server is connected to a DELL MD disk array of 60 disks.
The zpool
3 disks show errors : da35, da52 and da58.
da35 and da58 were removed by the system. da52 is still alive but with lots of errors.
I contacted support and they sent 3 disks.
Is it safe to replace the disks without stopping the server ?
I usually do it but on hardware RAID not software.
So I replaced the two failed disks, thinking I just had to do a zpool replace.
But it doesn't work.
I have read a lot of docs and everywhere I saw command like this
Here is the answer :
I really don't understand the error message.
What would be a normal procedure for replacing disks ?
Did I have to shutdown the server ?
Where is/are the mistake(s) ?
Please help.
I have to maintain a backup server using FreeBSD 11.1.
I don't have all the informations because the guy who installed the server
has left for two month and won't be there before next year.
The problem : the server is connected to a DELL MD disk array of 60 disks.
The zpool
Code:
pool: md04-tank
state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
repaired.
scan: scrub repaired 96K in 158h2m with 0 errors on Mon Jul 8 06:48:04 2019
config:
NAME STATE READ WRITE CKSUM
md04-tank DEGRADED 0 0 0
raidz2-0 ONLINE 0 0 0
da8 ONLINE 0 0 0
da0 ONLINE 0 0 0
da5 ONLINE 0 0 0
da1 ONLINE 0 0 0
da9 ONLINE 0 0 0
da10 ONLINE 0 0 0
da2 ONLINE 0 0 0
da3 ONLINE 0 0 0
da11 ONLINE 0 0 0
da4 ONLINE 0 0 0
raidz2-1 ONLINE 0 0 0
da7 ONLINE 0 0 0
da6 ONLINE 0 0 0
da12 ONLINE 0 0 0
da15 ONLINE 0 0 0
da13 ONLINE 0 0 0
da14 ONLINE 0 0 0
da23 ONLINE 0 0 0
da19 ONLINE 0 0 0
da22 ONLINE 0 0 0
da17 ONLINE 0 0 0
raidz2-2 DEGRADED 0 0 0
da18 ONLINE 0 0 0
da20 ONLINE 0 0 0
da21 ONLINE 0 0 0
da16 ONLINE 0 0 0
da25 ONLINE 0 0 0
da34 ONLINE 0 0 0
da32 ONLINE 0 0 0
da27 ONLINE 0 0 0
da24 ONLINE 0 0 0
9189834293223397025 OFFLINE 0 26 1 was /dev/da35
raidz2-3 ONLINE 0 0 0
da28 ONLINE 0 0 0
da26 ONLINE 0 0 0
da29 ONLINE 0 0 0
da30 ONLINE 0 0 0
da31 ONLINE 0 0 0
da33 ONLINE 0 0 0
da36 ONLINE 0 0 0
da45 ONLINE 0 0 0
da46 ONLINE 0 0 0
da44 ONLINE 0 0 0
raidz2-4 ONLINE 0 0 0
da38 ONLINE 0 0 0
da37 ONLINE 0 0 0
da40 ONLINE 0 0 0
da43 ONLINE 0 0 0
da39 ONLINE 0 0 0
da47 ONLINE 0 0 0
da42 ONLINE 0 0 0
da41 ONLINE 0 0 0
da51 ONLINE 0 0 0
da48 ONLINE 0 0 0
raidz2-5 DEGRADED 0 0 0
da49 ONLINE 0 0 0
da50 ONLINE 0 0 0
da59 ONLINE 0 0 0
da52 FAULTED 0 180 0 too many errors
da55 ONLINE 0 0 0
da53 ONLINE 0 0 0
6680052414426837873 OFFLINE 1 1 0 was /dev/da58
da56 ONLINE 0 0 0
da54 ONLINE 0 0 0
da57 ONLINE 0 0 0
errors: No known data errors
3 disks show errors : da35, da52 and da58.
da35 and da58 were removed by the system. da52 is still alive but with lots of errors.
I contacted support and they sent 3 disks.
Is it safe to replace the disks without stopping the server ?
I usually do it but on hardware RAID not software.
So I replaced the two failed disks, thinking I just had to do a zpool replace.
But it doesn't work.
I have read a lot of docs and everywhere I saw command like this
zpool replace tank old-disk new-disk
Here is the answer :
Code:
zpool replace md04-tank 9189834293223397025 da35
cannot replace 9189834293223397025 with da35: new device must be a single disk
I really don't understand the error message.
What would be a normal procedure for replacing disks ?
Did I have to shutdown the server ?
Where is/are the mistake(s) ?
Please help.