[Tfug] Mount disk from old system

DON KIERZEK donkzk at msn.com
Wed Jan 23 17:08:12 MST 2008


Your /var/log/messages output indicates "added mount point /media/usbdisk 
for /dev/sdc1" (5th line from bottom) but there is no indication of a mount 
point being created for /dev/sdc2.  Do you have a mount point for it?  If 
not, do a "mkdir 2nd_hd" in the /media directory and do "mount /dev/sdc2 
/media/2nd_hd" and see if this works.  If it does, just make an entry in 
fstab.  Not familiar with LVM so I'm not sure if this works with it as it 
does w/regular partitions.

Good luck


>From: "Jim Secan" <jim at nwra.com>
>Reply-To: Tucson Free Unix Group <tfug at tfug.org>
>To: "Tucson Free Unix Group" <tfug at tfug.org>
>Subject: Re: [Tfug] Mount disk from old system
>Date: Wed, 23 Jan 2008 11:26:35 -0700 (MST)
>MIME-Version: 1.0
>Received: from jessica.dal.xstreamhost.com ([74.86.125.26]) by 
>bay0-mc9-f23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 
>23 Jan 2008 10:28:22 -0800
>Received: from localhost ([127.0.0.1] helo=jessica.dal.xstreamhost.com)by 
>jessica.dal.xstreamhost.com with esmtp (Exim 4.68)(envelope-from 
><tfug-bounces at tfug.org>)id 1JHkJY-0008Fj-5Q; Wed, 23 Jan 2008 12:27:08 
>-0600
>Received: from australis.nwra.com ([66.92.245.194])by 
>jessica.dal.xstreamhost.com with esmtps (TLSv1:AES256-SHA:256)(Exim 4.68) 
>(envelope-from <jim at nwra.com>) id 1JHkJ5-0008Cw-N3for tfug at tfug.org; Wed, 
>23 Jan 2008 12:26:39 -0600
>Received: from australis.nwra.com (localhost.localdomain [127.0.0.1])by 
>australis.nwra.com (8.13.8/8.13.8) with ESMTP id 
>m0NIQZRX019883(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 
>verify=NOT);Wed, 23 Jan 2008 10:26:38 -0800
>Received: (from apache at localhost)by australis.nwra.com 
>(8.13.8/8.13.8/Submit) id m0NIQZK6019882;Wed, 23 Jan 2008 11:26:35 -0700
>Received: from 69.9.10.34 (SquirrelMail authenticated user jim)by 
>mail.nwra.com with HTTP; Wed, 23 Jan 2008 11:26:35 -0700 (MST)
>X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
>X-Message-Info: 
>EoYTbT2lH2PbnUeE5IwnZD1Zic+KoBL+AkTHU8BelrL6z8qdpcTv2wFjlaPfy4YqOyulFA0PW9xd/a37tGROWuQ8WEJdiF5S
>X-Authentication-Warning: australis.nwra.com: apache set sender 
>tojim at nwra.com using -f
>References: 
><d907e9d50801220926r7761c8c4wcf29ec09f1b008b2 at mail.gmail.com><2450.69.9.10.34.1201045131.squirrel at mail.nwra.com><793031a80801221547h5aa1c4a5l8a61e181fc889d67 at mail.gmail.com><200801221902.51531.choprboy at dakotacom.net>
>User-Agent: SquirrelMail/1.4.8-4.0.1..el5.centos.1
>X-Spam-Status: No, score=-104.4 required=5.0 
>tests=ALL_TRUSTED,BAYES_00,USER_IN_WHITELIST autolearn=ham version=3.1.9, 
>No, No
>X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on 
>australis.nwra.com
>X-cPanel-MailScanner: Found to be clean, Found to be clean
>X-cPanel-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, 
>score=0,required 4, autolearn=not spam), not spam, SpamAssassin (not 
>cached, score=0,required 4)
>X-BeenThere: tfug at tfug.org
>X-Mailman-Version: 2.1.9.cp2
>Precedence: list
>List-Id: Tucson Free Unix Group <tfug_tfug.org.tfug.org>
>List-Unsubscribe: 
><http://www.tfug.org/mailman/listinfo/tfug_tfug.org>,<mailto:tfug-request at tfug.org?subject=unsubscribe>
>List-Archive: <http://www.tfug.org/pipermail/tfug_tfug.org>
>List-Post: <mailto:tfug at tfug.org>
>List-Help: <mailto:tfug-request at tfug.org?subject=help>
>List-Subscribe: 
><http://www.tfug.org/mailman/listinfo/tfug_tfug.org>,<mailto:tfug-request at tfug.org?subject=subscribe>
>Errors-To: tfug-bounces at tfug.org
>X-cPanel-MailScanner-Information: Please contact the ISP for more 
>information
>X-cPanel-MailScanner-From: tfug-bounces at tfug.org
>X-AntiAbuse: This header was added to track abuse, please include it with 
>any abuse report
>X-AntiAbuse: Primary Hostname - jessica.dal.xstreamhost.com
>X-AntiAbuse: Original Domain - msn.com
>X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
>X-AntiAbuse: Sender Address Domain - tfug.org
>Return-Path: tfug-bounces at tfug.org
>X-OriginalArrivalTime: 23 Jan 2008 18:28:23.0954 (UTC) 
>FILETIME=[BCFF4F20:01C85DED]
>
>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?
>
>
>_______________________________________________
>Tucson Free Unix Group - tfug at tfug.org
>Subscription Options:
>http://www.tfug.org/mailman/listinfo/tfug_tfug.org






More information about the tfug mailing list