AW: LVM Problem Mounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm missing a "lvchange":

lvchange -- Logical Volume Change

Synopsis:
---------

lvchange
        [-A/--autobackup y/n]
        [-a/--available y/n]
        [-C/--contiguous y/n]
        [-d/--debug]
        [-h/--help]
        [-p/--permission r/rw]
        [-r/--readahead ReadAheadSectors]
        [-v/--verbose]
        LogicalVolume[Path] [LogicalVolume[Path]...]

Set that device "available"... and the mount should work.

cu,
 Joe

>Hi all,
>
>Can someone help me with my LVM. My machine crashed and failed to boot.
>
>I am trying to recover the LVM2 as follows but I keep getting erros
>can someone help me save my data.
>
>Here is some info that may help.
>
>vgscan
>  Reading all physical volumes.  This may take a while...
>  Found volume group "VolGroup00" using metadata type lvm2
>
>vgdisplay
>  --- Volume group ---
>  VG Name               VolGroup00
>  System ID
>  Format                lvm2
>  Metadata Areas        1
>  Metadata Sequence No  3
>  VG Access             read/write
>  VG Status             resizable
>  MAX LV                0
>  Cur LV                2
>  Open LV               0
>  Max PV                0
>  Cur PV                1
>  Act PV                1
>  VG Size               186.19 GB
>  PE Size               32.00 MB
>  Total PE              5958
>  Alloc PE / Size       5957 / 186.16 GB
>  Free  PE / Size       1 / 32.00 MB
>  VG UUID               B7Lwfk-8Ltf-RTOr-LxjC-SR0D-LlJw-d6onq0
>
>pvscan
>  PV /dev/mapper/hda2   VG VolGroup00   lvm2 [186.19 GB / 32.00 MB free]
>  Total: 1 [186.19 GB] / in use: 1 [186.19 GB] / in no VG: 0 [0   ]
>
>fdisk -l
>
>Disk /dev/hda: 200.0 GB, 200049647616 bytes
>255 heads, 63 sectors/track, 24321 cylinders
>Units = cylinders of 16065 * 512 = 8225280 bytes
>
>   Device Boot      Start         End      Blocks   Id  System
>/dev/hda1   *           1          13      104391   83  Linux
>/dev/hda2              14       24321   195254010   8e  Linux LVM
>
>
>This is what I get when trying to mount the drive.
>
>#mount -t ext3 /dev/VolGroup00/LogVol01 /recover/
>mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/LogVol01,
>       missing codepage or other error
>
>Any one got any ideas?


-- 
Dipl.-Ing. Jörg Ventker, RHCE      eMail joe@xxxxxxxxxxxxxxxxx
Schlösserweg 26                    phone (+49)(0)2572-87 14 87
D-48282 Emsdetten                  mobil (+49)(0)170-44 900 14 (pref)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux