| To: | Dean Burrows <dkburrows@xxxxxxxxx> |
|---|---|
| Subject: | Re: Accidentally deleted an external log, any recovery options? |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Tue, 4 Jan 2011 16:26:38 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <41292.59911.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <41292.59911.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.20 (2009-06-14) |
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@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: XFS handling of synchronous buffers in case of EIO error, Dave Chinner |
|---|---|
| Next by Date: | Re: My current xfs-for-2.6.38 tree...., Christoph Hellwig |
| Previous by Thread: | Accidentally deleted an external log, any recovery options?, Dean Burrows |
| Next by Thread: | My current xfs-for-2.6.38 tree...., Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |