I've used those sticks a lot before at my work. So this time I might have just bad luck.
Firstly lsblk shows this about them:
Code: Select all
sdc 8:32 1 115.2G 0 disk
sdd 8:48 1 115.4G 0 diskI planned to use them as a distfiles storage so I created lvm vg and one raid0 lv (--stripes 2). Then formatted the lv with xfs.
Problems began:
Code: Select all
M600-ctrl ~ # mkfs.xfs -L pkg -m reflink=1 /dev/tUSB/pkg
meta-data=/dev/tUSB/pkg isize=512 agcount=16, agsize=524272 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=1, rmapbt=1
= reflink=1 bigtime=1 inobtcount=1 nrext64=1
= exchange=0 metadir=0
data = bsize=4096 blocks=8388352, imaxpct=25
= sunit=16 swidth=32 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1, parent=0
log =internal log bsize=4096 blocks=16384, version=2
= sectsz=512 sunit=16 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
= rgcount=0 rgsize=0 extents
mkfs.xfs: pwrite failed: I/O error
libxfs_bwrite: write failed on xfs_agf bno 0x37ff901/0x1, err=5Code: Select all
[136511.110033] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136541.833411] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136579.379982] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136616.926713] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136654.473400] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136692.019948] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136698.313765] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=218s
[136698.313803] sd 2:0:0:0: [sdc] tag#0 Sense Key : Unit Attention [current]
[136698.313828] sd 2:0:0:0: [sdc] tag#0 Add. Sense: Not ready to ready change, medium may have changed
[136698.313850] sd 2:0:0:0: [sdc] tag#0 CDB: Write(10) 2a 00 01 c0 a4 81 00 00 01 00
[136698.313864] I/O error, dev sdc, sector 29402241 op 0x1:(WRITE) flags 0x8800 phys_seg 1 prio class 2
[136698.314027] sd 2:0:0:0: [sdc] tag#0 device offline or changed
[136698.314057] I/O error, dev sdc, sector 241663872 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[136729.563167] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136760.286781] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136797.843396] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136835.379984] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136872.926556] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136910.469853] usb 1-5.1: reset high-speed USB device number 6 using xhci_hcd
[136916.768375] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=218s
[136916.768411] sd 2:0:0:0: [sdc] tag#0 Sense Key : Unit Attention [current]
[136916.768435] sd 2:0:0:0: [sdc] tag#0 Add. Sense: Not ready to ready change, medium may have changed
[136916.768457] sd 2:0:0:0: [sdc] tag#0 CDB: Write(10) 2a 00 01 c0 a4 83 00 00 01 00
[136916.768472] I/O error, dev sdc, sector 29402243 op 0x1:(WRITE) flags 0x8800 phys_seg 1 prio class 2As those are USB sticks, I doubt any smart cheks are valid. Just in case I used shred -vzn 2 on both of them. No errors or lines printed on dmesg. Then I proceeded to read all the data (zeroes) from both - no errors, again. So random data writing and zeroing works and reading zeros work.
I also partitioned both sticks afterwards and left 20MB gaps at both ends and created the space for pv at the middle. Same errors.
I've changed the USB ports too.
My guess is that sdc has some sectors broken.
I take any wild guesses about what's going on. :P Just in case someone else has had this situation.
Thanks.
EDIT: s/Trancend/Verbatim/



