Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Re: Unable to mount (or, why not to work late at night).
@ 2011-10-28  0:32 Ken D'Ambrosio
  2011-10-28  0:49 ` dima
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ken D'Ambrosio @ 2011-10-28  0:32 UTC (permalink / raw)
  To: Fajar A. Nugraha; +Cc: linux-btrfs

> some of us make use of snapshot/clone, whether it's using btrfs or zfs :)

No, this is just flat my fault: it doesn't matter what backup method you use if
you do it wrong.  (I actually have three snapshots of each of my two
partitions.)

> What do you mean don't let you do anything? Can you mount it read-only
> and copy the data off the disk?

You can mount it on the older kernels, but, once you try any form of access,
you can watch your load spike as it spews errors into dmesg.

> I'd try 3.1. If you use 11.10 try
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.1-oneiric/

3.1 is what the system had been running; it simply panics when trying to mount
the FS.

> Try getting source of btrfs-progs, do "make btrfs-zero-log", and use it.

Already got 'em.  Everything that tries to even think about modifying stuff
(btrfs-zero-log, btrfsck, and btrfs-debug-tree) all dump core:

root@ubuntu:/tmp/btrfs-progs# ./btrfs-zero-log /dev/sda1
parent transid verify failed on 100695031808 wanted 217713 found 217732
parent transid verify failed on 100695031808 wanted 217713 found 217732
parent transid verify failed on 100695031808 wanted 217713 found 217732
btrfs-zero-log: disk-io.c:413: find_and_setup_root: Assertion '!(!root->node)'
failed.
Aborted (core dumped)


-Ken






^ permalink raw reply	[flat|nested] 8+ messages in thread
* Unable to mount (or, why not to work late at night).
@ 2011-10-27 15:22 Ken D'Ambrosio
  2011-10-27 16:47 ` Helmut Hullen
  2011-10-27 22:32 ` Fajar A. Nugraha
  0 siblings, 2 replies; 8+ messages in thread
From: Ken D'Ambrosio @ 2011-10-27 15:22 UTC (permalink / raw)
  To: linux-btrfs

So, I was trying to downgrade my Ubuntu last night, and, before doing anything
risky like that, I backed up my disk via dd to an image on an external disk. 
The critical part here is that I'm afraid I did something truly stupid: I'm
afraid I did the dd... live.  (I can't swear to this, and it does seem
unlikely, but it also seems to be the most likely circumstance.)

So, I dd'd everything back, and now it crashes on boot.  Booting to a 2.6.x
kernel (which is what I had on-hand on a USB drive) mounts it, but doesn't let
me *do* anything (though it spews btrfs errors in dmesg).  Getting Ubuntu 11.10
(kernel rev. 3.0.0) gives me this:

[  121.226246] device fsid d657ce6a-d353-4c2c-858a-6a1f4d9e766e devid 1 transid
217713 /dev/sda1
[  121.232430] parent transid verify failed on 100695031808 wanted 217713 found
217732
[  121.232898] parent transid verify failed on 100695031808 wanted 217713 found
217732
[  121.233357] parent transid verify failed on 100695031808 wanted 217713 found
217732
[  121.233365] parent transid verify failed on 100695031808 wanted 217713 found
217732
[  121.248231] btrfs: open_ctree failed

As I have this complete image on-disk, I'm more than willing to try Extreme
Measures(tm), whatever that might entail.  If I can't get it back, it's not
like it's the loss of my job or anything, but there *is* stuff I'd really like
to get back.

Thanks,

-Ken






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-11-01 15:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28  0:32 Unable to mount (or, why not to work late at night) Ken D'Ambrosio
2011-10-28  0:49 ` dima
2011-10-28  0:57 ` Fajar A. Nugraha
2011-10-28 11:57   ` Stephane CHAZELAS
2011-11-01 15:06 ` Dave
  -- strict thread matches above, loose matches on Subject: below --
2011-10-27 15:22 Ken D'Ambrosio
2011-10-27 16:47 ` Helmut Hullen
2011-10-27 22:32 ` Fajar A. Nugraha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox