From: "Kirk Anderson" <kirkande@tx.rr.com>
To: 'Dave Chinner' <david@fromorbit.com>
Cc: xfs@oss.sgi.com
Subject: RE: Buffalo LS-Q4.0 Raid 5 XFS errors
Date: Thu, 29 Mar 2012 18:29:14 -0500 [thread overview]
Message-ID: <005501cd0e03$c1ccaf00$45660d00$@tx.rr.com> (raw)
In-Reply-To: <20120329230317.GD18323@dastard>
These two matched.
root@LS-QLF55:~# dd if=/dev/sda6 bs=512 count=1 2> /dev/null | hexdump -C >
dump_sda6.txt
root@LS-QLF55:~# dd if=/dev/md2 bs=512 count=1 2> /dev/null | hexdump -C >
dump_md2.txt
root@LS-QLF55:~# diff dump_sda6.txt dump_md2.txt
root@LS-QLF55:~#
root@LS-QLF55:~# dd if=/dev/md2 bs=512 count=4 2> /dev/null | hexdump -C
00000000 58 46 53 42 00 00 10 00 00 00 00 00 2b 4e 92 c0
|XFSB........+N..|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
00000020 1b 5a c5 ad cc e3 40 11 87 4d f5 8e 9b f8 37 c0
|.Z....@..M....7.|
00000030 00 00 00 00 20 00 00 07 00 00 00 00 00 00 01 00 |....
...........|
00000040 00 00 00 00 00 00 01 01 00 00 00 00 00 00 01 02
|................|
00000050 00 00 00 30 01 5a 74 a0 00 00 00 20 00 00 00 00 |...0.Zt....
....|
00000060 00 00 80 00 3d 84 10 00 01 00 00 10 00 00 00 00
|....=...........|
00000070 00 00 00 00 00 00 00 00 0c 0c 08 04 19 00 00 19
|................|
00000080 00 00 00 00 00 04 50 c0 00 00 00 00 00 00 02 ce
|......P.........|
00000090 00 00 00 00 0b ba 45 ab 00 00 00 00 00 00 00 00
|......E.........|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
000000b0 00 00 00 00 00 00 00 02 00 00 00 10 00 00 00 30
|...............0|
000000c0 00 0c 10 00 00 00 10 00 00 00 00 00 00 00 00 00
|................|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
00000800
root@LS-QLF55:~# xfs_db -c "sb 0" -c p -c "agf 0" -c p -c "agi 0" -c p
/dev/md2
cache_node_purge: refcount was 1, not zero (node=0xb1698)
xfs_db: cannot read root inode (22)
cache_node_purge: refcount was 1, not zero (node=0xb4e08)
xfs_db: cannot read realtime bitmap inode (22)
Segmentation fault
root@LS-QLF55:~#
Please let me know what my next steps are. Thanks, Kirk
-----Original Message-----
From: Dave Chinner [mailto:david@fromorbit.com]
Sent: Thursday, March 29, 2012 6:03 PM
To: Kirk Anderson
Cc: xfs@oss.sgi.com
Subject: Re: Buffalo LS-Q4.0 Raid 5 XFS errors
On Thu, Mar 29, 2012 at 05:15:08PM -0500, Kirk Anderson wrote:
> Thank you again for your help. Please let me know what my next step
> should be.
>
> Here is the output from the dd command. My understanding is that I
> use the
> /dev/sd[a-d]6 for mine as the cat /proc/mdstat indicated that
> md2 : active raid5 sda6[0] sdd6[3] sdc6[2] sdb6[1]
> 2906278656 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
>
> root@LS-QLF55:~# dd if=/dev/sda6 bs=512 count=1 2> /dev/null | hexdump
> -C
> 00000000 58 46 53 42 00 00 10 00 00 00 00 00 2b 4e 92 c0
> |XFSB........+N..|
.....
Ok, so that's a superblock. Does it match the output of
# dd if=/dev/md2 bs=512 count=1 2> /dev/null | hexdump -C
It should match according to the above, but it doesn't hurt to confirm. If
it doesn't then your RAID device has been SBTW and that's what you need to
fix first.
If it does match, can you dump the output of
# dd if=/dev/md2 bs=512 count=4 2> /dev/null | hexdump -C
and
# xfs_db -c "sb 0" -c p -c "agf 0" -c p -c "agi 0" -c p /dev/md2
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-03-29 23:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 0:06 Buffalo LS-Q4.0 Raid 5 XFS errors Kirk Anderson
2012-03-29 6:40 ` Dave Chinner
[not found] ` <002501cd0dbe$24be21c0$6e3a6540$@tx.rr.com>
2012-03-29 21:31 ` Dave Chinner
2012-03-29 22:15 ` Kirk Anderson
2012-03-29 23:03 ` Dave Chinner
2012-03-29 23:29 ` Kirk Anderson [this message]
2012-03-29 23:52 ` Dave Chinner
[not found] ` <005601cd0e11$c0b62d90$422288b0$@tx.rr.com>
2012-03-30 4:46 ` Eric Sandeen
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='005501cd0e03$c1ccaf00$45660d00$@tx.rr.com' \
--to=kirkande@tx.rr.com \
--cc=david@fromorbit.com \
--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