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.

zpool attach device to create a mirror

Featured Replies

Hi,

I want to attach a second HD to an existin pool to create a mirror:

The current pool is:

root@unraid:~# zpool status
  pool: disk1
 state: ONLINE
  scan: scrub repaired 0B in 00:10:14 with 0 errors on Fri Oct 17 16:21:29 2025
config:
	NAME        STATE     READ WRITE CKSUM
	disk1       ONLINE       0     0     0
	  md1p1     ONLINE       0     0     0

With zpool attach I could convert this into a mirror:

https://openzfs.github.io/openzfs-docs/man/master/8/zpool-attach.8.html

But how do I do that with unraid? Does the GUI support this operation or do I need to do it on the commandline. Also, the current pool is encrypted resp. teh device is a LUKS device created by unraid during initial setup. What is the best way to attach a second drive?

  • Community Expert

You cannot add a mirror to an array device; you can reimport that device as a single device pool, and then use the GUI to add a mirror.

  • Author

The pool is a single device pool. It contains only /dev/md1p1. See zpool status in my previous post. What do you mean with "reimport that device as a single device pool"?

  • Community Expert
18 hours ago, mabod said:

The pool is a single device pool.

md1p1 is an array device not a pool. You can click the "add pool" button with the array stooped, do a new config and reassign that device to a pool instead of the array (disk1, disk2, etc)

  • Community Expert

Note that although Unraid allows for ZFS format on array disks, these can only be single device pools as each array disk must contain a free-standing file system.

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.