My Oracle Support Banner

LVM is not Getting Mounted at Boot "mount: special device /dev/mapper/<VG_Name>-<LV_Name> does not exist" (Doc ID 2529644.1)

Last updated on SEPTEMBER 23, 2022

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

Will Booting LVM are not getting mounted:

  Welcome to Oracle Linux Server
Starting udev:                                             [  OK  ]
Setting hostname localhost.localdomain:                    [  OK  ]
Checking filesystems
/dev/sda1: clean, 45/128016 files, 106521/512000 blocks
                                                           [  OK  ]
Remounting root filesystem in read-write mode:             [  OK  ]
Mounting local filesystems:  mount: special device /dev/mapper/VolGroup-LogVol02 does not exist
mount: special device /dev/mapper/VolGroup-LogVol01 does not exist
mount: special device /dev/mapper/VolGroup-LogVol00 does not exist
                                                           [FAILED]
Enabling local filesystem quotas:                          [  OK  ]
Enabling /etc/fstab swaps:                                 [  OK  ]
[...]
/etc/rc3.d/S26acpid: line 35: id: command not found
/etc/rc3.d/S26acpid: line 35: [: =: unary operator expected
/etc/rc3.d/S26haldaemon: line 32: id: command not found
/etc/rc3.d/S26haldaemon: line 32: [: =: unary operator expected
Retrigger failed udev events                               [  OK  ]
/etc/rc3.d/S50kdump: line 148: stat: command not found
/etc/rc3.d/S50kdump: line 171: stat: command not found
/etc/rc3.d/S50kdump: line 176: [: : integer expression expected
/etc/rc3.d/S50kdump: line 171: stat: command not found
/etc/rc3.d/S50kdump: line 176: [: : integer expression expected
/etc/rc3.d/S50kdump: line 280: dc: command not found
/etc/rc3.d/S50kdump: line 283: dc: command not found
/etc/rc3.d/S50kdump: line 371: /usr/bin/logger: No such file or directory
Starting kdump:                                            [  OK  ]
/etc/rc3.d/S50kdump: line 550: /usr/bin/logger: No such file or directory
mcelog not found
Starting mcelog daemon
/etc/init.d/functions: line 317: /usr/bin/dirname: No such file or directory
/bin/bash: /usr/sbin/mcelog: No such file or directory
/etc/rc3.d/S82abrt-ccpp: line 25: id: command not found    [FAILED]
/etc/rc3.d/S82abrtd: line 32: id: command not found

#rpm -qa
rpm: error while loading shared libraries: librpmbuild.so.1: cannot open shared object file: No such file or directory

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-LogVol03
                      2.9G  543M  2.2G  20% /
tmpfs                 872M     0  872M   0% /dev/shm
/dev/sda1             477M   81M  367M  18% /boot

#lvs
-bash: lvs: command not found

In some cases the server won't boot into runlevel 3 or 5; But can boot in single user mode. 

Changes

 Yum operations were performed.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.