On Sat, Aug 21, 2010 at 1:51 PM, Mathieu Malaterre
<mathieu.malate...@gmail.com> wrote:
> Hi there,
>
>  I am trying to mount an IDE disk from an old (broken) machine. I am
> using a USB adaptor. After attaching the IDE disk to the USB adaptor,
> I cannot do anything with the disk.
>
> dmesg reveal:
>
> [13927.196346] usb-storage: device scan complete
> [13927.503084] scsi 4:0:0:0: Direct-Access     ST320413 A
>  0000 PQ: 0 ANSI: 0
> [13927.504751] sd 4:0:0:0: Attached scsi generic sg2 type 0
> [13927.505864] sd 4:0:0:0: [sdb] 39102336 512-byte logical blocks:
> (20.0 GB/18.6 GiB)
> [13927.506727] sd 4:0:0:0: [sdb] Write Protect is off
> [13927.506734] sd 4:0:0:0: [sdb] Mode Sense: 27 00 00 00
> [13927.506739] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [13927.508348] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [13927.508355]  sdb: sdb1 < sdb5 sdb6 sdb7 >
> [13927.549046] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [13927.549050] sd 4:0:0:0: [sdb] Attached SCSI disk
> [13930.050201] sr 0:0:0:0: [sr0] Unhandled sense code
> [13930.050209] sr 0:0:0:0: [sr0] Result: hostbyte=DID_OK 
> driverbyte=DRIVER_SENSE
> [13930.050218] sr 0:0:0:0: [sr0] Sense Key : Hardware Error [current]
> [13930.050227] sr 0:0:0:0: [sr0] Add. Sense: Timeout on logical unit
> [13930.050237] sr 0:0:0:0: [sr0] CDB: Read(10): 28 00 00 01 87 68 00 00 01 00
> [13930.050256] end_request: I/O error, dev sr0, sector 400800
> [13930.050267] Buffer I/O error on device sr0, logical block 100200
>
> When trying to mount, I get:
>
>
> $ sudo mount  -t auto  /dev/sdb7 /tmp/test
> mount: unknown filesystem type 'LVM2_member'
>
> But it looks like I do have a LVM2 filesystem on this disk:
>
> $ sudo pvs
>  PV         VG          Fmt  Attr PSize   PFree
>  /dev/sda2  dhcp-67-183 lvm2 a-   148.81G    0
>  /dev/sdb7  Debian      lvm2 a-    17.89G    0
>
> Same issue with :
>
> $ sudo lvdisplay /dev/sdb7
>  Volume group "sdb7" not found

Answering myself, one need to use the name in the VG column (not the /dev id):

  sudo lvdisplay Debian
  sudo vgchange -ay /dev/Debian
  sudo mount /dev/Debian/home /tmp/test

Cheers

-- 
Mathieu


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikjvrnrihgsqmfoi1guuedf7bcal9rd1dwxk...@mail.gmail.com

Reply via email to