Package:  lvm
Version: 2.0


I have a Debian 9 XFCE system on a acer laptop with only 1 hard drive which
was encrypted with LVM encryption during installation.

After a recent reboot my system is stuck and no longer bootable with
following messages:

Volume group "acerv3-575t-vg" not found.
Cannot process volume group acerv3-575-vg
Save up waiting for suspend/resume device
Volume group "acerv3-575t-vg" not found.
Cannot process volume group acerv3-575-vg save up waiting for root file
system device. Common problems:
-Boot args (cat /proc/ cmdline) -check rootdelay = (did the system wait
long enough?) -missing modules (cat /proc/modules; ls /dev)

Alert!! /dev/mapper/acerv3-575t-vg-root does not exist.
Dropping to a shell!

BusyBox v1.30.1 (Debian 1:1.30.1-4)
built in shell (ash)

(initramfs)




results of "uname -a":

Linux (none) 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)
x86_64 GNU/Linux

results of "blkid":
/dev/sda1: UUID="8c128c67-b83f-4324-8ec7-98f92d226834" TYPE="ext2"
PARTUUID="067c99ad-01"
/dev/sda5: UUID="fc11dfff-5424-4384-990e-26eda907f036" TYPE="crypto_LUKS"
PARTUUID="067c99ad-05"


I am able to use a Debian Live CD and access the system via the  Advanced
Options -> "Graphical Rescue mode" CLI interface:

from Rescue Mode LiveCD it successfully asks my passphrase for the
encrypted volume (/dev/sda5) and unlocks it.

>From Rescue Mode LiveCD I am then able to login to my root file system
/dev/acerv3-575t-vg/root & mount its /boot partition
from this point I can successfully execute a shell in
/dev/acerv3-575t-vg/root OR in the installer environment. (The below
commands where executed in the shell for /dev/acerv3-575t-vg/root)


root@acerv3-575t:/# nano /etc/fstab

#<file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/acerv3--575t-vg-root /                    ext4
errors=remount-ro  0  1
#boot was on /dev/sda1 during installation
UUID=8c128c67-b83f-4324-8ec7-98f92d226834 /boot       ext2       defaults
        0  2
/dev/mapper/acerv3--575t-vg-home     /home            ext4       defaults
        0  2
/dev/mapper/acerv3--575t-vg-tmp      /tmp             ext4       defaults
        0  2
/dev/mapper/acerv3--575t-vg-var      /var             ext4       defaults
        0  2
/dev/mapper/acerv3--575t-vg-swap_1   /none            swap       sw
        0  0
/dev/sr0                             /media/cdrom0    udf,iso9660 user,
noauto      0  0

root@acerv3-575t:/# nano /etc/crypttab

sda5_crypt UID=fc11dfff-5424-4384-990e-26eda907f036 none luks,discard


root@acerv3-575t:/# pvscan

PV /dev/dm-0 VG acerv3-575t-vg  lvm2 [931.25 GiB / 36.00 MiB free]
Total: 1 [931.25GiB] / in use: 1 [931.25 GiB] / in no VG: 0 [0   ]

root@acerv3-575t:/#pvs

PV VG Fmt Attr PSize PFree
/dev/dm-0 acerv3-575t-vg lvm2 a-- 931.25g 36.00m

root@acerv3-575t:/#pvdisplay

--- Physical Volume ---
PV Name    /dev/dm-0
VG Name    acerv3-575t-vg
PV Size    <931.26GiB / not usable 4.00 MiB
Allocatable   yes
PE Size       4.00MiB
Total PE        238401
Free PE         9
Allocated PE    238392
PV UUID        XXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-pgLCl9

#vgck does not return any errors...

root@acerv3-575t:/#vgck
root@acerv3-575t:/#

root@acerv3-575t:/#fdisk -l

Disk /dev/sda: 931.5GiB, 1000204886016 bytes, 1953525168 Sectors
Disk model: TOSHIBA MQ01ADB1
Units: secotors of 1 * 512 = 512 byes
Sector Size (logical/physical): 512 bytes/ 4096 byes
I/O Size (minimum/optimal: 4096 bytes/ 4096 bytes
Disk label type: dos
Disk Identifiver 0x067c99ad

Device Boot start end sectors size id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 1953523711 1953021954 931.3G 5 Extended
/dev/sda5 501760 1953523711 1953021952 931.3G 83 Linux

Partition  2 does not start on physical sector boundry.

Disk /dev/mapper/sda5_crypt: 931.3 GiB, 999930462208 byes, 1952989184
sectors
Units: sectors of 1 * 512 = 512 bytes
Sector Size (logical/physical): 512 bytes/4096 bytes
I/O size (minimum/optimal): 4096 bytes/4096 bytes

Disk /dev/mapper/acerv3--575t--vg-root: 23.3GiB 24998051840 bytes, 48824320
sectors
Units: sectors of 1 * 512 = 512 bytes
Sector Size (logical/physical): 512 bytes/4096 bytes
I/O size (minimum/optimal): 4096 bytes/4096 bytes

Disk /dev/mapper/acerv3--575t--vg-var: 9.3GiB 9999220736 bytes, 19529728
sectors
Units: sectors of 1 * 512 = 512 bytes
Sector Size (logical/physical): 512 bytes/4096 bytes
I/O size (minimum/optimal): 4096 bytes/4096 bytes

Disk /dev/mapper/acerv3--575t--vg-tmp: 1.9GiB, 1996488704 bytes, 3899392
sectors
Units: sectors of 1 * 512 = 512 bytes
Sector Size (logical/physical): 512 bytes/4096 bytes
I/O size (minimum/optimal): 4096 bytes/4096 bytes

Disk /dev/mapper/acerv3--575t--vg-swap_1: 15.9GiB, 1703726848 bytes,
33275904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector Size (logical/physical): 512 bytes/4096 bytes
I/O size (minimum/optimal): 4096 bytes/4096 bytes

Disk /dev/mapper/acerv3--575--vg-home: 880.9 GiB, 945857495050 bytes,
1847377920 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector Size (logical/physical): 512 bytes/4096 bytes
I/O size (minimum/optimal): 4096 bytes/4096 bytes


root@acerv3-575t:/#vgchange -ay
5 logical volume(s) in volume group "acerv3-575t-vg" now active

Despite the above message, when I reboot after doing this in the secure
environment the same error message occurs on boot and system drops me at a
initramfs prompt....

Also per recommendation from same LiveCD prompt:

root@acerv3-575t:/#update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64
root@acerv3-575t:/#

(returns no error, but upon reboot, same original volume group not
available message occuring).

Any and all assistance is appreciated, I am a total newbie to linux and
have been troubleshooting this for 2 days now and am without my main
laptop....

I also per a recommendation from the initramfs prompt looked through dmesg
log and did not see any errors or failures just the repeat inability to
access the volume group.

Package:  lvm
Version: 2.0

Reply via email to