Re: Recovering data from old hard drive

"Matthew Bowie" <[email protected]>
Newsgroups gmane.org.user-groups.nmlug
Message-ID <[email protected]>
Ahh, it's installed to LVM.  You'll need to import the LVM disks.  I
haven't done it in a while, but you'll need to import the physical
volumes, import the volume groups, then the logical volumes, then you
should be able to mount it.  Look around for an LVM2 tutorial/cheat
sheet, it should help you out, or hopefully someone will have done
this recently and have more step by step instructions for you.

This is one of the reasons I'm moving all our LVM based storage over
to Solaris ZFS, so much easier to manage.

Matt

On Tue, Apr 29, 2008 at 3:47 PM,  <[email protected]> wrote:
> The output of fdisk is shown below. I think /dev/sdb2 is the root directory. When I do "sudo mount /dev/sdb2 /mnt/disk"
>  I get "mount: unknown filesystem type 'LVM2_member'". I tried adding -t ext2 and then -t ext3 to the command but it still doesn't work. What is the 8e file type?
>
>  mstarnes@Kubuntu:/mnt$ fdisk -l /dev/sdb
>
>  Disk /dev/sdb: 81.9 GB, 81964302336 bytes
>  255 heads, 63 sectors/track, 9964 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        9964    79931407+  8e  Linux LVM
>
>
>   -------------- Original message ----------------------
>  From: Nate Metheny <[email protected]>
>  > [email protected] wrote:
>
>
> > > I put the FC4 drive in an external USB enclosure and I can see some files but
>  > how do I get to my home directory?
>  >
>  > You'll have to examine the partition schema on the drive, (fdisk -l
>  > /dev/device, likely sdb, but you can get the device name via examining
>  > mount) and then mount the correct partition. Usually it'll just be the
>  > one that takes up the most blocks that has home directories on it.
>  >
>  > It'll be mounting the root (/) of your old machine, so don't get confused.
>  >
>  > >
>  > > mstarnes@Kubuntu:/media/-boot$ ls -al
>  > > total 10335
>  > > drwxr-xr-x 4 root root    1024 2005-11-20 21:40 .
>  > > drwxr-xr-x 5 root root    4096 2008-04-29 14:02 ..
>  > > -rw-r--r-- 1 root root   56991 2005-06-02 21:03 config-2.6.11-1.1369_FC4
>  > > -rw-r--r-- 1 root root   60376 2005-11-09 16:30 config-2.6.14-1.1637_FC4
>  > > drwxr-xr-x 2 root root    1024 2005-11-20 20:06 grub
>  > > -rw-r--r-- 1 root root 1708104 2005-11-19 16:58 initrd-2.6.11-1.1369_FC4.img
>  > > -rw-r--r-- 1 root root 1699812 2005-11-20 20:06 initrd-2.6.14-1.1637_FC4.img
>  > > drwx------ 2 root root   12288 2005-11-19 09:39 lost+found
>  > > -rw-r--r-- 1 root root   94600 2005-03-28 15:08 memtest86+-1.55.1
>  > > -rw-r--r-- 1 root root  764778 2005-06-02 21:03 System.map-2.6.11-1.1369_FC4
>  > > -rw-r--r-- 1 root root  801712 2005-11-09 16:30 System.map-2.6.14-1.1637_FC4
>  > > -rw-r--r-- 1 root root 1639539 2005-06-02 21:03 vmlinuz-2.6.11-1.1369_FC4
>  > > -rw-r--r-- 1 root root 1558522 2005-11-09 16:30 vmlinuz-2.6.14-1.1637_FC4
>  > > -rw-r--r-- 1 root root  189050 2005-08-23 12:58 xen-3.0-devel.gz
>  > > lrwxrwxrwx 1 root root      16 2005-11-20 20:45 xen-3.0.gz -> xen-3.0-devel.gz
>  > > lrwxrwxrwx 1 root root      16 2005-11-20 20:45 xen-3.gz -> xen-3.0-devel.gz
>  > > lrwxrwxrwx 1 root root      16 2005-11-20 20:45 xen.gz -> xen-3.0-devel.gz
>  > > -rw-r--r-- 1 root root 1925848 2005-08-23 12:58 xen-syms-3.0-devel
>
>
> _______________________________________________
>  NMLUG mailing list
>  [email protected]
>  http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug
>



-- 
Matthew Bowie
Programmer/IT Consultant
[email protected]
_______________________________________________
NMLUG mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.