Mailinglist Archive: opensuse-bugs (4247 mails)

< Previous Next >
[Bug 1019886] Upgrade from 42.1 to 42.2 fails to initialize LVM VG with use_lvmetad = 1
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 17 Jan 2017 06:43:44 +0000
  • Message-id: <bug-1019886-21960-ULpGrp3HOk@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1019886
http://bugzilla.suse.com/show_bug.cgi?id=1019886#c10

--- Comment #10 from Youri Matthys <youri@xxxxxxxxxx> ---
(In reply to Youri Matthys from comment #5)
(In reply to zhen ren from comment #3)
(In reply to Youri Matthys from comment #1)
Additional info:
==================

1) Issue does not occur when using DVD upgrade procedure

Does the `zypper dup` go smoothly all over the process? Looks the lvm driver
wasn't built into the initrd.

Zypper dup completed succesfully. Should I provide any logs of the dup
operation for you?


2) Issue does not occur when / or swap are on a Logical Volume

What's your LVM setting on the machine in question? Please show me the
outputs of lsblk, pvs, vgs, lvs.

Please help me replicate this issue on my side;-)

DVOHQ-VMS01:~ # lvs|susepaste
Pasted as:
http://susepaste.org/59595105
http://paste.opensuse.org/59595105
DVOHQ-VMS01:~ # vgs|susepaste
Pasted as:
http://susepaste.org/75562035
http://paste.opensuse.org/75562035
DVOHQ-VMS01:~ # pvs|susepaste
Pasted as:
http://susepaste.org/87430300
http://paste.opensuse.org/87430300
DVOHQ-VMS01:~ # lsblk |susepaste
Pasted as:
http://susepaste.org/66174528
http://paste.opensuse.org/66174528

Sorry. Force of habit :) You can find requested info below.

DVOHQ-VMS01:~ # lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log
Cpy%Sync Convert
DVOHQ-APACHE_DATA VGKVM -wi-ao---- 64.00g
LVBACKUP VGKVM -wi-ao---- 384.00g
LVLIBVIRT VGKVM -wi-ao---- 384.00g
DVOHQ-VMS01:~ # pvs
PV VG Fmt Attr PSize PFree
/dev/md127 VGKVM lvm2 a-- 881.51g 49.51g
DVOHQ-VMS01:~ # vgs
VG #PV #LV #SN Attr VSize VFree
VGKVM 1 3 0 wz--n- 881.51g 49.51g
DVOHQ-VMS01:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 8G 0 part [SWAP]
├─sda2 8:2 0 881.5G 0 part
│ └─md127 9:127 0 881.5G 0 raid1
│ ├─VGKVM-LVLIBVIRT 254:0 0 384G 0 lvm /var/lib/libvirt
│ ├─VGKVM-DVOHQ--APACHE_DATA 254:1 0 64G 0 lvm
│ └─VGKVM-LVBACKUP 254:2 0 384G 0 lvm /var/backup
└─sda3 8:3 0 42G 0 part
└─md126 9:126 0 42G 0 raid1 /home
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 8G 0 part [SWAP]
├─sdb2 8:18 0 881.5G 0 part
│ └─md127 9:127 0 881.5G 0 raid1
│ ├─VGKVM-LVLIBVIRT 254:0 0 384G 0 lvm /var/lib/libvirt
│ ├─VGKVM-DVOHQ--APACHE_DATA 254:1 0 64G 0 lvm
│ └─VGKVM-LVBACKUP 254:2 0 384G 0 lvm /var/backup
└─sdb3 8:19 0 42G 0 part
└─md126 9:126 0 42G 0 raid1 /home

Adding output of md array's as reference.
==========================================

DVOHQ-VMS01:~ # mdadm --detail /dev/md*
mdadm: /dev/md does not appear to be an md device
/dev/md126:
Version : 1.0
Creation Time : Mon Jul 11 17:23:08 2016
Raid Level : raid1
Array Size : 44042112 (42.00 GiB 45.10 GB)
Used Dev Size : 44042112 (42.00 GiB 45.10 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent

Intent Bitmap : Internal

Update Time : Tue Jan 17 07:36:30 2017
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : any:MD_DVOHQ-VMS01_SYSTEM
UUID : 90c16ef6:aa5dc91a:af7e8da5:6f23f909
Events : 150

Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
/dev/md127:
Version : 1.0
Creation Time : Thu Aug 13 09:51:18 2015
Raid Level : raid1
Array Size : 924333888 (881.51 GiB 946.52 GB)
Used Dev Size : 924333888 (881.51 GiB 946.52 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent

Intent Bitmap : Internal

Update Time : Tue Jan 17 07:36:29 2017
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : any:MDMIRROR
UUID : 3b8e6303:bbf73c21:86c5e2a3:3a0eff41
Events : 60601

Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2

Also fstab and blkid are added as reference
=================================
DVOHQ-VMS01:~ # cat /etc/fstab
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd / btrfs defaults 0 0
/dev/VGKVM/LVBACKUP /var/backup xfs defaults 1 2
/dev/VGKVM/LV_LIBVIRT /var/lib/libvirt xfs defaults 1 2
UUID=d178e71d-b4ed-432c-8583-fe04ab873698 swap swap pri=1 0 0
UUID=d8b45e88-a6ee-4abe-966a-74eec9e37521 swap swap pri=1 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /boot/grub2/i386-pc btrfs
subvol=@/boot/grub2/i386-pc 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /boot/grub2/x86_64-efi btrfs
subvol=@/boot/grub2/x86_64-efi 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /home btrfs subvol=@/home 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /opt btrfs subvol=@/opt 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /srv btrfs subvol=@/srv 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /tmp btrfs subvol=@/tmp 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /usr/local btrfs subvol=@/usr/local 0
0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/crash btrfs subvol=@/var/crash 0
0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/lib/mailman btrfs
subvol=@/var/lib/mailman 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/lib/mariadb btrfs
subvol=@/var/lib/mariadb 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/lib/mysql btrfs
subvol=@/var/lib/mysql 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/lib/named btrfs
subvol=@/var/lib/named 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/lib/pgsql btrfs
subvol=@/var/lib/pgsql 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/log btrfs subvol=@/var/log 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/opt btrfs subvol=@/var/opt 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/spool btrfs subvol=@/var/spool 0
0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/tmp btrfs subvol=@/var/tmp 0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /.snapshots btrfs subvol=@/.snapshots
0 0
UUID=5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd /var/lib/machines btrfs
subvol=@/var/lib/machines 0 0

DVOHQ-VMS01:~ # blkid
/dev/block/9:126: UUID="5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd"
UUID_SUB="47201f7b-a162-45b4-a47f-defabef09e77" TYPE="btrfs"
/dev/block/8:19: UUID="90c16ef6-aa5d-c91a-af7e-8da56f23f909"
UUID_SUB="892e5acb-958c-95dd-d990-20ed574bf68d"
LABEL="any:MD_DVOHQ-VMS01_SYSTEM" TYPE="linux_raid_member"
PARTUUID="0005832d-03"
/dev/block/8:17: UUID="d8b45e88-a6ee-4abe-966a-74eec9e37521" TYPE="swap"
PARTUUID="0005832d-01"
/dev/block/8:1: UUID="d178e71d-b4ed-432c-8583-fe04ab873698" TYPE="swap"
PARTUUID="0004c638-01"
/dev/md126: UUID="5b90c2b4-1d6b-43b9-ace7-17d5a2d120cd"
UUID_SUB="47201f7b-a162-45b4-a47f-defabef09e77" TYPE="btrfs"
/dev/block/8:3: UUID="90c16ef6-aa5d-c91a-af7e-8da56f23f909"
UUID_SUB="ca632121-26b1-0d35-c853-836bbddda5dd"
LABEL="any:MD_DVOHQ-VMS01_SYSTEM" TYPE="linux_raid_member"
PARTUUID="0004c638-03"
/dev/sdb1: UUID="d8b45e88-a6ee-4abe-966a-74eec9e37521" TYPE="swap"
PARTUUID="0005832d-01"
/dev/sda1: UUID="d178e71d-b4ed-432c-8583-fe04ab873698" TYPE="swap"
PARTUUID="0004c638-01"
/dev/sda2: UUID="3b8e6303-bbf7-3c21-86c5-e2a33a0eff41"
UUID_SUB="acb7b531-49b4-5f2b-08b8-580541fc3f86" LABEL="any:MDMIRROR"
TYPE="linux_raid_member" PARTUUID="0004c638-02"
/dev/sdb2: UUID="3b8e6303-bbf7-3c21-86c5-e2a33a0eff41"
UUID_SUB="15f50da4-658a-2475-9a15-816cf164cc97" LABEL="any:MDMIRROR"
TYPE="linux_raid_member" PARTUUID="0005832d-02"
/dev/md127: UUID="WdcLBW-01jR-ouI6-lvcl-25VF-IaX9-LFOaYm" TYPE="LVM2_member"
/dev/mapper/VGKVM-LVLIBVIRT: LABEL="LV_LIBVIRT"
UUID="8f7870cb-281d-4dfd-92ac-3b0c4ce92ef9" TYPE="xfs"
/dev/mapper/VGKVM-DVOHQ--APACHE_DATA: LABEL="APACHE_DATA"
UUID="ebdd7b96-3231-4f70-9209-2921e4ba8675" TYPE="ext4"
/dev/mapper/VGKVM-LVBACKUP: LABEL="LV_BACKUP"
UUID="ec61f1eb-e7c6-4c9e-a3bc-4d211d29fac6" TYPE="xfs"

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >