I have a Rockstor 3.8.16-2 installation running on KVM. I have passed two SATA disks through in scsi mode with
scsihw: virtio-scsi-pci or virtio-scsi-single. These were picked up correctly, and I’ve set up at raid 1 type pool across these two disks, and it is apparently working well. While checking /var/log/messages there are many messages similar to the following. While maxing out writes to the pool, I will see a set of these every minute or so.
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14608, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14609, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14610, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14611, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14612, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14613, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14614, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14615, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14616, rd 0, $
Dec 23 10:34:19 rockstor kernel: BTRFS error (device sdb): bdev /dev/disk/by-id/scsi-350014ee262e982a2 errs: wr 14617, rd 0, $
Dec 23 10:34:21 rockstor kernel: sd 2:0:0:0: [sda] tag#34 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Dec 23 10:34:21 rockstor kernel: sd 2:0:0:0: [sda] tag#34 Sense Key : Illegal Request [current]
Dec 23 10:34:21 rockstor kernel: sd 2:0:0:0: [sda] tag#34 Add. Sense: Invalid field in cdb
Dec 23 10:34:21 rockstor kernel: sd 2:0:0:0: [sda] tag#34 CDB: Write(16) 8a 00 00 00 00 00 0e 3f 93 00 00 00 09 00 00 00
Dec 23 10:34:21 rockstor kernel: blk_update_request: critical target error, dev sda, sector 239047424
I am not sure how to figure out if this is an inherent problem of my SATA controller or whether the virtio-scsi passthrough will just not work with Rockstor. I would appareciate any feedback on this, since this seems like it will not yield a stable btrfs pool.