Replace a RAID-Z disk using Web Interface?

Status
Not open for further replies.
Joined
Sep 5, 2011
Messages
75
I had seen that. Is wiping the same as formatting the HD?

OK I've just tried it and I get this message - Error: Failed to wipe ada1p1: dd: /dev/ada1p1: Operation not supported
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
What is the output of:
gpart list ada1 (make sure include the entire output)
swapinfo
 
Joined
Sep 5, 2011
Messages
75
Hold on! I tried wiping the disk again but this time instead of a quick wipe I selected with random characters and, it worked. Afterwards when I tried to Replace I got the message - Disk replacement has been initiated. The process is still underway but I'll report back whether it's been successful or not. I'm keeping my fingers crossed. :)
 
Joined
Sep 5, 2011
Messages
75
Here is the info you asked for. -

[root@freenas ~]# gpart list ada1
Geom name: ada1
Providers:
1. Name: ada1p1
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
Consumers:
1. Name: ada1
Mediasize: 2000398934016 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e2

[root@freenas ~]# c



[root@freenas ~]# swapinfo
Device 512-blocks Used Avail Capacity
/dev/#C:0:0x98 4194304 0 4194304 0%
[root@freenas ~]# c
 
Joined
Sep 5, 2011
Messages
75
Trying the Replace button now gives me this error -

Error: Disk replacement failed: "invalid vdev specification, use '-f' to override the following errors:, /dev/gptid/e9586510-8d0f-11e3-ac97-e4115bb18342 is part of active pool 'onestickshd', "
 
Joined
Sep 5, 2011
Messages
75
I've just updated to 9.2.1 RELEASE and I am now getting this message so, I'm keeping my fingers crossed that it will be OK now. I'll report back either way.
WARNING: The volume onestickshd (ZFS) status is ONLINE: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state.Wait for the resilver to complete.
 
Joined
Sep 5, 2011
Messages
75
OK, I give up. It seems that nothing is going to fix this problem so I've decided to wipe everything and restore it from the backup. One question before I start though. Will doing this sort out the SECTOR SIZE issue that's showing up with 9.2.1?
 
Status
Not open for further replies.
Top