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.

Can't create a mirrored ZFS SSD pool

Featured Replies

Good morning,

I’m unable to create a mirrored ZFS pool with 2 SSDs. I’ve done the preclear, added the ZFS pool with 2 slots, but when I run the format, I get this error:

Jul 15 19:17:51 Unraid emhttpd: creating volume: mirrored (zfs)

Jul 15 19:17:51 Unraid emhttpd: shcmd (31006): /sbin/wipefs -af --lock /dev/sdg1

Jul 15 19:17:51 Unraid emhttpd: shcmd (31007): /sbin/blkdiscard /dev/sdg1

Jul 15 19:17:59 Unraid root: blkdiscard: BLKDISCARD: /dev/sdg1 ioctl failed: Remote I/O error

Jul 15 19:17:59 Unraid kernel: sd 6:0:1:0: [sdg] tag#1093 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s

Jul 15 19:17:59 Unraid kernel: sd 6:0:1:0: [sdg] tag#1093 Sense Key : 0x5 [current]

Jul 15 19:17:59 Unraid kernel: sd 6:0:1:0: [sdg] tag#1093 ASC=0x21 ASCQ=0x0

Jul 15 19:17:59 Unraid kernel: sd 6:0:1:0: [sdg] tag#1093 CDB: opcode=0x42 42 00 00 00 00 00 00 00 18 00

Jul 15 19:17:59 Unraid kernel: critical target error, dev sdg, sector 3904898606 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0

Jul 15 19:17:59 Unraid emhttpd: shcmd (31007): exit status: 1

Jul 15 19:17:59 Unraid emhttpd: shcmd (31008): /sbin/wipefs -af --lock /dev/sdf1

Jul 15 19:17:59 Unraid emhttpd: shcmd (31009): /sbin/blkdiscard /dev/sdf1

Jul 15 19:18:07 Unraid root: blkdiscard: BLKDISCARD: /dev/sdf1 ioctl failed: Remote I/O error

Jul 15 19:18:07 Unraid kernel: sd 6:0:0:0: [sdf] tag#1132 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s

Jul 15 19:18:07 Unraid kernel: sd 6:0:0:0: [sdf] tag#1132 Sense Key : 0x5 [current]

Jul 15 19:18:07 Unraid kernel: sd 6:0:0:0: [sdf] tag#1132 ASC=0x21 ASCQ=0x0

Jul 15 19:18:07 Unraid kernel: sd 6:0:0:0: [sdf] tag#1132 CDB: opcode=0x42 42 00 00 00 00 00 00 00 18 00

Jul 15 19:18:07 Unraid kernel: critical target error, dev sdf, sector 3904898606 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0

Jul 15 19:18:07 Unraid emhttpd: shcmd (31009): exit status: 1

Jul 15 19:18:07 Unraid emhttpd: shcmd (31010): /usr/sbin/zpool create -f -o ashift=12 -O dnodesize=auto -O acltype=posixacl -O xattr=sa -O utf8only=on -m /mnt/mirrored mirrored mirror /dev/sdg1 /dev/sdf1

Jul 15 19:18:07 Unraid root: cannot create 'mirrored': name is reserved

Jul 15 19:18:07 Unraid root: pool name may have been omitted

Jul 15 19:18:07 Unraid emhttpd: shcmd (31010): exit status: 1

Jul 15 19:18:07 Unraid emhttpd: mounting /mnt/mirrored

Jul 15 19:18:07 Unraid emhttpd: shcmd (31011): mkdir -m 0666 -p /mnt/mirrored

Jul 15 19:18:07 Unraid emhttpd: shcmd (31012): rmdir /mnt/mirrored

Jul 15 19:18:07 Unraid emhttpd: mirrored: mount error: wrong or no file system

Jul 15 19:18:07 Unraid kernel: mdcmd (41): check resume

Screenshot 2025-07-15 at 19.29.48.png

Screenshot 2025-07-15 at 19.49.39.png

Screenshot 2025-07-15 at 19.50.23.png

Edited by Surfparadise
adding file attach

  • Community Expert
31 minutes ago, Surfparadise said:

Jul 15 19:17:51 Unraid emhttpd: shcmd (31007): /sbin/blkdiscard /dev/sdg1

Jul 15 19:17:59 Unraid root: blkdiscard: BLKDISCARD: /dev/sdg1 ioctl failed: Remote I/O error

Blkdiscard is failing; maybe the controller doesn't support TRIM, though it should still continue, post the diagnostics.

  • Author
4 minutes ago, JorgeB said:

Blkdiscard is failing; maybe the controller doesn't support TRIM, though it should still continue, post the diagnostics.

I think so…

There is a way to create the pool manually to avoid this commands? (I disabled auto trim into pool setting)

Edited by Surfparadise
Error

  • Community Expert

Please post the diags first.

  • Community Expert

The LSI HBA doesn't support TRIM, suggest swapping the SSD to the onboard SATA and connecting the disks to the HBA. It should then create the pool, and also be able to TRIM it in the future.

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.