Re: BTRFS Kernel Panic

2013-04-14 Thread Alex Robbins

I was able to copy almost everything from dd images to a new set
of filesystems.  The only thing that was excluded from the transfer
was /var/cache/apt, because something in there was causing the problem.
I performed the transfer by booting to a second system.  Interestingly,
when this problem arose during the transfer, which was being run from this
other system, the problem was not as serious.  The program that triggered
the problem died and a call stack was printed by the kernel, but apparently
everything else continued to work.  I don't know why the problem was less
serious when it occurred on the transfer system, as the filesystem with
a problem was not the / of any system, it was /var (and therefore no more
important to the first system as it was to the system performing the 
transfer).


In any case, all appears to be well; I can run both aptitude update and
updatedb, and it hasn't crashed since.

Thank you for your help.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/516b5c2b.10...@gmail.com



Re: BTRFS Kernel Panic

2013-04-12 Thread Martin Steigerwald
On Thursday 11 April 2013 23:23:30 Roger Leigh wrote:
 You could also try upgrading to a newer kernel e.g. 3.8.x.  I've
 done this myself due to btrfs issues with older kernels; you might
 need to hand-build it though since Debian doesn't yet have it.
 See kernel-package.

Debian has it in experimental:

martin@merkaba:~ rmadison linux-image-3.8-trunk-amd64
 linux-image-3.8-trunk-amd64 | 3.8.5-1~experimental.1 | experimental | 
amd64, i386

;)

I also recommend running current kernels with BTRFS.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/29696065.TvIoNG5Q5r@merkaba



Re: BTRFS Kernel Panic

2013-04-11 Thread Roger Leigh
On Thu, Apr 11, 2013 at 03:50:19PM -0500, Alex Robbins wrote:
 So it looks like btrfs really is still experimental.
 
 I have / and /var on two separate btrfs partitions and I consistently get
 a kernel panic when I run aptitude update (see the end).  I also managed
 to get the same results by using find and dd to read every file in /var.
 
 Although my oops output does have RIP: btrfs_num_copies, I do not think that
 I need to use btrfs-zero-log because (1) I am using a 3.2 series kernel, (2)
 my panic callstack does not have a function that begins with replay_one_,
 and (3) I am able to mount the partitions (and boot) just fine.  It is only
 when some process such as aptitude or updatedb (indexing for the locate
 command) tries to read something in the filesystem.

I'd suggest that you firstly:

1) take a full image of the raw devices containing these filesystems
   with dd in case of further damage
2) try to backup the filesystems with tar

If you get a backup, you could then reformat the partitions and
restore the backups.

I'd definitely recommend looking at the changelog for newer
versions of the linux kernel to see if this has fixed.  It
also might be worth contacting the brtfs developers' mailing
list to see if they have seen this issue before--the BUG alone
might be useful.

You could also try upgrading to a newer kernel e.g. 3.8.x.  I've
done this myself due to btrfs issues with older kernels; you might
need to hand-build it though since Debian doesn't yet have it.
See kernel-package.

[I've previously lost a large raid-1 btrfs filesystem--both copies
completely trashed after a SATA glitch, including the good copy
which was corrupted entirely by btrfs...  Currently using it on an
SSH for testing purposes as my rootfs, but don't use it for user
data, which is on ext4 on LVM RAID.]


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linuxhttp://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-GPG Public Key  F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130411222330.ga23...@codelibre.net