Hi all,
Quick question on my ZFS setup.
I have the following set up:
As you can see I have a drive that is starting to give errors. I believe it has not fully failed however it is starting to cause issues on the array and accessing the share.
I would like to replace the drive that is starting to go faulty. I have labelled all of my drives so I am not seeing the /dev/XXX name. 8 of the dives are connected to my SAS card, and the failed drive is on the SAS card.
So a few questions.
Here is an output from the command: glabel list
I am writing here as this is my first time that I have had a failed drive and would really like some reassurance from you guys that I have the process down pat before I replace the disk.
If there is anything else you may need to help out or I can provide then let me know.
Thank you.
Quick question on my ZFS setup.
I have the following set up:
Code:
[root@server-01 /home/churchi]# zpool status
pool: storage1
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://www.sun.com/msg/ZFS-8000-9P
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
storage1 ONLINE 0 0 0
raidz2 ONLINE 0 0 0
label/disk01 ONLINE 0 0 0
label/disk02 ONLINE 103 1 0
label/disk03 ONLINE 0 0 0
label/disk04 ONLINE 0 0 0
label/disk05 ONLINE 0 0 0
label/disk06 ONLINE 0 0 0
label/disk07 ONLINE 0 0 0
label/disk08 ONLINE 0 0 0
label/disk09 ONLINE 0 0 0
label/disk10 ONLINE 0 0 0
errors: No known data errors
[root@server-01 /home/churchi]#
As you can see I have a drive that is starting to give errors. I believe it has not fully failed however it is starting to cause issues on the array and accessing the share.
I would like to replace the drive that is starting to go faulty. I have labelled all of my drives so I am not seeing the /dev/XXX name. 8 of the dives are connected to my SAS card, and the failed drive is on the SAS card.
So a few questions.
- Do I need to replace this drive right away?
- All the current drives are 1.5TB in capacity and the new drive I have is a 2Tb. Will this cause any issues if I replace the failed drive with this one?
- Is this the correct way to replace my failed drive:
- zpool offline storage1 label/disk02
- shutdown and replace drive
- zpool replace storage1 label/disk02
- Will this allow me to maintain the current label or will I have to recreate the new label when the new disk is inserted?
- Is there anything else I am missing or this will the above do the job for me?
Here is an output from the command: glabel list
Code:
[root@server-01 /home/churchi]# glabel list
Geom name: da1
Providers:
1. Name: label/disk02
Mediasize: 1500301909504 (1.4T)
Sectorsize: 512
Mode: r1w1e1
secoffset: 0
offset: 0
seclength: 2930277167
length: 1500301909504
index: 0
Consumers:
1. Name: da1
Mediasize: 1500301910016 (1.4T)
Sectorsize: 512
Mode: r1w1e2
I am writing here as this is my first time that I have had a failed drive and would really like some reassurance from you guys that I have the process down pat before I replace the disk.
If there is anything else you may need to help out or I can provide then let me know.
Thank you.