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.

[[email protected] ~]# 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.

[[email protected] ~]# 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.

[[email protected] ~]# 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

[[email protected] ~]# lvscan

Output:

  ACTIVE            '/dev/VolGroup00/LogVol00' [5.40 TB] inherit

Kernel should now be able to mount the Logical Volume.

[[email protected] ~]# mount /dev/VolGroup00/LogVol00 /media/data

Verify the mounts using mount or df

[[email protected] ~]# mount

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

8 Comments

  • juandapedr

    January 22, 2015 at 3:10 pm Reply

    Hi, thanks for your solution. However, even though I have activated the volume groups of my lvm partition I can not mount any from a live CD. It says “special device 7dev/vg_ismo/lv_root does not exist”.

    Have a great day.

    • Gagan

      January 23, 2015 at 12:06 am Reply

      Are you able to see the volume or logical volume when you boot from live cd? What does lvscan and vgscan provide?

  • Ons

    January 23, 2015 at 1:19 pm Reply

    thanks for the solution !

  • Stephan Schielke

    August 25, 2015 at 3:03 pm Reply

    Thanks! Had the same problem but I still don’t know why the lv where inactive.

  • javier

    September 10, 2015 at 4:54 pm Reply

    Thanks!!!

  • M.Pasha

    April 14, 2016 at 4:31 am Reply

    Thanks for the doc. its helped me, I have created iSCSI drives and mounted to a destination server, than I have rebooted destination server and tried to #mount -a that I got error as above.

    Checked all iSCSI setting in ISCSI server and destination server, all were looking good. I followed your steps that my iSCSI LV’s were inactive state, activated back and mounted fine.

    I didn’t get proper root cause of it, is anybody having explanation.?

  • read me

    November 30, 2016 at 6:23 pm Reply

    Appreciate this post. Will try it out.

  • E Sinambo

    February 18, 2017 at 1:17 pm Reply

    Thank you! It works!

Post a Comment

Time limit is exhausted. Please reload CAPTCHA.