Forum
Xbian broke my HDD, any solution? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: Xbian broke my HDD, any solution? (/thread-2034.html)



Xbian broke my HDD, any solution? - namecaps - 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


RE: Xbian broke my HDD, any solution? - namecaps - 18th Jan, 2014 10:54 PM

An update - just did a fresh install on a new sd card, did apt-get update and upgrade and system is again hanging on loading.. what is this?


RE: Xbian broke my HDD, any solution? - josch - 19th Jan, 2014 08:52 PM

(18th Jan, 2014 10:54 PM)namecaps Wrote:  An update - just did a fresh install on a new sd card, did apt-get update and upgrade and system is again hanging on loading.. what is this?

So the new install was working before upgrading with apt-get?
Where exactly is it hanging? - On 'Configuring network...' and you haven't ethernet connected? If so, check: http://forum.xbian.org/thread-1988.html


RE: Xbian broke my HDD, any solution? - IriDium - 20th Jan, 2014 05:39 AM

@namecaps Can you enable rescue and remove quiet and loglevel=0 from cmdline.txt and send a screenshot of the output.

I also think your title is misleading - you HDD seems fine - Xbian may not work but you HDD still works? So it's not broken not damaged in anyway?

If anything this looks like a conflict on where your BOOT drive is located and what is in cmdline.txt

Please post output from config.txt and cmdline.txt


RE: Xbian broke my HDD, any solution? - kbarb - 21st Jan, 2014 02:36 AM

Yes, misleading - a bit of hyperbole. I thought I was going to read about a hosed hard drive, but it's actually an OS that's gone bad.