Cannot offline device: no such device in pool

Status
Not open for further replies.

saurav

Contributor
Joined
Jul 29, 2012
Messages
139
This is the part II of my ongoing issues with one of the WD REDs in FreeNAS mini. The first part is here.

When I try to offline the problem disk giving me SMART errors, I get this error:
Code:
Jan 12 20:07:49 freenas-primary kernel: GEOM_ELI: Device ada3p1.eli destroyed.
Jan 12 20:07:49 freenas-primary kernel: GEOM_ELI: Detached ada3p1.eli on last close.
Jan 12 20:07:49 freenas-primary notifier: geli: No such device: /dev/ada3p1.
Jan 12 20:07:49 freenas-primary manage.py: [middleware.exceptions:38] [MiddlewareError: Disk offline failed: "cannot offline gptid/c6e200a8-3abf-11e4-bf2e-d05099265082: no such device in pool, "]


Isn't "geli == encrypted pool"? Why is it involved here? My pool is not encrypted.

Google searches turn up some references that say this is an old issue in many versions/platforms that has never actually been fixed, but been resolved in different ways. For example, this one:
https://bugs.freenas.org/issues/5035

It was resolved as a "User Configuration Issue" after the user was able to offline his disk in the shell. And this guy had an encrypted pool and many other HD errors. Mine is not encrypted, and so far the pool status and other disks are fine. The only other forum reference on this topic is this thread, but he was having some other issues with his (different) hardware:
https://forums.freenas.org/index.php?threads/drive-will-not-go-offline-to-replace.17508/

So I guess what I'm asking is, what should I try? Reboot? Scrub? Or the commands mentioned in that bug?

Pool Status:
Code:
  pool: tank
state: ONLINE
  scan: scrub repaired 0 in 4h20m with 0 errors on Mon Jan  5 06:20:14 2015
config:

    NAME                                            STATE     READ WRITE CKSUM
    tank                                            ONLINE       0     0     0
      raidz2-0                                      ONLINE       0     0     0
        gptid/c6140475-3abf-11e4-bf2e-d05099265082  ONLINE       0     0     0
        gptid/c67a8825-3abf-11e4-bf2e-d05099265082  ONLINE       0     0     0
        gptid/c6e200a8-3abf-11e4-bf2e-d05099265082  ONLINE       0     0     0
        gptid/c749abb4-3abf-11e4-bf2e-d05099265082  ONLINE       0     0     0

errors: No known data errors


glabel status. Why does this show only the swap partition on the problem disk and not on the others?
Code:
                                      Name  Status  Components
gptid/c6140475-3abf-11e4-bf2e-d05099265082     N/A  ada0p2
gptid/c67a8825-3abf-11e4-bf2e-d05099265082     N/A  ada1p2
                             ufs/FreeNASs3     N/A  ada2s3
                             ufs/FreeNASs4     N/A  ada2s4
gptid/c6e200a8-3abf-11e4-bf2e-d05099265082     N/A  ada3p2
gptid/c749abb4-3abf-11e4-bf2e-d05099265082     N/A  ada4p2
                    ufsid/53e2e057a7d7f957     N/A  ada2s1a
                            ufs/FreeNASs1a     N/A  ada2s1a
                            ufs/FreeNASs2a     N/A  ada2s2a
gptid/c6ce0117-3abf-11e4-bf2e-d05099265082     N/A  ada3p1


gpart show: http://pastebin.com/qKDnt3M2
zdb -l /dev/gptid/c6e200a8-3abf-11e4-bf2e-d05099265082 tank: http://pastebin.com/akcbH37P
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
geli is an encryption service. Those messages are for partition one on the disk, which is swap space. You want the swap encrypted because it may contain sensitive data like passwords, etc.

This seems to be a recurring problem (and I did note this in the bug ticket).

As for replacing the disk, you'll probably have to do it per GUID.
 

saurav

Contributor
Joined
Jul 29, 2012
Messages
139
Just had a TeamViewer session with an iXsystems staff, who did the the replacement in a shell with the GUID. The new disk is resilvering. So no burn-in done. I guess I'll just do whatever non-destructive burn-in is possible after the pool status is normal.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Just had a TeamViewer session with an iXsystems staff, who did the the replacement in a shell with the GUID. The new disk is resilvering. So no burn-in done. I guess I'll just do whatever non-destructive burn-in is possible after the pool status is normal.

You did.. it was me. :)
 

saurav

Contributor
Joined
Jul 29, 2012
Messages
139
Really? Well, thanks again!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You are welcome. Glad to be of service. :)
 
Status
Not open for further replies.
Top