public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Dean Burrows <dkburrows@yahoo.com>
Cc: xfs@oss.sgi.com
Subject: Re: Accidentally deleted an external log, any recovery options?
Date: Tue, 4 Jan 2011 16:26:38 +1100	[thread overview]
Message-ID: <20110104052637.GJ15179@dastard> (raw)
In-Reply-To: <41292.59911.qm@web31912.mail.mud.yahoo.com>

On Mon, Jan 03, 2011 at 08:50:32PM -0800, Dean Burrows wrote:
> Hello,
> 
> 
> I was trying a different distro and in doing so deleted a partition that held an 
> xfs external log. Now I can't mount or repair the drive that was using that 
> external log. Is there a way to get the data off, or to create an internal log 
> without losing the data?

Just create a new partition for the external log, zero it, and tell
XFS to use that. You'll have lost any metadata that was in the log,
so once you have a new external log run xfs_repair -n to check that
everything is consistent. If it isn't, then back up everything you
can and run repair for real to fix whatever problems there are.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2011-01-04  5:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04  4:50 Accidentally deleted an external log, any recovery options? Dean Burrows
2011-01-04  5:26 ` Dave Chinner [this message]

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=20110104052637.GJ15179@dastard \
    --to=david@fromorbit.com \
    --cc=dkburrows@yahoo.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