From: Russell Cattelan <cattelan@thebarn.com>
To: Stephen Porter <stephenp@r-s.com.au>
Cc: xfs@oss.sgi.com
Subject: Re: Power loss causes bad magic number??
Date: Thu, 17 Jul 2008 08:36:05 -0500 [thread overview]
Message-ID: <487F4AC5.3000806@thebarn.com> (raw)
In-Reply-To: <F46A887185FC6044A7FAC577E31118AE021E0625@rsbne01.RSBNE.LOCAL>
Stephen Porter wrote:
>
> -----Original Message-----
> From: Dave Chinner [mailto:david@fromorbit.com]
>
>
>> That looks like a boot loader.
>>
>
> That's what I thought, but again, this isn't a boot volume, could running xfs_repair without the -n have done this?
>
>
>> And at 0x200 I'd expect to see an AGF header, not zeros. To
>> me, that says that either XFS is inside a partition on the drive
>> or someone ran a partitioning tool on /dev/sdc and overwrote the
>> XFS filesystem headers...
>>
>
> relevant line from /etc/fstab:
>
> /dev/sdc /home/username/Data xfs defaults 0 2
>
> the raid management tool is reporting everythings ok... any idea what could have caused this?
>
> ....
>
> Ok, my apologies, I've just done an ls of /dev/sd* and the devices have been remapped (any idea what would have caused that?), sdc is no longer sdc, it is now sda, the boot devices are now detected as sdb and sdc (2 mirrored physical disks, used to be sda and sdb). How was the machine able to boot? I'm more confused than ever now, but the data is all there.
>
Heh welcome to the world of linux's poor device name handling.
Did you make some sort of change to the hardware? added drives, moved
cards around, etc?
Anything that changes the order that drives are discovered will affect
the sd[a-...] naming.
Mount by label or mount by uuid may be your friend in this case.
> Sorry for wasting everyones time.
>
> Regards,
>
> Stephen.
>
>
>
>
> [[HTML alternate version deleted]]
>
>
next prev parent reply other threads:[~2008-07-17 13:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 2:18 Power loss causes bad magic number?? Stephen Porter
2008-07-16 2:40 ` Eric Sandeen
2008-07-16 7:01 ` Stephen Porter
2008-07-16 7:35 ` Dave Chinner
2008-07-16 8:17 ` Stephen Porter
2008-07-16 16:00 ` Chris Wedgwood
2008-07-17 13:36 ` Russell Cattelan [this message]
2008-07-17 21:52 ` Stephen Porter
2008-07-18 11:17 ` Andi Kleen
2008-07-18 18:19 ` Peter Grandi
2009-02-07 20:46 ` kevin.dual
2009-02-07 21:10 ` Eric Sandeen
2009-02-07 21:54 ` Eric Sandeen
2009-02-08 6:10 ` Kevin Dual
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=487F4AC5.3000806@thebarn.com \
--to=cattelan@thebarn.com \
--cc=stephenp@r-s.com.au \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox