Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ZFS cache to metadata

Featured Replies

I've added a cache subpool to my zfs pool. I now realize I'd rather have a metadata subpool, but I don't see a way to easily remove the cache subpool or convert it to metadata. I'm I missing something or would I have to re-create the entire pool?

Solved by JorgeB

  • Community Expert

You can remove it manually, GUI doesn't currently support that, post the output from

zpool status

 

  • Author

        NAME         STATE     READ WRITE CKSUM
        storage      ONLINE       0     0     0
          raidz1-0   ONLINE       0     0     0
            sdh1     ONLINE       0     0     0
            sdg1     ONLINE       0     0     0
            sdl1     ONLINE       0     0     0
          raidz1-1   ONLINE       0     0     0
            sdm1     ONLINE       0     0     0
            sdk1     ONLINE       0     0     0
            sdj1     ONLINE       0     0     0
          raidz1-2   ONLINE       0     0     0
            sdb1     ONLINE       0     0     0
            sdd1     ONLINE       0     0     0
            sdc1     ONLINE       0     0     0
        cache
          nvme0n1p1  ONLINE       0     0     0

  • Community Expert
  • Solution

Before doing this, please note that unlike cache, a special subpool cannot be removed from a raidz pool

 

Also, if the special vdev fails you will lose the entire pool, recommend using a mirrored vdev for special

 

 

To proceed, with the array started, type

 

zpool remove storage nvme0n1p1

 

Stop the array, reimport the pool without cache:

 

  • on main, click on that pool and then "remove pool"
  • back on main, create a new pool with the same name and number of slots
  • assign the pool device(s), leave the filesystem set to auto
  • start the array to import the pool

Stop array, now add the special subpool.

 

 

  • Author

Everything worked as expected. Also thanks for the tip on using a mirrored special vdev. Knowing that I'll hold off on adding the special subpool until I can mirror it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.