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!

Replaced HD in Zpool: Lots of disk activity before I issue the replace command

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
slaycock
experienced User
experienced User
Posts: 93
Joined: 24 Jun 2012 17:15
Status: Offline

Replaced HD in Zpool: Lots of disk activity before I issue the replace command

Post by slaycock »

I'm hoping that this is an occasion where zfs is just getting on with the task rather than waiting for me.

The server is running the current release 10 of NAS4Free.

I had a HD fail in a 10 disk zfs2. No worries, its been running since 2011. I removed the drive with a new, unused drive of the same capacity. On restarting the server there is a lot of disk activity which indicates that the new disk is being re-silvered. However the information page doesn't report that re-silvering is ongoing.

Code: Select all

 pool: LazarusPool
 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 canceled on Sat Dec 17 05:39:19 2016
config:

	NAME                     STATE     READ WRITE CKSUM
	LazarusPool              DEGRADED     0     0     0
	  raidz2-0               DEGRADED     0     0     0
	    da5                  ONLINE       0     0     0
	    da7                  ONLINE       0     0     0
	    da0                  ONLINE       0     0     0
	    ada0                 ONLINE       0     0     0
	    da1                  ONLINE       0     0     0
	    5517359698052454137  UNAVAIL      0     0     0  was /dev/da2
	    da2                  ONLINE       0     0     0
	    da3                  ONLINE       0     0     0
	    da4                  ONLINE       0     0     0
	    ada1                 ONLINE       0     0     0

errors: No known data errors
Issuing a zpool status command from the console also does not report any re-silvering activity. I get the same report as above.

I'm hoping that something good is happening. But it does seem strange that there are no reports of what the activity is.

The I/O activity of the array is below.

Code: Select all

                            capacity     operations    bandwidth
pool                     alloc   free   read  write   read  write
-----------------------  -----  -----  -----  -----  -----  -----
LazarusPool              5.12T  3.94T    138      4  13.5M  29.1K
  raidz2                 5.12T  3.94T    138      4  13.5M  29.1K
    da5                      -      -    106      0  1.72M  7.52K
    da7                      -      -    106      1  1.72M  7.47K
    da0                      -      -    106      1  1.72M  7.45K
    ada0                     -      -    109      1  1.73M  7.46K
    da1                      -      -    100      1  1.57M  7.57K
    5517359698052454137      -      -      0      0      0      0
    da2                      -      -     95      1  1.53M  7.70K
    da3                      -      -    106      0  1.72M  7.71K
    da4                      -      -    106      0  1.72M  7.60K
    ada1                     -      -    106      0  1.72M  7.59K
-----------------------  -----  -----  -----  -----  -----  -----
Would anyone else be knowledgeable enough to pint me to where else I might be looking to see what is happening.

User avatar
erico.bettoni
experienced User
experienced User
Posts: 140
Joined: 25 Jun 2012 22:36
Location: São Paulo - Brasil
Status: Offline

Re: Replaced HD in Zpool: Lots of disk activity before I issue the replace command

Post by erico.bettoni »

You have to issue the command. The pool will not auto replace the drive.

zpool replace LazarusPool /dev/da2

slaycock
experienced User
experienced User
Posts: 93
Joined: 24 Jun 2012 17:15
Status: Offline

Re: Replaced HD in Zpool: Lots of disk activity before I issue the replace command

Post by slaycock »

Thanks. But what is causing the disk activity. Its been going several hours now.

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: Replaced HD in Zpool: Lots of disk activity before I issue the replace command

Post by crowi »

First check what processes are running
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

Post Reply

Return to “ZFS (only!)”