In the backup of the LVM configuration I found
physical_volumes {
pv0 {
id = "zKO1Xq-VGmI-nX8P-Rwh3-wiFn-GuD4-26dAoZ"
device = "/dev/md127" # Hint only
status = ["ALLOCATABLE"]
flags = []
dev_size = 5798400896 # 2.70009 Terabytes
pe_start = 2048
pe_count = 707812 # 2.70009 Terabytes
}
}
but there is no /dev/md127. So it seems it is a software-raid problem.
Did I configure the software-raid wrong? And why did it disappear just
now? Any idea how I get the partition back?
Am 10.03.2016 um 12:56 schrieb Sebastian Weckend:
Hello,
after the last upgrade and rebooting I lost my LVM Container.
following packets were upgraded:
bind9-host 1:9.9.5.dfsg-9+deb8u6
dnsutils 1:9.9.5.dfsg-9+deb8u6
host 1:9.9.5.dfsg-9+deb8u6
libbind9-90 1:9.9.5.dfsg-9+deb8u6
libdns100 1:9.9.5.dfsg-9+deb8u6
libdns-export100 1:9.9.5.dfsg-9+deb8u6
libirs-export91 1:9.9.5.dfsg-9+deb8u6
libisc95 1:9.9.5.dfsg-9+deb8u6
libisccc90 1:9.9.5.dfsg-9+deb8u6
libisccfg90 1:9.9.5.dfsg-9+deb8u6
libisccfg-export90 1:9.9.5.dfsg-9+deb8u6
libisc-export95 1:9.9.5.dfsg-9+deb8u6
liblwres90 1:9.9.5.dfsg-9+deb8u6
linux-image-3.16.0-4-amd64 3.16.7-ckt20-1+deb8u4
xen-linux-system-3.16.0-4-amd64 3.16.7-ckt20-1+deb8u4
# pvscan
No matching physical volumes found
It seems the software-raid of the PV cannot be found anymore
Any ideas how to get access to the LVM back? Or what else to check? It
seems still to be on sda7 and sdb7. Unfortunately I dont have access to
my documentation to check how I configured the LVM in the first place.
# fdisk -l
Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 592AB453-29D1-4BAE-B799-6A66EDFCCE98
Device Start End Sectors Size Type
/dev/sdb1 4096 16781311 16777216 8G Linux RAID
/dev/sdb2 16781312 17829887 1048576 512M Linux RAID
/dev/sdb3 17829888 38801407 20971520 10G Linux RAID
/dev/sdb4 38801408 59772927 20971520 10G Linux RAID
/dev/sdb5 59772928 61870079 2097152 1G Linux RAID
/dev/sdb6 2048 4095 2048 1M BIOS boot
/dev/sdb7 61870080 5860533134 5798663055 2.7T Linux LVM
Partition table entries are not in disk order.
Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 71504D20-CE2D-499B-B052-76817310B91E
Device Start End Sectors Size Type
/dev/sda1 4096 16781311 16777216 8G Linux RAID
/dev/sda2 16781312 17829887 1048576 512M Linux RAID
/dev/sda3 17829888 38801407 20971520 10G Linux RAID
/dev/sda4 38801408 59772927 20971520 10G Linux RAID
/dev/sda5 59772928 61870079 2097152 1G Linux RAID
/dev/sda6 2048 4095 2048 1M BIOS boot
/dev/sda7 61870080 5860533134 5798663055 2.7T Linux LVM
Partition table entries are not in disk order.
Disk /dev/md0: 8 GiB, 8585674752 bytes, 16768896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md1: 511.7 MiB, 536543232 bytes, 1047936 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 10 GiB, 10728898560 bytes, 20954880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md3: 10 GiB, 10728898560 bytes, 20954880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md4: 1023.4 MiB, 1073152000 bytes, 2096000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Thanks, Sebastian