This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

trouble replacing Disk RaidZ2

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

trouble replacing Disk RaidZ2

Post by rwps »

I have a non-hotswap HP n36L running Nas4free 9.1.0.1 - Sandstorm (revision 636).
One of the 4 x 2tb disks starting showing errors, so I'm trying to replace it with a new 3tb disk.
However I can't find the right command to get the disk online & resilvering.

I'm entering commands in the gui at ADVANCED/COMMAND, then executing from there.

Disks|ZFS|Pools|Information is currently showing:

Code: Select all

  pool: ourdata
 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: http://illumos.org/msg/ZFS-8000-2Q
  scan: scrub repaired 0 in 11h33m with 0 errors on Sat May 17 12:28:35 2014
config:

	NAME                      STATE     READ WRITE CKSUM
	ourdata                   DEGRADED     0     0     0
	  raidz2-0                DEGRADED     0     0     0
	    ada0p2                ONLINE       0     0     0
	    ada1p2                ONLINE       0     0     0
	    ada2p2                ONLINE       0     0     0
	    10974645521217784628  UNAVAIL      0     0     0  was /dev/ada3p2

errors: No known data errors
I have tried many commands, but none are doing anything:
zpool replace ourdata ada3p2 ada3p2
zpool replace ourdata ada3p2
zpool replace ourdata 10974645521217784628 /dev/ada3p2
zpool replace ourdata /dev/ada3p2/ dev/ada3p2
zpool replace ourdata 10974645521217784628
zpool replace ourdata 10974645521217784628 ada3p2
zpool replace ourdata ada3p2 10974645521217784628

I did a scrub and then tried again, no luck
I onlined the disk, and tried again, no luck.

Any thoughts on what I should be doing?
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: trouble replacing Disk RaidZ2

Post by b0ssman »

well if its a new 3tb drive there is no ada3p2.

why did you use partitions in the first place?

the command would be
zpool replace ourdata 10974645521217784628 ada3
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: trouble replacing Disk RaidZ2

Post by rwps »

Thanks!! resilvering now.

Not sure why I have partitions....
Is it something I should address?
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: trouble replacing Disk RaidZ2

Post by b0ssman »

its just one more thing that can fail.

but its not necessary to change it.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
rwps
Starter
Starter
Posts: 30
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: trouble replacing Disk RaidZ2

Post by rwps »

OK, will take note to ensure I don't replicate it in future.
Many thanks
Version: 12.1.0.4 - Ingva (revision 7683), Platform: x64-Embedded on Xeon E3-1265L V2, System: HP ProLiant MicroServer Gen8, Ram: 8gb ECC,
Pool 1: 2x 12tb, mirror . Pool 2: 1x4tb 1x3tb, one stripe as a backup by Rsync of Pool 1
Donate to XigmaNAS :) I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

Post Reply

Return to “ZFS (only!)”