April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Solved mount: special device /dev/VolGroup00/LogVol00 does not exist

Solved mount: special device /dev/VolGroup00/LogVol00 does not exist

There are times when using LVM you might come accross the error while mounting an LVM partition. The error that we are discussing here is mount: special device /dev/VolGroup00/LogVol00 does not exist.

[root@rmohan ~]# mount /dev/VolGroup00/LogVol00 /media/data

Output:

mount: special device /dev/VolGroup00/LogVol00 does not exist

Maybe in your case the VolumeGroup name would be different, so can be the LogicalVolume name.

Solved mount: special device /dev/VolGroup00/LogVol00 does not exist

In order to fix this problem I ran the standard display commands (pvdisplay, vgdisplay, lvdisplay) under LVM. However, everything looked good.

I then ran lvscan which provided some interesting results.

[root@rmohan ~]# lvscan

Output:

inactive            ‘/dev/VolGroup00/LogVol00’ [5.40 TB] inherit

So it looks like the Volume Group and the Logical Volume is in INACTIVE state for the kernel.

We will have to enable the Volume Group for Kernel to be able to mount it.

The following is how we can enable a Volume Group.

[root@rmohan ~]# vgchange -ay VolGroup00

Where,

-a Controls the availability or unavailability of the logical volumes. It makes the volume available or unavailable to the kernel.

Output:

1 logical volume(s) in volume group “VolGroup00” now active

Verify the Volumes again using lvscan

[root@rmohan ~]# lvscan

Output:

ACTIVE            ‘/dev/VolGroup00/LogVol00’ [5.40 TB] inherit

Kernel should now be able to mount the Logical Volume.

[root@rmohan ~]# mount /dev/VolGroup00/LogVol00 /media/data

Verify the mounts using mount or df

[root@rmohan ~]# mount

Solved mount: special device /dev/VolGroup00/LogVol00 does not exist

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>