Public bug reported:
**
Steps to reproduce
**
root@ubusrv:~# lsblk /dev/sda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:00 2G 0 disk
└─sda1 8:10 2G 0 part
root@ubusrv:~#
root@ubusrv:~# pvcreate /dev/sda1
Physical volume "/dev/sda1" successfully
No ideas?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2084979
Title:
Device Mapper accepts writes even when the underlying devices are dead
(offline or transport-offline)
Status in
## It gets even worse - DM accepts writes even if the underlying disk has been
removed
Here is an example
root@ubusrv:~# l /dev/sda*
brw-rw 1 root disk 8, 0 Oct 26 09:06 /dev/sda
brw-rw 1 root disk 8, 1 Oct 26 09:06 /dev/sda1
root@ubusrv:~# pvs
PV VG
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 VGFmt Attr PSize PFree
/dev/sda3 ubuntu-vg lvm2 a-- <17.32g 4.00m
/dev/sdb1
4 matches
Mail list logo