Skip to contentSkip to conversation

Accidentally deleted an external log, any recovery options?

DISCUSSION Dean Burrows 2 participants 2 messages Jan 4, 2011

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 7 lines · Dean Burrows

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.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs