LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-27-2013, 01:52 AM   #1
mahmoodn
Member
 
Registered: May 2010
Posts: 427

Rep: Reputation: 16
After reboot, mount says "special device *LVM* does not exist"


I have created a LVM drive from 3 physical volumes. Everything was fine, however after reboot, I can not mount is anymore.

The specifications are

Code:
root@orca:~# lvdisplay
  --- Logical volume ---
  LV Name                /dev/orcafiler1/orcavolume
  VG Name                orcafiler1
  LV UUID                ViopUK-WTiy-bwzw-jpkL-oeF9-AvQV-Q0J6Fi
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                2.73 TiB
  Current LE             715401
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
and
Code:
root@orca:~# vgdisplay
  --- Volume group ---
  VG Name               orcafiler1
  System ID
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               2.73 TiB
  PE Size               4.00 MiB
  Total PE              715401
  Alloc PE / Size       715401 / 2.73 TiB
  Free  PE / Size       0 / 0
  VG UUID               RfdmkM-LHVF-GD0p-k0wF-2ogI-n1jN-JikdOn
and
Code:
root@orca:~# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdc
  VG Name               orcafiler1
  PV Size               931.51 GiB / not usable 1.71 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              238467
  Free PE               0
  Allocated PE          238467
  PV UUID               WueSbY-bBRb-2gzZ-8u0Z-LxPu-TAy4-lE3nNY

  --- Physical volume ---
  PV Name               /dev/sdd
  VG Name               orcafiler1
  PV Size               931.51 GiB / not usable 1.71 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              238467
  Free PE               0
  Allocated PE          238467
  PV UUID               V81x3q-c05m-Kp8U-179F-XJ2m-zooQ-i3vLs5

  --- Physical volume ---
  PV Name               /dev/sde
  VG Name               orcafiler1
  PV Size               931.51 GiB / not usable 1.71 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              238467
  Free PE               0
  Allocated PE          238467
  PV UUID               cSmqws-RCKn-n8Jr-AGqw-wLNd-Ylon-ABB3xE
I also have an entry in my fstab

Code:
root@orca:~# cat /etc/fstab
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=b57eae64-f270-4825-9ff0-040264fb33ac /               ext3    errors=remount-ro 0       0
# /home was on /dev/sdb1 during installation
UUID=c2d5decb-0615-48bd-9f8f-40eba852329e /home           ext3    defaults        0       0
# swap was on /dev/sda1 during installation
UUID=54582723-d970-46f4-a24d-9c6d25ca16c6 none            swap    sw              0       0
/dev/orcafiler1/orcavolume       /data    ext3  defaults 0 0
However when I run "mount -a", I get this error

Code:
root@orca:~# mount -a
mount: special device /dev/orcafiler1/orcavolume does not exist
Also /data is now empty! How can I fix that?
 
Old 04-27-2013, 07:48 AM   #2
Sigg3.net
Member
 
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173

Rep: Reputation: 28
Is the volume group active?

Code:
# vgchange -a y orcafiler1
 
Old 04-27-2013, 07:53 AM   #3
mahmoodn
Member
 
Registered: May 2010
Posts: 427

Original Poster
Rep: Reputation: 16
Thanks. After running that command, it said the volume is now active!
I wonder why the volume went inactive?!!
 
Old 04-27-2013, 07:57 AM   #4
Sigg3.net
Member
 
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173

Rep: Reputation: 28
Probably because you were editing/creating it. It can't be active during those procedures
 
Old 04-27-2013, 08:04 AM   #5
mahmoodn
Member
 
Registered: May 2010
Posts: 427

Original Poster
Rep: Reputation: 16
Now it is permanently active or not? I mean should I run that command after every boot?
Since it is a sever and users use that, it is not possible to test that at the moment.
 
Old 04-27-2013, 08:18 AM   #6
Sigg3.net
Member
 
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173

Rep: Reputation: 28
Try a reboot and see.
When I setup slackware on LVM I don't have to do it twice, only after I've created the layout. But try a reboot and see
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Encrypted partition won't mount "device ... does not exist" CRC123 Linux - Security 4 01-02-2009 08:31 AM
Mount: Special device hda does not exist rohin t narayan Debian 9 07-30-2007 12:57 PM
mount: special device /dev/cdrom does not exist clau_bolson Linux - Hardware 5 07-12-2007 10:39 AM
Special device /dev/volgrp/logvol does not exist - LVM not working. budhead Red Hat 1 10-25-2006 03:20 PM
mount: special device /dev/cdrom does not exist robrichards Linux - Hardware 20 02-15-2005 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration