public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Accidentally deleted an external log, any recovery options?
@ 2011-01-04  4:50 Dean Burrows
  2011-01-04  5:26 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Dean Burrows @ 2011-01-04  4:50 UTC (permalink / raw)
  To: xfs

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?


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Accidentally deleted an external log, any recovery options?
  2011-01-04  4:50 Accidentally deleted an external log, any recovery options? Dean Burrows
@ 2011-01-04  5:26 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2011-01-04  5:26 UTC (permalink / raw)
  To: Dean Burrows; +Cc: xfs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-04  5:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04  4:50 Accidentally deleted an external log, any recovery options? Dean Burrows
2011-01-04  5:26 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox