July 15, 2025Jul 15 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/sdg1Jul 15 19:17:51 Unraid emhttpd: shcmd (31007): /sbin/blkdiscard /dev/sdg1Jul 15 19:17:59 Unraid root: blkdiscard: BLKDISCARD: /dev/sdg1 ioctl failed: Remote I/O errorJul 15 19:17:59 Unraid kernel: sd 6:0:1:0: [sdg] tag#1093 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0sJul 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=0x0Jul 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 00Jul 15 19:17:59 Unraid kernel: critical target error, dev sdg, sector 3904898606 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0Jul 15 19:17:59 Unraid emhttpd: shcmd (31007): exit status: 1Jul 15 19:17:59 Unraid emhttpd: shcmd (31008): /sbin/wipefs -af --lock /dev/sdf1Jul 15 19:17:59 Unraid emhttpd: shcmd (31009): /sbin/blkdiscard /dev/sdf1Jul 15 19:18:07 Unraid root: blkdiscard: BLKDISCARD: /dev/sdf1 ioctl failed: Remote I/O errorJul 15 19:18:07 Unraid kernel: sd 6:0:0:0: [sdf] tag#1132 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0sJul 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=0x0Jul 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 00Jul 15 19:18:07 Unraid kernel: critical target error, dev sdf, sector 3904898606 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0Jul 15 19:18:07 Unraid emhttpd: shcmd (31009): exit status: 1Jul 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/sdf1Jul 15 19:18:07 Unraid root: cannot create 'mirrored': name is reservedJul 15 19:18:07 Unraid root: pool name may have been omittedJul 15 19:18:07 Unraid emhttpd: shcmd (31010): exit status: 1Jul 15 19:18:07 Unraid emhttpd: mounting /mnt/mirroredJul 15 19:18:07 Unraid emhttpd: shcmd (31011): mkdir -m 0666 -p /mnt/mirroredJul 15 19:18:07 Unraid emhttpd: shcmd (31012): rmdir /mnt/mirroredJul 15 19:18:07 Unraid emhttpd: mirrored: mount error: wrong or no file systemJul 15 19:18:07 Unraid kernel: mdcmd (41): check resume Edited July 15, 2025Jul 15 by Surfparadise adding file attach
July 15, 2025Jul 15 Community Expert 31 minutes ago, Surfparadise said:Jul 15 19:17:51 Unraid emhttpd: shcmd (31007): /sbin/blkdiscard /dev/sdg1Jul 15 19:17:59 Unraid root: blkdiscard: BLKDISCARD: /dev/sdg1 ioctl failed: Remote I/O errorBlkdiscard is failing; maybe the controller doesn't support TRIM, though it should still continue, post the diagnostics.
July 15, 2025Jul 15 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 July 15, 2025Jul 15 by Surfparadise Error
July 16, 2025Jul 16 Author 1 hour ago, JorgeB said:Please post the diags first.Here the diags.Thanks unraid-diagnostics-20250716-1027.zip
July 16, 2025Jul 16 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.