Device cannot be removed after disk swap

Status
Not open for further replies.

arnold

Cadet
Joined
Feb 5, 2014
Messages
1
Hi

I swapped our ZIL device with a faster SSD and now i cannot remove the old device. No errors occur, nor anything else. I have tried the GUI, which responds with a friendly "device is removed". On the terminal I have tried the following:

zpool remove storage 2019415436586652525
zpool remove storage /dev/gptid/a5e7d84c-fdb3-11e2-861d-001517e91e14
zpool remove storage gptid/a5e7d84c-fdb3-11e2-861d-001517e91e14

no error messages, and the device is still there.

Suggestions from the community are most welcome.

Everything is still running smoothly.

I detached the device before replacing it, however I could not replace it in the GUI, because the new SSD had a different sector size. Now I'm stuck here.

Freenas version is 9.1.1

Arnold

Code:
zpool status storage
 
  pool: storage
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
    Sufficient replicas exist for the pool to continue functioning in a
    degraded state.
action: Online the device using 'zpool online' or replace the device with
    'zpool replace'.
  scan: scrub repaired 0 in 57h43m with 0 errors on Mon Feb  3 09:44:00 2014
config:
 
    NAME                                            STATE    READ WRITE CKSUM
    storage                                        DEGRADED    0    0    0
      raidz2-0                                      ONLINE      0    0    0
        gptid/8bd9029a-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/8db796b2-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/90769b45-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/932c6fa4-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/96279206-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/990e54db-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/9bf6f2b5-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/9edb21a8-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/a1920bac-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/a448b287-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
      raidz2-2                                      ONLINE      0    0    0
        gptid/ec0e0d3f-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/eeb0be62-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/f1497d35-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/f4126cc5-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/f6cd54de-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/f9670898-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/fc068625-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/fecbb639-fdb3-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/01c644f4-fdb4-11e2-861d-001517e91e14  ONLINE      0    0    0
        gptid/0481869a-fdb4-11e2-861d-001517e91e14  ONLINE      0    0    0
    logs
      2019415436586652525                          OFFLINE      0    0    0  was /dev/gptid/a5e7d84c-fdb3-11e2-861d-001517e91e14
      gptid/7dd3977e-8437-11e3-968e-001517e91e14    ONLINE      0    0    0
    cache
      gptid/a5b66c84-fdb3-11e2-861d-001517e91e14    ONLINE      0    0    0
 
errors: No known data errors
 

tehbrd

Cadet
Joined
Apr 24, 2012
Messages
6
I've encountered the same issue whilst trying to do the same on 9.2.1 there are no errors from the cli when you remove, and from the gui it also reports device removed but in the log I see;

gpart: Device busy
gpart: geom 'ada0': File exists
gpart: Device busy
And the pool is degraded if you offline the device instead...
 

szurke

Cadet
Joined
May 24, 2013
Messages
3
I have the absolutely same problem. Why not to remove zil drive after 9.x.x releases?
 
Status
Not open for further replies.
Top