[Wylug-help] Mounting LVM partition - Re: SATA HDD in an external case over USB - 2 partitions

Gary Stainburn gary.stainburn at ringways.co.uk
Thu Jun 24 14:25:53 UTC 2010


On Thursday 24 June 2010 14:16:17 James Holden wrote:
> On Thu, 2010-06-24 at 14:01 +0100, Gary Stainburn wrote:
> > sd 5:0:0:0: Attached scsi generic sg2 type 0
> > sd 5:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
> > sd 5:0:0:0: [sdb] Using 0xffffffff as device size
> > sd 5:0:0:0: [sdb] 4294967296 512-byte logical blocks: (2.19 TB/2.00
> > TiB)
> > sd 5:0:0:0: [sdb] Write Protect is off
>
> I'd send the SATA adapter back, it's obviously returning crap to the OS.
>
> James

By a process of elimination, unplugging, removing and reseating the HDD, 
rebooting etc., I have got the HDD working and am currently copying across 
the contents of the NTFS partition (/dev/sdb1).
Also auto-mounted was the boot partition (/dev/sdb2)
However, I can't get the main root partition to mount. As the fdisk shows, 
this was a LVM.

Can anyone please tell me how to mount the LVM so I can copy the contents 
across.

Gary

[root at dcomp5 ~]# fdisk -l /dev/sdb

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa42d04a3

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1          13      104391   de  Dell Utility
/dev/sdb2              14       15481   124246710    7  HPFS/NTFS
/dev/sdb3   *       15482       15507      204800   83  Linux
/dev/sdb4           15508       38913   188008695    5  Extended
/dev/sdb5           15508       38913   188008448   8e  Linux LVM
[root at dcomp5 ~]#

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



More information about the Wylug-help mailing list