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!

Cannot remove SLOG mirror

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Thomymaster
Starter
Starter
Posts: 17
Joined: 19 Jan 2014 22:49
Status: Offline

Cannot remove SLOG mirror

Post by Thomymaster »

Hi

I wanted to remove my SLOG mirror vdev because i want to partition my SSDs with 4K alignment and see if this brings an improvement. But i am unable to remove the devices from the zpool

Code: Select all

storage: ~ # zpool status
  pool: zpool1
 state: ONLINE
  scan: resilvered 0 in 0h3m with 0 errors on Thu Jan 30 23:47:12 2014
config:

        NAME          STATE     READ WRITE CKSUM
        zpool1        ONLINE       0     0     0
          mirror-0    ONLINE       0     0     0
            ada0.nop  ONLINE       0     0     0
            ada1.nop  ONLINE       0     0     0
          mirror-1    ONLINE       0     0     0
            ada2.nop  ONLINE       0     0     0
            ada3.nop  ONLINE       0     0     0
        logs
          mirror-2    ONLINE       0     0     0
            ada4      ONLINE       0     0     0
            ada5      ONLINE       0     0     0

errors: No known data errors


storage: ~ # zpool remove zpool1 ada5 ada4
cannot remove ada5: operation not supported on this type of pool
cannot remove ada4: operation not supported on this type of pool

What am i doing wrong here?

Best,
Thomas

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Cannot remove SLOG mirror

Post by raulfg3 »

You can't remove devices on a pool or SLOG, you can only replace it by other, but never remove, if you do it, you lose all your data.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Thomymaster
Starter
Starter
Posts: 17
Joined: 19 Jan 2014 22:49
Status: Offline

Re: Cannot remove SLOG mirror

Post by Thomymaster »

That is not right, i could do a:

zpool add zpool1 log ada4
zpool remove zpool1 ada4

Without problems (if i do a remove, the SLOG is flushed first to the disks i guess)

My bad :(

i had to do a

Code: Select all

 zpool remove zpool1 mirror-2
and now it worked

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Cannot remove SLOG mirror

Post by raulfg3 »

Thomymaster wrote:That is not right, i could do a:

zpool add zpool1 log ada4
zpool remove zpool1 ada4

Without problems (if i do a remove, the SLOG is flushed first to the disks i guess)

My bad :(

i had to do a

Code: Select all

 zpool remove zpool1 mirror-2
and now it worked
Sorry you are right, in your example use a simple log device and fail in a mirror log.
acording to Oracle's documentation you are doing things good:

http://docs.oracle.com/cd/E19253-01/819 ... index.html
http://docs.oracle.com/cd/E19253-01/819 ... html#gfgaw
so must work , and I do not know what is the problem , sorry
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “ZFS (only!)”