All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dragos <dragos@mpigani.org>
To: David Chinner <dgc@sgi.com>
Cc: Michael Tokarev <mjt@tls.msk.ru>,
	David Greaves <david@dgreaves.com>,
	linux-raid@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: assemble vs create an array.......
Date: Sun, 03 Feb 2008 02:42:14 -0500	[thread overview]
Message-ID: <47A57056.5070904@mpigani.org> (raw)
In-Reply-To: <20071206212225.GN115527101@sgi.com>

Hello,
I am not sure if you have received my email from last week with the 
results of the different combinations prescribed (it contained html code).
Anyway, I did a ro mount to check the partition and was happy to see a 
lot of files intact. A few seemed destroyed, but I am not sure. I tried 
a xfs_check on the partition and it told me:

ERROR: The filesystem have valuable metadata changes in a log which 
needs to be replayed. Mount the filesystem to replay the log, and 
unmount it before re-running xfs_check. If you are unable to mount the 
filesystem, then use the xfs_repair -L option to destroy the log and 
attempt a repair.

Since I am unable to mount the partition, shoud I use the -L option with 
xfs_repair, or let it run without it?
Again, please let me know if I should resend my previous email with the 
log file of "xfs_repair -n".

Thank you for your time,
Dragos


David Chinner wrote:
> On Thu, Dec 06, 2007 at 07:39:28PM +0300, Michael Tokarev wrote:
>   
>> What to do is to give repairfs a try for each permutation,
>> but again without letting it to actually fix anything.
>> Just run it in read-only mode and see which combination
>> of drives gives less errors, or no fatal errors (there
>> may be several similar combinations, with the same order
>> of drives but with different drive "missing").
>>     
>
> Ugggh. 
>
>   
>> It's sad that xfs refuses mount when "structure needs
>> cleaning" - the best way here is to actually mount it
>> and see how it looks like, instead of trying repair
>> tools. 
>>     
>
> It self protection - if you try to write to a corrupted filesystem,
> you'll only make the corruption worse. Mounting involves log
> recovery, which writes to the filesystem....
>
>   
>> Is there some option to force-mount it still
>> (in readonly mode, knowing it may OOPs kernel etc)?
>>     
>
> Sure you can: mount -o ro,norecovery <dev> <mtpt>
>
> But it you hit corruption it will still shut down on you. If
> the machine oopses then that is a bug.
>
>   
>> thread prompted me to think.  If I can't force-mount it
>> (or browse it using other ways) as I can almost always
>> do with (somewhat?) broken ext[23] just to examine things,
>> maybe I'm trying it before it's mature enough? ;)
>>     
>
> Hehe ;)
>
> For maximum uber-XFS-guru points, learn to browse your filesystem
> with xfs_db. :P
>
> Cheers,
>
> Dave.
>   

  reply	other threads:[~2008-02-03  7:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30  3:42 assemble vs create an array Dragos
2007-11-30  5:32 ` Neil Brown
2007-11-30 14:26   ` David Greaves
2007-12-01  6:48     ` Dragos
2007-12-01  7:23       ` Dragos
2007-12-04 13:14     ` Dragos
2007-12-05 11:39       ` David Greaves
2007-12-06 15:17         ` Dragos
2007-12-06 16:39           ` Michael Tokarev
2007-12-06 17:12             ` Eric Sandeen
2007-12-06 21:22             ` David Chinner
2008-02-03  7:42               ` Dragos [this message]
2007-11-30 14:53 ` Bryce
2007-11-30 17:40   ` Michael Tokarev
  -- strict thread matches above, loose matches on Subject: below --
2008-01-28  7:21 Dragos
2008-01-28  7:25 Dragos

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=47A57056.5070904@mpigani.org \
    --to=dragos@mpigani.org \
    --cc=david@dgreaves.com \
    --cc=dgc@sgi.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.