ZIL added as stripe

Status
Not open for further replies.

spikk

Cadet
Joined
Mar 3, 2012
Messages
6
Hi,

I tried to add a Intel 313 ssd as a ZIL but there seems to be some kind of bug in the web gui so it extended the volume as a stripe instead.

Is it possible to delete this stripe?
Also, what command should I write, is zpool add log <disk_id> correct?

EDIT: this seems a bug in 9.1.0, and what I have found is that it is impossible to delete the stripe. Bad luck for me as I know have a 20 TB pool with a single point of failure :(
What is my best options, could I make this stripe into a mirror?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You should make the stripe into a mirror.. ASAP. As you've figured out, that's the only way to restore some kind of redundancy now.
 

spikk

Cadet
Joined
Mar 3, 2012
Messages
6
Is that possible via the GUI or could you tell me how to do it via ssh (my trust to the GUI is gone now...)
Thanks!
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
EDIT: this seems a bug in 9.1.0, and what I have found is that it is impossible to delete the stripe. Bad luck for me as I know have a 20 TB pool with a single point of failure :(
To be clear, this is a stripe vdev and not a log vdev that is a single disk stripe? Regardless, output of:
Code:
zpool status
Be sure to use [code][/code] tags.

Is that possible via the GUI or could you tell me how to do it via ssh (my trust to the GUI is gone now...)
Currently this can only be done from the CLI.
 

spikk

Cadet
Joined
Mar 3, 2012
Messages
6
Output from zpool status:
Code:
  pool: SATA
state: ONLINE
  scan: resilvered 8.22M in 0h48m with 0 errors on Tue Sep 10 18:38:24 2013
config:
 
        NAME                                            STATE    READ WRITE CKSUM
        SATA                                            ONLINE      0    0    0
          mirror-0                                      ONLINE      0    0    0
            gptid/3dfac69d-1470-11e2-bca3-0025909515de  ONLINE      0    0    0
            gptid/3e563e7f-1470-11e2-bca3-0025909515de  ONLINE      0    0    0
          mirror-1                                      ONLINE      0    0    0
            gptid/589ec014-1470-11e2-bca3-0025909515de  ONLINE      0    0    0
            gptid/58f69bd2-1470-11e2-bca3-0025909515de  ONLINE      0    0    0
          mirror-2                                      ONLINE      0    0    0
            gptid/4bc7c959-7c63-11e2-a1a7-0025909515de  ONLINE      0    0    0
            gptid/4e4feca0-1c5a-11e2-bc7a-0025909515de  ONLINE      0    0    0
          mirror-3                                      ONLINE      0    0    0
            gptid/8f33407e-1c5a-11e2-bc7a-0025909515de  ONLINE      0    0    0
            gptid/8fd34ada-1c5a-11e2-bc7a-0025909515de  ONLINE      0    0    0
          mirror-4                                      ONLINE      0    0    0
            gptid/8c0b0d2b-2411-11e2-bc7a-0025909515de  ONLINE      0    0    0
            gptid/8c74c5ee-2411-11e2-bc7a-0025909515de  ONLINE      0    0    0
          mirror-5                                      ONLINE      0    0    0
            gptid/c8b2d441-2411-11e2-bc7a-0025909515de  ONLINE      0    0    0
            gptid/c91c00f4-2411-11e2-bc7a-0025909515de  ONLINE      0    0    0
          mirror-6                                      ONLINE      0    0    0
            gptid/6d64f7b3-2d7f-11e2-bc7a-0025909515de  ONLINE      0    0    0
            gptid/6dbe63d8-2d7f-11e2-bc7a-0025909515de  ONLINE      0    0    0
          gptid/95a7f5d7-1a30-11e3-acc9-0025909515de    ONLINE      0    0    0
          mirror-8                                      ONLINE      0    0    0
            gptid/ad10d1a8-1a31-11e3-acc9-0025909515de  ONLINE      0    0    0
            gptid/adb2d0d4-1a31-11e3-acc9-0025909515de  ONLINE      0    0    0
          mirror-9                                      ONLINE      0    0    0
            gptid/da1361b0-1a31-11e3-acc9-0025909515de  ONLINE      0    0    0
            gptid/dac87fe2-1a31-11e3-acc9-0025909515de  ONLINE      0    0    0
        logs
          gptid/ae699f50-1a2f-11e3-acc9-0025909515de    ONLINE      0    0    0
        cache
          da8                                          ONLINE      0    0    0
 
errors: No known data errors

The stripe is gptid/95a7f5d7-1a30-11e3-acc9-0025909515de
How do I make this a mirror?

EDIT: is this the way to go:
zpool attach SATA gptid/95a7f5d7-1a30-11e3-acc9-0025909515de <gptid of new disk>
 

spikk

Cadet
Joined
Mar 3, 2012
Messages
6
I successfully converted the stripe into a mirror with the command written above.
One question, why are some disks listed by "da##" and the others by gptid?
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
I successfully converted the stripe into a mirror with the command written above.
One question, why are some disks listed by "da##" and the others by gptid?
Yes, that is the command. The cache vdev is using the whole disk and it doesn't have a partition table on it.
 
Status
Not open for further replies.
Top