18th Jan, 2014, 08:14 PM
Hi,
I had Xbian installed on my USB. Today did apt-get dist-upgrade and kernel stopped to boot (23+), it was hanging after "switching root" - sometimes with some weird artefacts on the screen, sometimes with no signal.
I tried to copy a backup from before apt-get upgrade to boot (18+), and since then it is saying something like this:
parent transid verify failed on 57569280 wanted 18732 found 18734
Just with different number. I tried to mount partitions manually, but nothing works.
What else I saw in the log is that on each boot it was trying to resize partition of /dev/sda
Any help here? I'm thinking about booting from another sd card, as from the one with currently inserted there are no tools at all available in recovery console.
Ok, so I booted from fresh SD card, logged in to ssh and it seems only brtfs partition is broken on sda:
107.902839] device label xbian-copy devid 1 transid 5037 /dev/sda3
[ 107.917706] btrfs: use lzo compression
[ 107.917741] btrfs: disk space caching is enabled
[ 107.997606] parent transid verify failed on 34693120 wanted 5038 found 5037
[ 107.997645] btrfs: failed to read log tree
[ 108.001970] btrfs: open_ctree failed
[ 399.166255] device label xbian-copy devid 1 transid 5037 /dev/sda3
[ 399.178808] btrfs: unrecognized mount option 'brtfs'
[ 399.179650] btrfs: open_ctree failed
[ 441.369358] device label xbian-copy devid 1 transid 5037 /dev/sda3
[ 441.388989] btrfs: disk space caching is enabled
[ 441.482749] parent transid verify failed on 34693120 wanted 5038 found 5037
[ 441.482793] btrfs: failed to read log tree
[ 441.487494] btrfs: open_ctree failed
[ 511.130725] device label xbian-beta2 devid 1 transid 62 /dev/mmcblk0p2
[ 520.700602] device label xbian-beta2 devid 1 transid 63 /dev/mmcblk0p2
[ 565.344193] device label xbian-beta2 devid 1 transid 65 /dev/mmcblk0p2
Any ide where to go next? brtfs-aut-snapshot is not showing anything on this installation
Mounting with recovery option also not working:
root@xbian:/usr/sbin# mount -t btrfs -o recovery,nospace_cache,nospace_cache /dev/sda3 /mnt/sda3
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@xbian:/usr/sbin#
Also tried this tool, but no luck https://btrfs.wiki.kernel.org/index.php/Restore
I had Xbian installed on my USB. Today did apt-get dist-upgrade and kernel stopped to boot (23+), it was hanging after "switching root" - sometimes with some weird artefacts on the screen, sometimes with no signal.
I tried to copy a backup from before apt-get upgrade to boot (18+), and since then it is saying something like this:
parent transid verify failed on 57569280 wanted 18732 found 18734
Just with different number. I tried to mount partitions manually, but nothing works.
What else I saw in the log is that on each boot it was trying to resize partition of /dev/sda
Any help here? I'm thinking about booting from another sd card, as from the one with currently inserted there are no tools at all available in recovery console.
Ok, so I booted from fresh SD card, logged in to ssh and it seems only brtfs partition is broken on sda:
107.902839] device label xbian-copy devid 1 transid 5037 /dev/sda3
[ 107.917706] btrfs: use lzo compression
[ 107.917741] btrfs: disk space caching is enabled
[ 107.997606] parent transid verify failed on 34693120 wanted 5038 found 5037
[ 107.997645] btrfs: failed to read log tree
[ 108.001970] btrfs: open_ctree failed
[ 399.166255] device label xbian-copy devid 1 transid 5037 /dev/sda3
[ 399.178808] btrfs: unrecognized mount option 'brtfs'
[ 399.179650] btrfs: open_ctree failed
[ 441.369358] device label xbian-copy devid 1 transid 5037 /dev/sda3
[ 441.388989] btrfs: disk space caching is enabled
[ 441.482749] parent transid verify failed on 34693120 wanted 5038 found 5037
[ 441.482793] btrfs: failed to read log tree
[ 441.487494] btrfs: open_ctree failed
[ 511.130725] device label xbian-beta2 devid 1 transid 62 /dev/mmcblk0p2
[ 520.700602] device label xbian-beta2 devid 1 transid 63 /dev/mmcblk0p2
[ 565.344193] device label xbian-beta2 devid 1 transid 65 /dev/mmcblk0p2
Any ide where to go next? brtfs-aut-snapshot is not showing anything on this installation
Mounting with recovery option also not working:
root@xbian:/usr/sbin# mount -t btrfs -o recovery,nospace_cache,nospace_cache /dev/sda3 /mnt/sda3
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@xbian:/usr/sbin#
Also tried this tool, but no luck https://btrfs.wiki.kernel.org/index.php/Restore