<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><big><big><font face="monospace"><small><small>Here's
my output:<br>
<br>
# xfs_repair -n -r /dev/sda3 /dev/sda2<br>
Phase 1 - find and verify superblock...<br>
Phase 2 - using internal log<br>
- scan filesystem freespace and inode maps...<br>
- found root inode chunk<br>
Phase 3 - for each AG...<br>
- scan (but don't clear) agi unlinked lists...<br>
- process known inodes and perform inode
discovery...<br>
- agno = 0<br>
- agno = 1<br>
- agno = 2<br>
- agno = 3<br>
- agno = 4<br>
- agno = 5<br>
- agno = 6<br>
- agno = 7<br>
- agno = 8<br>
- agno = 9<br>
- agno = 10<br>
- agno = 11<br>
- agno = 12<br>
- agno = 13<br>
- agno = 14<br>
- agno = 15<br>
- process newly discovered inodes...<br>
Phase 4 - check for duplicate blocks...<br>
- setting up duplicate extent list...<br>
- check for inodes claiming duplicate blocks...<br>
- agno = 1<br>
- agno = 3<br>
- agno = 5<br>
- agno = 6<br>
- agno = 7<br>
- agno = 8<br>
- agno = 0<br>
- agno = 12<br>
- agno = 13<br>
- agno = 14<br>
- agno = 15<br>
- agno = 4<br>
- agno = 2<br>
- agno = 10<br>
- agno = 11<br>
- agno = 9<br>
No modify flag set, skipping phase 5<br>
Phase 6 - check inode connectivity...<br>
- traversing filesystem ...<br>
- traversal finished ...<br>
- moving disconnected inodes to lost+found ...<br>
Phase 7 - verify link counts...<br>
No modify flag set, skipping filesystem flush and
exiting.<br>
<br>
Best,<br>
J.</small></small></font></big></big><br>
<br>
On 12/22/2012 06:45 PM, Dave Chinner wrote:<br>
</div>
<blockquote cite="mid:20121222234532.GH15182@dastard" type="cite">
<pre wrap="">On Sat, Dec 22, 2012 at 11:10:24AM -0500, Jeffrey wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Ok, I tried running the command. Here's my output:
# xfs_repair -n -r /dev/sda2 /dev/sda3
# Phase 1 - find and verify superblock...
# bad primary superblock - bad magic number 111
#
# attempting to find secondary superblock...
# ................
and the dots are still just going after about 15 min.
What should I do?
</pre>
</blockquote>
<pre wrap="">
Try pointing xfs_repair to the correct devices. From looking atthe
earlier xfs_info output you posted, you've told it the
realtime device is the data device and vice versa. i.e. you should
be running:
# xfs_repair -n -r /dev/sda3 /dev/sda2
Cheers,
Dave.
</pre>
</blockquote>
<br>
</body>
</html>