Can't set RAID10 on zoned device using experimental build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am using btrfs-progs experimental build to create RAID10 volume on zoned device. But it didn't succeed.

Have consulted btrfs guys, he think it is related to block devices. So I forwarded to here.

# uname -a
Linux aosc3a6 6.11.0-rc4 #2 SMP PREEMPT_DYNAMIC Sun Aug 25 10:44:46 CST 2024 loongarch64 GNU/Linux

# ./btrfs version
btrfs-progs v6.10.1
+EXPERIMENTAL -INJECT -STATIC +LZO +ZSTD +UDEV +FSVERITY +ZONED CRYPTO=builtin

# ./mkfs.btrfs -f -O bgt,rst -mraid10 -draid10 /dev/sda /dev/sdb /dev/sdc /dev/sdd
btrfs-progs v6.10.1
See https://btrfs.readthedocs.io for more information.

Zoned: /dev/sda: host-managed device detected, setting zoned feature
Resetting device zones /dev/sda (52156 zones) ...
Resetting device zones /dev/sdb (52156 zones) ...
Resetting device zones /dev/sdc (52156 zones) ...
Resetting device zones /dev/sdd (52156 zones) ...
ERROR: zoned: failed to reset device '/dev/sdd' zones: Remote I/O error
ERROR: zoned: failed to reset device '/dev/sdb' zones: Remote I/O error
ERROR: zoned: failed to reset device '/dev/sdc' zones: Remote I/O error
ERROR: zoned: failed to reset device '/dev/sda' zones: Remote I/O error
ERROR: unable prepare device: /dev/sda

related dmesg:
[ 479.729281] sd 0:0:2:0: [sdc] tag#953 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s [ 479.729930] sd 0:0:1:0: [sdb] tag#184 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s [ 479.729944] sd 0:0:3:0: [sdd] tag#12 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s [ 479.729949] sd 0:0:3:0: [sdd] tag#12 Sense Key : Illegal Request [current]
[  479.729951] sd 0:0:3:0: [sdd] tag#12 Add. Sense: Invalid field in cdb
[ 479.729954] sd 0:0:3:0: [sdd] tag#12 CDB: Write same(16) 93 08 00 00 00 00 00 00 00 00 00 01 00 00 00 00 [ 479.729956] critical target error, dev sdd, sector 0 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0 [ 479.729960] sd 0:0:0:0: [sda] tag#597 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s [ 479.729963] sd 0:0:0:0: [sda] tag#597 Sense Key : Illegal Request [current]
[  479.729966] sd 0:0:0:0: [sda] tag#597 Add. Sense: Invalid field in cdb
[ 479.729968] sd 0:0:0:0: [sda] tag#597 CDB: Write same(16) 93 08 00 00 00 00 00 00 00 00 00 01 00 00 00 00 [ 479.729970] critical target error, dev sda, sector 0 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0 [ 479.738363] sd 0:0:2:0: [sdc] tag#953 Sense Key : Illegal Request [current] [ 479.747438] sd 0:0:1:0: [sdb] tag#184 Sense Key : Illegal Request [current]
[  479.756425] sd 0:0:2:0: [sdc] tag#953 Add. Sense: Invalid field in cdb
[  479.763338] sd 0:0:1:0: [sdb] tag#184 Add. Sense: Invalid field in cdb
[ 479.769733] sd 0:0:2:0: [sdc] tag#953 CDB: Write same(16) 93 08 00 00 00 00 00 00 00 00 00 01 00 00 00 00 [ 479.779152] sd 0:0:1:0: [sdb] tag#184 CDB: Write same(16) 93 08 00 00 00 00 00 00 00 00 00 01 00 00 00 00 [ 479.788656] critical target error, dev sdc, sector 0 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0 [ 479.797730] critical target error, dev sdb, sector 0 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0

drive info: WDC HC620 (HSH721414ALN6M0)







[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux