Hi,

I have already reported this on kernel.org:
https://bugzilla.kernel.org/show_bug.cgi?id=219486

BTW, if I use the O_DIRECT flag, dd returns I/O error. For example:

root@ubutest:~# pvs;lvs
  PV         VG        Fmt  Attr PSize   PFree
  /dev/sda3  ubuntu-vg lvm2 a--  <17.32g 4.00m
  /dev/sdb1  vgtest    lvm2 a--   <2.00g    0
  LV        VG        Attr       LSize  Pool Origin Data%  Meta%  Move Log 
Cpy%Sync Convert
  ubuntu-lv ubuntu-vg -wi-ao---- 17.31g
  lvtest    vgtest    -wi-a----- <2.00g
root@ubutest:~# echo offline > /sys/block/sdb/device/state
root@ubutest:~#
root@ubutest:~# dd if=f.tar of=/dev/mapper/vgtest-lvtest bs=10M count=204 
oflag=direct  ## oflag=
dd: error writing '/dev/mapper/vgtest-lvtest': Input/output error
1+0 records in
0+0 records out
0 bytes copied, 0.00977631 s, 0.0 kB/s
root@ubutest:~#

--
Regards,
Mirek

** Bug watch added: Linux Kernel Bug Tracker #219486
   https://bugzilla.kernel.org/show_bug.cgi?id=219486

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084979

Title:
  Device Mapper accepts writes even when the underlying devices are dead
  (offline or transport-offline)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2084979/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to