Bug#819171: lvm cache cachepools stop working on 3.16.7-ckt20 and 4.3.5-1~bpo8+1
updating linux-image-3.16.0-0.bpo.4-amd64
(3.16.7-ckt20-1+deb8u4~bpo70+1) over (3.16.7-ckt11-1+deb8u6~bpo70+1)
breaks my lvm caching setup
tried linux-image-4.3.0-0.bpo.1-amd64:amd64/jessie-backports
4.3.5-1~bpo8+1 as well, but has the same problem.
Loading Linux 3.16.0-4-amd64 ...
Loading initial ramdisk ...
[ 1.848759] i8042: No controller found
Loading, please wait...
[ 3.356736] sd 7:0:0:0: [sdc] No Caching mode page found
[ 3.362664] sd 7:0:0:0: [sdc] Assuming drive cache: write through
mdadm: /dev/md0 has been started with 1 drive (out of 2).
mdadm: /dev/md1 has been started with 2 drives.
mdadm: /dev/md2 has been started with 2 drives.
mdadm: /dev/md3 has been started with 2 drives.
mdadm: /dev/md4 has been started with 2 drives.
mdadm: /dev/md5 has been started with 2 drives.
mdadm: /dev/md6 has been started with 2 drives.
mdadm: /dev/md7 has been started with 2 drives.
Scanning for Btrfs filesystems
fsck from util-linux 2.25.2
/dev/mapper/lvm0--vol-root: clean, 77447/983040 files, 1753511/3932160
blocks
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting the hotplug events dispatcher: udevd.
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Setting parameters of disc: (none).
[ ok ] Generating udev events for MD arrays...done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/mapper/lvm0--vol-root: clean, 77447/983040 files, 1753511/3932160
blocks
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Starting early crypto disks...done.
[info] Loading kernel module 8021q.
[info] Loading kernel module ipmi_si.
[info] Loading kernel module ipmi_devintf.
[info] Loading kernel module fuse.
[ 25.855306] mdX: failed to create bitmap (-22)
[ 25.860316] device-mapper: table: 253:7: raid: Fail to run raid array
[....] Setting up LVM Volume Groups... device-mapper: reload ioctl on
failed: Invalid argument
failed.
[ ok ] Starting remaining crypto disks...done.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/mapper/lvm0--vol-home: clean, 27/1310720 files, 126303/5242880 blocks
e2fsck 1.42.12 (29-Aug-2014)
fsck.ext4: No such file or directory while trying to open
/dev/lvm0-vol/storage
Possibly non-existent device?
fsck exited with status code 8
failed (code 8).
[FAIL] File system check failed. A log is being saved in
/var/log/fsck/checkfs if that location is writable. Please repair the
file system manually. ... failed!
[warn] A maintenance shell will now be started. CONTROL-D will terminate
this shell and resume system boot. ... (warning).
Give root password for maintenance
(or type Control-D to continue):
# uname -a
Linux server 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4
(2016-02-29) x86_64 GNU/Linux
## workaround #1
# export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# dpkg --install
/var/cache/apt/archives/linux-image-3.16.0-0.bpo.4-amd64_3.16.7-ckt11-1+deb8u6~bpo70+1_amd64.deb
Loading Linux 4.3.0-0.bpo.1-amd64 ...
Loading initial ramdisk ...
Loading, please wait...
[ 3.229376] sd 7:0:0:0: [sdc] No Caching mode page found
[ 3.235311] sd 7:0:0:0: [sdc] Assuming drive cache: write through
mdadm: /dev/md0 has been started with 1 drive (out of 2).
mdadm: /dev/md1 has been started with 2 drives.
mdadm: /dev/md2 has been started with 2 drives.
mdadm: /dev/md3 has been started with 2 drives.
mdadm: /dev/md4 has been started with 2 drives.
mdadm: /dev/md5 has been started with 2 drives.
mdadm: /dev/md6 has been started with 2 drives.
mdadm: /dev/md7 has been started with 2 drives.
Scanning for Btrfs filesystems
fsck from util-linux 2.25.2
/dev/mapper/lvm0--vol-root: clean, 77056/983040 files, 1751359/3932160
blocks
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting the hotplug events dispatcher: udevd.
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[FAIL] RAID status not OK. Exiting. ... failed!
[ ok ] Generating udev events for MD arrays...done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/mapper/lvm0--vol-root: clean, 77056/983040 files, 1751359/3932160
blocks
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Starting early crypto disks...done.
[info] Loading kernel module 8021q.
[info] Loading kernel module ipmi_si.
[info] Loading kernel module ipmi_devintf.
[info] Loading kernel module fuse.
[....] Setting up LVM Volume Groups...[ 51.878699] mdX: failed to
create bitmap (-22)
[ 51.883736] device-mapper: table: 251:7: raid: Fail to run raid array
device-mapper: reload ioctl on failed: Invalid argument
failed.
[ ok ] Starting remaining crypto disks...done.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/mapper/lvm0--vol-home: clean, 27/1310720 files, 126303/5242880 blocks
e2fsck 1.42.12 (29-Aug-2014)
fsck.ext4: No such file or directory while trying to open
/dev/lvm0-vol/storage
Possibly non-existent device?
fsck exited with status code 8
failed (code 8).
[FAIL] File system check failed. A log is being saved in
/var/log/fsck/checkfs if that location is writable. Please repair the
file system manually. ... failed!
[warn] A maintenance shell will now be started. CONTROL-D will terminate
this shell and resume system boot. ... (warning).
Give root password for maintenance
(or type Control-D to continue):
[....] Checking file systems...fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/mapper/lvm0--vol-home: clean, 27/1310720 files, 126303/5242880 blocks
e2fsck 1.42.12 (29-Aug-2014)
/dev/mapper/lvm0--vol-storage: clean, 37032936/486047744 files,
1364444277/1944190976 blocks
done.
[ ok ] Mounting local filesystems...done.
# uname -a
Linux server 3.16.0-0.bpo.4-amd64 #1 SMP Debian
3.16.7-ckt11-1+deb8u6~bpo70+1 (2015-11-11) x86_64 GNU/Linux
apt-get install reportbug
reportbug linux-image-3.16.0-4-amd64 --email=jelledejong@powercraft.nl
# lvs -a
LV VG Attr LSize Pool
Origin Data% Meta% Move Log Cpy%Sync Convert
home lvm0-vol -wi-ao---- 20.00g
root lvm0-vol -wi-ao---- 15.00g
storage lvm0-vol Cwi-aoC--- 7.24t
storage01-cache [storage_corig]
storage01-cache lvm0-vol Cwi---C--- 237.45g
[storage01-cache_cdata] lvm0-vol Cwi-aor--- 237.45g
100.00
[storage01-cache_cdata_rimage_0] lvm0-vol iwi-aor--- 237.45g
[storage01-cache_cdata_rimage_1] lvm0-vol iwi-aor--- 237.45g
[storage01-cache_cdata_rmeta_0] lvm0-vol ewi-aor--- 4.00m
[storage01-cache_cdata_rmeta_1] lvm0-vol ewi-aor--- 4.00m
[storage01-cache_cmeta] lvm0-vol ewi-aor--- 512.00m
100.00
[storage01-cache_cmeta_rimage_0] lvm0-vol iwi-aor--- 512.00m
[storage01-cache_cmeta_rimage_1] lvm0-vol iwi-aor--- 512.00m
[storage01-cache_cmeta_rmeta_0] lvm0-vol ewi-aor--- 4.00m
[storage01-cache_cmeta_rmeta_1] lvm0-vol ewi-aor--- 4.00m
[storage_corig] lvm0-vol owi-aoC--- 7.24t
swap lvm0-vol -wi-ao---- 512.00m
kvm01-disk lvm1-vol -wi-a----- 8.00g
kvm01-storage lvm1-vol -wi-a----- 200.00g
kvm03-disk lvm1-vol -wi-a----- 40.00g
kvm04-disk lvm1-vol -wi-a----- 8.00g
kvm05-disk lvm1-vol -wi-a----- 8.00g
kvm06-disk lvm1-vol -wi-a----- 8.00g
kvm07-disk lvm1-vol -wi-a----- 70.00g
kvm09-disk lvm1-vol -wi-a----- 40.00g
kvm10-disk lvm1-vol -wi-a----- 16.00g
kvm11-disk lvm1-vol -wi-a----- 16.00g
kvm11-storage lvm1-vol -wi-a----- 600.00g
kvm12-disk lvm1-vol -wi-a----- 16.00g
kvm13-disk lvm1-vol -wi-a----- 8.00g
kvm14-disk lvm1-vol -wi-a----- 8.00g
kvm15-disk lvm1-vol -wi-a----- 8.00g
kvm16-disk lvm1-vol -wi-a----- 40.00g
kvm16-storage lvm1-vol -wi-a----- 180.00g
kvm17-disk lvm1-vol -wi-a----- 50.00g
kvm17-storage01 lvm1-vol -wi-a----- 300.00g
kvm17-storage02 lvm1-vol -wi-a----- 150.00g
kvm18-disk lvm1-vol -wi-a----- 70.00g
kvm02-storage lvm2-vol -wi-a----- 3.50t
kvm08-disk lvm2-vol -wi-a----- 10.00g
kvm08-storage lvm2-vol -wi-a----- 2.00t
kvm02-disk lvm3-vol -wi-a----- 8.00g
kvm02-storage lvm3-vol -wi-a----- 7.00t
# dmsetup status lvm0--vol-storage
0 15553527808 cache 8 7718/131072 128 3890432/3890432 950 65 3 0 0 0
2233280 1 writeback 2 migration_threshold 2048 mq 10 random_threshold 4
sequential_threshold 512 discard_promote_adjustment 1
read_promote_adjustment 4 write_promote_adjustment 8
Reply to: