[Tfug] Mount disk from old system
Jim Secan
jim at nwra.com
Wed Jan 23 11:26:35 MST 2008
Here's the relevant output from /var/log/messages (rather than dmesg),
output from "fdisk -l", and output from pvs. Not being knowledgeable
about LVM, I assume the problem is likely that /dev/sda2 (internal drive)
and /dev/sdc2 (old internal drive, now attached via USB) have the same VG
name. If this is indeed the problem (and not, I'm hoping, that the
partition is hosed), how do I go about fixing the problem so I can mount
that partition?
Jim
from var/log/messages after old drive connected via USB:
--------------------------------------------------------
Jan 23 09:27:55 sadie kernel: usb 1-3: new high speed USB device using
address 3
Jan 23 09:27:55 sadie kernel: scsi5 : SCSI emulation for USB Mass Storage
devices
Jan 23 09:27:55 sadie kernel: Vendor: WDC WD20 Model: 00JS-00MHB0
Rev: 1C03
Jan 23 09:27:55 sadie kernel: Type: Direct-Access
ANSI SCSI revision: 02
Jan 23 09:27:55 sadie kernel: SCSI device sdc: 390721968 512-byte hdwr
sectors (200050 MB)
Jan 23 09:27:55 sadie kernel: sdc: assuming drive cache: write through
Jan 23 09:27:55 sadie kernel: SCSI device sdc: 390721968 512-byte hdwr
sectors (200050 MB)
Jan 23 09:27:55 sadie kernel: sdc: assuming drive cache: write through
Jan 23 09:27:55 sadie kernel: sdc: sdc1 sdc2
Jan 23 09:27:55 sadie kernel: Attached scsi disk sdc at scsi5, channel 0,
id 0, lun 0
Jan 23 09:27:55 sadie scsi.agent[4946]: disk at
/devices/pci0000:00/0000:00:0b.1/usb1/1-3/1-3:1.0/host5/target5:0:0/5:0:0:0
Jan 23 09:27:55 sadie fstab-sync[5061]: added mount point /media/usbdisk
for /dev/sdc1
Jan 23 09:27:55 sadie kernel: kjournald starting. Commit interval 5 seconds
Jan 23 09:27:55 sadie kernel: EXT3 FS on sdc1, internal journal
Jan 23 09:27:55 sadie kernel: EXT3-fs: mounted filesystem with ordered
data mode.
Jan 23 09:31:04 sadie kernel: VFS: Can't find ext3 filesystem on dev sdc2.
-------------------------------------------------------------------------------
>From 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/sdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 13 104391 83 Linux
/dev/sdc2 14 24321 195254010 8e Linux LVM
-------------------------------------------------------------------------------
>From pvs
--------
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a- 232.78G 32.00M
/dev/sdc2 VolGroup00 lvm2 a- 186.19G 128.00M
Choprboy wrote:
> On Tuesday 22 January 2008 16:47, Jude Nelson wrote:
>> What's dmesg show?
More information about the tfug
mailing list