I was playing around with btrfs, and did a mkfs.btrfs on one of my partition. Mistakes, it was my data partition (ext3 based). I have not yet mounted the device, but the mkfs.btrfs continued to completion. Is it possible to salvage my ext3 filesystem? Anyway to reverse the effect of mkfs.btrfs? Thank you for your help/answer. -- Regards, Peter Teoh
2008/4/25, Peter Teoh <htmldeveloper at gmail.com>:> I was playing around with btrfs, and did a mkfs.btrfs on one of my > partition. Mistakes, it was my data partition (ext3 based). > > I have not yet mounted the device, but the mkfs.btrfs continued to > completion. > > Is it possible to salvage my ext3 filesystem? Anyway to reverse the > effect of mkfs.btrfs? >Try fsck.ext3, but at your risk. (mkfs.btrfs only overwrites a few blocks at beginning of device) Good Luck YZ
thanks for the tip. i will do a dd to back up first, probably tomorrow. thanks!!! On Fri, Apr 25, 2008 at 3:34 PM, Yan Zheng <yanzheng at 21cn.com> wrote:> 2008/4/25, Peter Teoh <htmldeveloper at gmail.com>: > > > I was playing around with btrfs, and did a mkfs.btrfs on one of my > > partition. Mistakes, it was my data partition (ext3 based). > > > > I have not yet mounted the device, but the mkfs.btrfs continued to > > completion. > > > > Is it possible to salvage my ext3 filesystem? Anyway to reverse the > > effect of mkfs.btrfs? > > > > Try fsck.ext3, but at your risk. (mkfs.btrfs only overwrites a few > blocks at beginning of device) > > Good Luck > YZ >-- Regards, Peter Teoh