Link to home
Start Free TrialLog in
Avatar of Shaun Wingrin
Shaun WingrinFlag for South Africa

asked on

Software required to mount Linux LVM Volume

Say, I have a Linux Volume that have been unable to mount - was part of a software Raid and looking for Linux software that can automatically attempt to mount this volume - need contents of the mysql directory and then can format the drive :)

Details of the entire system below.

I want to only mount
/dev/sdb2              14       30272   243055417+  8e  Linux LVM


In the interim sda has been removed - system is even simpler.

The software should preferably create a boot Disk or else have a GUI from withing CentOS 7 or Ubuntu as have Live CD's for both.

Tx
[root@192 ~]#
[root@192 ~]# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       30401   244091610   8e  Linux LVM

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   83  Linux
/dev/sdb2              14       30272   243055417+  8e  Linux LVM
[root@192 ~]# fdisk -l parted -l
[root@192 ~]# parted -l

Model: ATA VB0250EAVER (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      32.3kB  107MB  107MB  primary  ext3         boot
 2      107MB   250GB  250GB  primary               lvm



Model: ATA VB0250EAVER (scsi)
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      32.3kB  107MB  107MB  primary  ext3         boot
 2      107MB   249GB  249GB  primary               lvm


Error: Unable to open /dev/md0 - unrecognised disk label.

[root@192 ~]# lvmdiskscan
  /dev/ramdisk                 [       16.00 MB]
  /dev/root                    [      229.06 GB]
  /dev/ram                     [       16.00 MB]
  /dev/sda1                    [      101.94 MB]
  /dev/VolGroup00/LogVol01     [        3.72 GB]
  /dev/ram2                    [       16.00 MB]
  /dev/sda2                    [      232.78 GB] LVM physical volume
  /dev/mapper/pdc_ecgdbbhfgj   [      231.90 GB]
  /dev/ram3                    [       16.00 MB]
  /dev/mapper/pdc_ecgdbbhfgjp1 [      101.94 MB]
  /dev/ram4                    [       16.00 MB]
  /dev/mapper/pdc_ecgdbbhfgjp2 [      231.80 GB] LVM physical volume
  /dev/ram5                    [       16.00 MB]
  /dev/ram6                    [       16.00 MB]
  /dev/ram7                    [       16.00 MB]
  /dev/ram8                    [       16.00 MB]
  /dev/ram9                    [       16.00 MB]
  /dev/ram10                   [       16.00 MB]
  /dev/ram11                   [       16.00 MB]
  /dev/ram12                   [       16.00 MB]
  /dev/ram13                   [       16.00 MB]
  /dev/ram14                   [       16.00 MB]
  /dev/ram15                   [       16.00 MB]
  /dev/sdb1                    [      101.94 MB]
  /dev/sdb2                    [      231.80 GB]
  4 disks
  19 partitions
  0 LVM physical volume whole disks
  2 LVM physical volumes
[root@192 ~]#
[root@192 ~]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/mapper/pdc_ecgdbbhfgjp2
  VG Name               VolGroup00
  PV Size               231.80 GB / not usable 14.81 MB
  Allocatable           yes (but full)
  PE Size (KByte)       32768
  Total PE              7417
  Free PE               0
  Allocated PE          7417
  PV UUID               j3jNjX-SbV2-AcW7-w6Tm-JMVi-rBfc-V1iXPb

  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               VolGroup00
  PV Size               232.78 GB / not usable 2.71 MB
  Allocatable           yes (but full)
  PE Size (KByte)       32768
  Total PE              7449
  Free PE               0
  Allocated PE          7449
  PV UUID               eaJRgM-Vdad-HWd2-79LJ-cp0q-TP84-DbgJR5

[root@192 ~]# 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               231.78 GB
  PE Size               32.00 MB
  Total PE              7417
  Alloc PE / Size       7417 / 231.78 GB
  Free  PE / Size       0 / 0
  VG UUID               AFzr9J-YbQ0-pD1u-JKfj-hasE-LuNx-vnOxIO

  --- 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               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               232.78 GB
  PE Size               32.00 MB
  Total PE              7449
  Alloc PE / Size       7449 / 232.78 GB
  Free  PE / Size       0 / 0
  VG UUID               Cr9FBh-D68g-VWl8-QU5W-iX1i-npEu-EnWv9c

[root@192 ~]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                OfNYTY-T0RM-d8Bx-9GM3-y3E2-z2lh-6bWGau
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                228.06 GB
  Current LE             7298
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                e9c2oV-oGVm-EpYZ-VDNM-babQ-PTr1-D232Pe
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                3.72 GB
  Current LE             119
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

[root@192 ~]#

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Shaun Wingrin

ASKER

Afraid I need actual software - doesn't pick up any lvm but data intac.
Need software recommendation pls
I've brocken the Raid drives and booting in Knoppix Live CD, I've inserted a single disk.
If I run LVM commands - tells me no Volumes found.

fdisk -l shows me
sda1- this is the boot partition and mounted
sda2 Linux Extended (The data I want to browse)

When attempting to mount get error:
mount: unknown filesystem type 'promise_fasttrack_raid_member'

Please help.... !
I've seen this post and doesn't help!