xfs
[Top] [All Lists]

Re: XFS - hard drive dying

To: evilninja <evilninja@xxxxxxx>
Subject: Re: XFS - hard drive dying
From: A JM <vbtalent@xxxxxxxxx>
Date: Sat, 3 Sep 2005 14:01:29 -0400
Cc: linux-xfs@xxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=eIQjTbyiRFzZXSWbl4FKjuZdKJn/FwqLUTluVecOkV1ZrkcudQQ/vA+L3oQDQEpQ1CQU+6HG1C6b98ey9JluZkOLcGSGUHD9TmUqJrWq1ZmXWotJ9EFpjm3dMW2Adjic5haBEnwB8y99ZoP9wFg8MUvGOwxpewfAaxXHuCFFeb8=
In-reply-to: <4319B8DD.7080200@xxxxxxx>
References: <a0f05e8905090215183e30f40c@xxxxxxxxxxxxxx> <a0f05e8905090303584075a22e@xxxxxxxxxxxxxx> <4319B8DD.7080200@xxxxxxx>
Reply-to: vbtalent@xxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
> 
> Thanks for the reply Christian. Point taken on the filesystem. 

 Just so that I understand and know that I have creted the backup device 
correctly please tell me if the following steps were correct.
 1) I deleted all partitions on the destination device.
 2) I dd_rescued to the new device using the following 'dd_rescue /dev/hdd 
/dev/hdb' (hdd being the bad drive and hdb being the good drive)

3) I ran xfs_repair /dev/hdb.
  I just looked at the dev/hdb using fdisk and this is what it shows.

root@0[knoppix]# fdisk /dev/hdb

The number of cylinders for this disk is set to 30515.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 24792 199141708+ 8e Linux LVM 
  So, it appears to have copied the information over correctly because the 
entire drive was used in the LVM.

Should I have used /dev/hdb1 when trying xfs_repair assuming it's an xfs 
file system?

AJM,


[[HTML alternate version deleted]]


<Prev in Thread] Current Thread [Next in Thread>