Salvage files from broken btrfs

2018-11-05 Thread M. Klingmann
On 03.11.2018 at 02:05 Qu Wenruo wrote: > On 2018/11/3 上午1:18, M. Klingmann wrote: >> On 02.11.2018 at 15:45 Qu Wenruo wrote: >>> On 2018/11/2 下午10:30, M. Klingmann wrote: On 31.10.2018 at 01:03 Qu Wenruo wrote: > My plan for such recovery is: > > 1) btrfs ins dump-super to make

Re: Salvage files from broken btrfs

2018-11-02 Thread Qu Wenruo
On 2018/11/3 上午1:18, M. Klingmann wrote: > On 02.11.2018 at 15:45 Qu Wenruo wrote: >> On 2018/11/2 下午10:30, M. Klingmann wrote: >>> On 31.10.2018 at 01:03 Qu Wenruo wrote: My plan for such recovery is: 1) btrfs ins dump-super to make sure system chunk array is valid 2)

Re: Salvage files from broken btrfs

2018-11-02 Thread M. Klingmann
On 02.11.2018 at 15:45 Qu Wenruo wrote: > On 2018/11/2 下午10:30, M. Klingmann wrote: >> On 31.10.2018 at 01:03 Qu Wenruo wrote: >>> My plan for such recovery is: >>> >>> 1) btrfs ins dump-super to make sure system chunk array is valid >>> 2) btrfs-find-root to find any valid chunk tree blocks >>>

Re: Salvage files from broken btrfs

2018-11-02 Thread Qu Wenruo
On 2018/11/2 下午10:30, M. Klingmann wrote: > > On 31.10.2018 at 01:03 Qu Wenruo wrote: >> My plan for such recovery is: >> >> 1) btrfs ins dump-super to make sure system chunk array is valid >> 2) btrfs-find-root to find any valid chunk tree blocks >> 3) pass that chunk tree bytenr to

Re: Salvage files from broken btrfs

2018-11-02 Thread M. Klingmann
On 31.10.2018 at 01:03 Qu Wenruo wrote: > My plan for such recovery is: > > 1) btrfs ins dump-super to make sure system chunk array is valid > 2) btrfs-find-root to find any valid chunk tree blocks > 3) pass that chunk tree bytenr to btrfs-restore >Unfortunately, btrfs-restore doesn't support

Re: Salvage files from broken btrfs

2018-11-02 Thread M. Klingmann
On 31.10.2018 at 05:56 Chris Murphy wrote: > On Tue, Oct 30, 2018 at 4:11 PM, Mirko Klingmann wrote: >> Hi all, >> >> my btrfs root file system on a SD card broke down and did not mount anymore. > It might mount with -o ro,nologreplay > > Typically an SD card will break in a way that it can't

Re: Salvage files from broken btrfs

2018-10-30 Thread Chris Murphy
On Tue, Oct 30, 2018 at 4:11 PM, Mirko Klingmann wrote: > Hi all, > > my btrfs root file system on a SD card broke down and did not mount anymore. It might mount with -o ro,nologreplay Typically an SD card will break in a way that it can't write, and mount will just hang (with mmcblk errors).

Re: Salvage files from broken btrfs

2018-10-30 Thread Qu Wenruo
On 2018/10/31 上午4:11, Mirko Klingmann wrote: > Hi all, > > my btrfs root file system on a SD card broke down and did not mount anymore. > > In retrospective, I think it reached its endurance, so I know that there > is nothing to repair. All I want to do is to salvage some configuration > and

Salvage files from broken btrfs

2018-10-30 Thread Mirko Klingmann
Hi all, my btrfs root file system on a SD card broke down and did not mount anymore. In retrospective, I think it reached its endurance, so I know that there is nothing to repair. All I want to do is to salvage some configuration and data files from the remains left in my ISO file copy. The SD