{"id":4687,"date":"2015-04-28T10:30:46","date_gmt":"2015-04-28T02:30:46","guid":{"rendered":"http:\/\/rmohan.com\/?p=4687"},"modified":"2015-04-28T10:53:25","modified_gmt":"2015-04-28T02:53:25","slug":"solved-mount-special-device-devvolgroup00logvol00-does-not-exist","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=4687","title":{"rendered":"Solved mount: special device \/dev\/VolGroup00\/LogVol00 does not exist"},"content":{"rendered":"<p>Solved mount: special device \/dev\/VolGroup00\/LogVol00 does not exist<\/p>\n<p>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.<\/p>\n<p>[root@rmohan ~]# mount \/dev\/VolGroup00\/LogVol00 \/media\/data<\/p>\n<p>Output:<\/p>\n<p>mount: special device \/dev\/VolGroup00\/LogVol00 does not exist<\/p>\n<p>Maybe in your case the VolumeGroup name would be different, so can be the LogicalVolume name.<\/p>\n<p>Solved mount: special device \/dev\/VolGroup00\/LogVol00 does not exist<\/p>\n<p>In order to fix this problem I ran the standard display commands (pvdisplay, vgdisplay, lvdisplay) under LVM. However, everything looked good.<\/p>\n<p>I then ran lvscan which provided some interesting results.<\/p>\n<p>[root@rmohan ~]# lvscan<\/p>\n<p>Output:<\/p>\n<p>inactive\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8216;\/dev\/VolGroup00\/LogVol00&#8217; [5.40 TB] inherit<\/p>\n<p>So it looks like the Volume Group and the Logical Volume is in INACTIVE state for the kernel.<\/p>\n<p>We will have to enable the Volume Group for Kernel to be able to mount it.<\/p>\n<p>The following is how we can enable a Volume Group.<\/p>\n<p>[root@rmohan ~]# vgchange -ay VolGroup00<\/p>\n<p>Where,<\/p>\n<p>-a Controls the availability or unavailability of the logical volumes. It makes the volume available or unavailable to the kernel.<\/p>\n<p>Output:<\/p>\n<p>1 logical volume(s) in volume group &#8220;VolGroup00&#8221; now active<\/p>\n<p>Verify the Volumes again using lvscan<\/p>\n<p>[root@rmohan ~]# lvscan<\/p>\n<p>Output:<\/p>\n<p>ACTIVE\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8216;\/dev\/VolGroup00\/LogVol00&#8217; [5.40 TB] inherit<\/p>\n<p>Kernel should now be able to mount the Logical Volume.<\/p>\n<p>[root@rmohan ~]# mount \/dev\/VolGroup00\/LogVol00 \/media\/data<\/p>\n<p>Verify the mounts using mount or df<\/p>\n<p>[root@rmohan ~]# mount<\/p>\n<p>Solved mount: special device \/dev\/VolGroup00\/LogVol00 does not exist<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Solved mount: special device \/dev\/VolGroup00\/LogVol00 does not exist<\/p>\n<p>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.<\/p>\n<p>[root@rmohan ~]# mount \/dev\/VolGroup00\/LogVol00 \/media\/data<\/p>\n<p>Output:<\/p>\n<p>mount: special device \/dev\/VolGroup00\/LogVol00 does not exist<\/p>\n<p>Maybe in [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,17],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4687"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4687"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4687\/revisions"}],"predecessor-version":[{"id":4688,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4687\/revisions\/4688"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}