[ale] Can't find LVM volumes on USB drive
Jim Kinney
jim.kinney at gmail.com
Fri Nov 30 11:18:02 EST 2012
It may be possible to restore access by recreating the partitions as they
were originally. Basically, remove and remake them. Then create a new LV
with some name you choose and try the lvscan again.
The problem is that this arrangement looks like a default
rhel/centos/fedora drive with sde1 is boot, sde2 is swap and sde3 is LVM
with / and home. If you just create a single LV inside sde3 you may be able
to extract most of the stuff up to the boundary that no longer exists. Ugh.
On Thu, Nov 29, 2012 at 7:22 PM, Jim Lynch <ale_nospam at fayettedigital.com>wrote:
> I had a disk starting to develop problems according to SMART. Excessive
> bad sectors so I replaced it. To make a long story short, I trashed a
> partition on the new disk accidently so I plugged the old one into a USB/HD
> jig to try to get some data from it. fdisk -l /dev/sde shows:
>
> /dev/sde1 1 6079 48829536 83 Linux
> /dev/sde2 6080 18238 97667167+ 83 Linux
> /dev/sde3 18239 60801 341887297+ 8e Linux LVM
>
> If I attempt to mount /dev/sde3 it complains about
> mount: you must specify the filesystem type
>
> vgscan doesn't find anything on that drive. It does find a volume group
> on /dev/sda however.
>
> I tried an fsck /dev/sde3 and got bunches of errors that looked bad. I
> answered no to fixing them. I'm not surprised at this since I'm sure this
> device had an lvm volume on it at one time.
>
>
> Is there any way to recover this? Every time I set a system up with LVM I
> run into these kinds of problems. You'd think I'd learn eventually.
>
> Thanks,
> Jim.
>
>
> ______________________________**_________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/**listinfo/ale<http://mail.ale.org/mailman/listinfo/ale>
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/**listinfo<http://mail.ale.org/mailman/listinfo>
>
--
--
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20121130/45e03492/attachment.html>
More information about the Ale
mailing list