Re: Kernel BUG at fs/btrfs/inode.c:2281 & 4665

2011-04-12 Thread cwillu
On Tue, Apr 12, 2011 at 9:11 AM, wrote: > > The computer was idle when the first bug happened and after the reboot > btrfs can't be mounted. It can't delete orphans and replay the log. > It would be nice if I can get the data out, there is nothing important > there but it would be nice. I was act

Re: How to remove a device on a RAID-1 before replacing it?

2011-03-29 Thread cwillu
On Tue, Mar 29, 2011 at 2:09 PM, Andrew Lutomirski wrote: > I have a disk with a SMART failure.  It still works but I assume it'll > fail sooner or later. > > I want to remove it from my btrfs volume, replace it, and add the new > one.  But the obvious command doesn't work: > > # btrfs device dele

Re: cloning single-device btrfs file system onto multi-device one

2011-03-22 Thread cwillu
> I can mount it back, but not if I reload the btrfs module, in which case I > get: > > [ 1961.328280] Btrfs loaded > [ 1961.328695] device fsid df4e5454eb7b1c23-7a68fc421060b18b devid 1 transid > 118 /dev/loop0 > [ 1961.329007] btrfs: failed to read the system array on loop0 > [ 1961.340084] btr

Re: [PATCH] btrfs: quasi-round-robin for chunk allocation

2011-03-18 Thread cwillu
On Fri, Mar 18, 2011 at 8:40 AM, Chris Mason wrote: > I think that filling all the devices fully is more important than the > initial spread.  Miao is correct that the administrator will > probably complain if all the devices aren't used for the initial stripes. > But, over the long term the admin

Re: Btrfs system won't start on Ubuntu (relationship problems...)

2011-03-13 Thread cwillu
On Sun, Mar 13, 2011 at 5:32 AM, Pau Iranzo wrote: > Hi, > > I installed Ubuntu on my girlfriend's laptop using btrfs as a > filesystem. But a few weeks ago something happened: the system > wouldn't boot and always show these messages: > http://dl.dropbox.com/u/120126/btrfs/IMG_20110313_122119.jpg

Re: BTRFS fsck tool

2011-03-04 Thread cwillu
On Fri, Mar 4, 2011 at 7:20 PM, Alexey A Nikitin wrote: > I pulled the btrfs-select-super source from get branch 'next', > compiled it, but when I run it using > > ./btrfs-select-super -s 1 /dev/sdb1 > > all I get is > > btrfs-select-super: disk-io.c:739: open_ctree_fd: Assertion > `!(!tree_root->

Re: BTRFS fsck tool

2011-03-04 Thread cwillu
On Fri, Mar 4, 2011 at 5:59 PM, Alexey A Nikitin wrote: > I have BTRFS RAID0 setup with two disks. After some incident where I > had to force shutdown machine this array won't mount anymore, even > after "btrfs device scan". Unfortunately, I don't have backups since I > can't afford another 4TB of

Re: 2.6.37 kernel BUG at fs/btrfs/inode.c:6752!

2011-02-14 Thread cwillu
On Mon, Feb 14, 2011 at 3:59 AM, Zhong, Xin wrote: > We build packages in a kvm-qemu chroot environment. And the root fs is btrfs. > It hang during installing packages. And we found error message in dmesg: > > [   84.320466] btrfs: use compression > [  288.711396] [ cut here ]

Re: New btrfsck status

2011-02-09 Thread cwillu
On Wed, Feb 9, 2011 at 8:52 PM, Ben Gamari wrote: > Hey all, > > Over the last several months there have been many claims regarding the > release of the rewritten btrfsck. Unfortunately, despite numerous > claims that it will be released Real Soon Now(c), I have yet to see > even a repository with

Re: warning in btrfs_free_block_groups

2011-02-09 Thread cwillu
Posted for posterity (pastebins aren't forever) 2.6.36-rc8 Oct 27 05:13:01 klonk kernel: device fsid a040b1bd002364c8-548ed98bdbee91b4 devid 1 transid 1450 /dev/sdb2 Oct 27 05:13:08 klonk kernel: btrfs allocation failed flags 1, wanted 4096 Oct 27 05:13:08 klonk kernel: space_info has 0 free, is

Re: Error mounting multi-device fs after restart

2011-02-08 Thread cwillu
On Tue, Feb 8, 2011 at 3:59 PM, Diwaker Gupta wrote: >> Define *indefinitely*. > > Meaning the messages continued for as long as the system was under > observation. > >> Are the drives not working? > > I believe they are. Working in the sense that I can read off data > using 'dd', I can inspect p

Re: no space left on device

2011-02-08 Thread cwillu
On Tue, Feb 8, 2011 at 3:00 AM, Leonidas Spyropoulos wrote: > On Feb 8, 2011 12:09 AM, "C Anthony Risinger" wrote: >> >> On Mon, Feb 7, 2011 at 3:21 PM, Leonidas Spyropoulos >> wrote: >> > Hey all, >> > >> > I run into no space left on device on a virtualbox >> > >> > After installing Debian 6 o

Re: Suggestion for sticky-compression mount setting (default mount options)

2011-02-05 Thread cwillu
On Sat, Feb 5, 2011 at 6:18 AM, Felix Blanke wrote: > Hi, > > I don't think that the fs is a good place to store default mountoptions. > > If you want to auto mount usb devices with compression, just write a > udev rule or whatever ubuntu uses to mount usb devices. I believe the point was to avoi

Re: Intermittent ENOSPC in 2.6.38rc2 (BUG linux/fs/btrfs/inode.c:1759)

2011-02-01 Thread cwillu
On Wed, Feb 2, 2011 at 12:05 AM, Chris Samuel wrote: > On 02/02/11 16:41, cwillu wrote: > >> Building btrfs from josef's tree seems to clear this up, >> I was able to build dozens of times without errors. > > Interesting, I wonder what fixes it ? The error was an E

Re: BUG at inode.c:150 under 2.6.38rc2 + 9d4ba5: handle errors in btrfs_orphan_cleanup

2011-02-01 Thread cwillu
On Tue, Feb 1, 2011 at 11:37 PM, cwillu wrote: > A couple hours after a build finished involving creating and deleting > a couple snapshots, I got the following BUG.  The system locked up > completely. > > This is 2.6.38rc2 with btrfs from josef's master (9d4ba5:  Btrfs

Re: Intermittent ENOSPC in 2.6.38rc2 (BUG linux/fs/btrfs/inode.c:1759)

2011-02-01 Thread cwillu
On Mon, Jan 31, 2011 at 4:42 AM, cwillu wrote: > On Sun, Jan 30, 2011 at 11:18 PM, cwillu wrote: >> Another one, with the process running on a btrfs chroot instead of tmpfs: >> >> >> [12350.410412] [ cut here ] >> [12350.420001] kerne

BUG at inode.c:150 under 2.6.38rc2 + 9d4ba5: handle errors in btrfs_orphan_cleanup

2011-02-01 Thread cwillu
A couple hours after a build finished involving creating and deleting a couple snapshots, I got the following BUG. The system locked up completely. This is 2.6.38rc2 with btrfs from josef's master (9d4ba5: Btrfs: handle errors in btrfs_orphan_cleanup). Original screenshot at http://imgur.com/sC

Re: btrfs bug in 2.6.37

2011-02-01 Thread cwillu
On Tue, Feb 1, 2011 at 3:51 PM, Carlos R. Mafra wrote: > > I am running 2.6.37 plus the revert of bf9dc102e284 (which is related to drm). > > My /home is on btrfs as well as a 1TB external USB hard-disk. > > I was compiling 2.6.38-rc3 from /home/mafra/linux2.6 using > the external hd as the destin

Re: flush-btrfs-1 hangs when building openwrt

2011-01-31 Thread cwillu
On Mon, Jan 31, 2011 at 5:18 AM, Sander wrote: > cwillu wrote (ao): >> On Mon, Jan 31, 2011 at 4:52 AM, Sander wrote: >> > Daniel Poelzleithner wrote (ao): >> >> Since update to 2.6.37 I can't build openwrt on my btrfs buildroot >> >> anymore. >

Re: flush-btrfs-1 hangs when building openwrt

2011-01-31 Thread cwillu
On Mon, Jan 31, 2011 at 4:52 AM, Sander wrote: > Daniel Poelzleithner wrote (ao): >> Since update to 2.6.37 I can't build openwrt on my btrfs buildroot anymore. >> I'm not sure if this is related to the other flush-btrfs-1 thread. > > While I thought it was related to a dying disk used for backups

Intermittent ENOSPC in 2.6.38rc2 (BUG linux/fs/btrfs/inode.c:1759)

2011-01-31 Thread cwillu
On Sun, Jan 30, 2011 at 11:18 PM, cwillu wrote: > Another one, with the process running on a btrfs chroot instead of tmpfs: > > > [12350.410412] [ cut here ] > [12350.420001] kernel BUG at /home/kernel-ppa/COD/linux/fs/btrfs/inode.c:1759! > [12350.4200

Re: BUG while writing to USB btrfs filesystem

2011-01-30 Thread cwillu
Another one, with the process running on a btrfs chroot instead of tmpfs: [12350.410412] [ cut here ] [12350.420001] kernel BUG at /home/kernel-ppa/COD/linux/fs/btrfs/inode.c:1759! [12350.420001] invalid opcode: [#1] SMP [12350.420001] last sysfs file: /sys/devices/pc

Re: BUG while writing to USB btrfs filesystem

2011-01-30 Thread cwillu
On Sun, Jan 30, 2011 at 8:57 PM, Chris Samuel wrote: > On 31/01/11 12:33, cwillu wrote: > >> [33159.490003] kernel BUG at >> /home/kernel-ppa/COD/linux/fs/btrfs/inode.c:1629! > > It looks like this happens when btrfs_drop_extents() returns > an error, and in the code

Re: BUG while writing to USB btrfs filesystem

2011-01-30 Thread cwillu
And again, without the USB devices. This time was under a vanilla 2.6.38rc2 build, rootfs is a 4-drive btrfs raid10 connected internally via sata, and no other drives in the picture. The btrfs drives are sda5, sdb1, sdc1 and sdd1; sda1 is /boot, sda2 is swap, sda3 is a 4gb ext4 with a small inst

Re: [GIT PULL] Btrfs updates

2011-01-22 Thread cwillu
On Sat, Jan 22, 2011 at 5:41 PM, Clemens Eisserer wrote: >> E.g. suppose you have a LZO compressed file, then a program rewrites some >> data which is in the middle of the file, and suppose the newly written data >> is less compressible. > > Any idea how this is handled? I would be interested in t

Re: BUG while writing to USB btrfs filesystem

2011-01-18 Thread cwillu
On Tue, Jan 18, 2011 at 4:28 PM, cwillu wrote: > While untar'ing an image to an sd card via a reader, I got the > following bug.  The system also has a btrfs root, and a whole swath of > processes went into uninterruptable sleep.  I was able to poke around > via ssh and sysrq

BUG while writing to USB btrfs filesystem

2011-01-18 Thread cwillu
While untar'ing an image to an sd card via a reader, I got the following bug. The system also has a btrfs root, and a whole swath of processes went into uninterruptable sleep. I was able to poke around via ssh and sysrq, and already had netconsole set up to capture the bug. Root fs is on /dev/sd

Re: Backup Command

2011-01-14 Thread cwillu
On Fri, Jan 14, 2011 at 7:17 PM, Carl Cook wrote: > > Apparently my command is no good.  No one ever responded to my question > below, so maybe I'm not smart enough to ask the right way. > > I can ssh from the backup server to the HTPC, but it crashes with a 'dirty' > error: > # rsync --progress

Re: BUG in btrfs/inode.c:1528!

2011-01-14 Thread cwillu
On Fri, Jan 14, 2011 at 6:57 PM, Niklas Schnelle wrote: > I was running a "cp -ar /mnt/extern/foo/* /mnt/extern/bar/subvolume/" on > my USB harddrive which was formatted yesterday (rsyncing about 90 GB > worked yesterday without problems) > when I was dropped to a console with the error snippet be

Re: btrfsck segmentation fault

2011-01-07 Thread cwillu
On Fri, Jan 7, 2011 at 3:15 PM, Andrew Schretter wrote: > I have a 10TB btrfs filesystem over iSCSI that is currently unmountable.  I'm > currently running Fedora 13 with a recent Fedora 14 kernel > (2.6.35.9-64.fc14.i686.PAE) > and the system hung with messages like : > > parent transid verify f

Re: 'open_ctree failed', unable to mount the fs

2011-01-07 Thread cwillu
On Fri, Jan 7, 2011 at 2:02 PM, Ken D'Ambrosio wrote: > On Fri, January 7, 2011 2:09 pm, Hugo Mills wrote: >> On Fri, Jan 07, 2011 at 08:01:47PM +0100, Tomasz Chmielewski wrote: >> >>> I got a "power cycle", after which I'm no longer able to mount btrfs >>> filesystem: > [...] >> The forthcoming[1

Re: "open_ctree failed", unable to mount the fs

2011-01-07 Thread cwillu
On Fri, Jan 7, 2011 at 2:01 PM, Tomasz Chmielewski wrote: > On 07.01.2011 20:46, cwillu wrote: > >>> However, I don't see the tool when I clone the latest git - am I missing >>> something? >> >> It's not built by the makefile by default;  "make

Re: "open_ctree failed", unable to mount the fs

2011-01-07 Thread cwillu
On Fri, Jan 7, 2011 at 1:25 PM, Tomasz Chmielewski wrote: >> The forthcoming[1] btrfsck tool should handle that particular >> error, I believe. > > I noticed a similar problem was discussed here, with a solution: > > http://www.spinics.net/lists/linux-btrfs/msg07572.html > > > where a "btrfs-selec

BUG in /mnt mount kills / mount as well

2011-01-06 Thread cwillu
After doing something silly (not sure what yet) with a server's 4-drive btrfs raid1 root, I've been booting off a 5th drive (also on btrfs) while poking at the original array. I've found that errors triggered by poking around on the mounted-but-broken 4-drive raid (on /mnt) cause the system to gra

Re: [GIT PULL][PATCH v2 0/6] btrfs: Add lzo compression support

2010-12-23 Thread cwillu
On Wed, Nov 17, 2010 at 8:08 PM, Li Zefan wrote: > Hi Chris, > > Here's the updated patchset. As I still haven't got a kernel.org > account, I have set up a git tree in another public git repository, > and I'll use it for now. > > You can pull from: > >        git://repo.or.cz/linux-btrfs-devel.gi

Re: Scary OOPS when playing with --bind, --move, and friends

2010-12-20 Thread cwillu
On Mon, Dec 20, 2010 at 10:16 PM, Fajar A. Nugraha wrote: > On Tue, Dec 21, 2010 at 10:51 AM, C Anthony Risinger wrote: >> in short, everything works fine until you --bind across a subvol via >> the "special" folders created when one takes a snapshot, > >> # mount --bind root//home/anthony bind >

Re: SSD optimizations

2010-12-13 Thread cwillu
On Mon, Dec 13, 2010 at 3:25 AM, Gordan Bobic wrote: > On 12/13/2010 05:11 AM, Sander wrote: >> >> Gordan Bobic wrote (ao): >>> >>> On 12/12/2010 17:24, Paddy Steed wrote: In a few weeks parts for my new computer will be arriving. The storage will be a 128GB SSD. A few weeks after t

Re: ENOSPC on heterogeneous raid 0

2010-12-12 Thread cwillu
On Sun, Dec 12, 2010 at 8:24 AM, Hubert Kario wrote: > On Wednesday 08 of December 2010 22:53:25 William Sheffler wrote: >> Hello btrfs community. >> >> First off, thanks for all your hard work... I have been following >> btrfs with interest for several years now and very much look forward >> to t

Re: 800 GByte free, but "no space left"

2010-12-05 Thread cwillu
On Sun, Dec 5, 2010 at 3:51 AM, Helmut Hullen wrote: > Hallo, cwillu, > > Du meintest am 05.12.10: > >>>> I am not an expert on this by a long shot, but it looks like you >>>> added these two disks in raid0. > >>> I won't hope that this error

Re: 800 GByte free, but "no space left"

2010-12-05 Thread cwillu
On Sun, Dec 5, 2010 at 1:48 AM, Helmut Hullen wrote: > Hallo, Evert, > > Du meintest am 04.12.10 zum Thema Re: 800 GByte free, but "no space left": > >> On Sat, Dec 4, 2010 at 10:17 AM, Helmut Hullen >> wrote: >>> Hallo, >>> >>> I wrote am 02.12.10: >>> I use 2 disks (1.5 Tbyte and 2.0 TByte

Re: btrfs problems and fedora 14

2010-11-26 Thread cwillu
gt; used rootflags and it worked!! > > So, cwillu, after your scolding of me and your (perfectly reasonable) > questioning of my understanding, I did get it together for booting. > > BUT I am still left with the problem that caused it for me: how do I > backup (clone?) a btrfs fil

Re: hard links across snapshots/subvolumes are actually a bad idea.

2010-11-24 Thread cwillu
>>> One thing I would like to see is copy-on-write hard-links. The hard-links >>> that span snapshots should be possible, but they should be copy-on-write, >>> i.e. as soon as hard-linked file that spans snapshots is written, the >>> snapshot that wrote it should have it's own forked copy hencefort

Re: hard links across snapshots/subvolumes are actually a bad idea.

2010-11-24 Thread cwillu
On Wed, Nov 24, 2010 at 5:29 PM, Gordan Bobic wrote: > On 11/24/2010 10:07 PM, David Nicol wrote: >> >> I've been thinking about this for a while, from a perspective of how >> to make it work by allocating i-node numbers from a global pool, but >> yesterday I realized that offering the feature wou

Re: btrfs problems and fedora 14

2010-11-24 Thread cwillu
On Wed, Nov 24, 2010 at 1:32 AM, david grant wrote: > Hugo, you told me how to mount a snapshot. Thank you, that works but you > didn't tell me how to boot into it. He also gave you the command to set the default subvolume/snapshot used if you don't provide one: "btrfs subvolume set-default ".

Re: btrfs filesystem defragment error

2010-11-08 Thread cwillu
On Mon, Nov 8, 2010 at 5:33 PM, Leonidas Spyropoulos wrote: > While on Ubuntu 10.10 I cannot get defragment working. > > ing...@selene:~$ btrfs filesystem defragment /media/Data/ > ioctl failed on /media/Data/ ret -1 errno 1 > total 1 failures > ... > Is it implemented on kernel 2.6.36 and above o

Re: btrfs benchmark with 2.6.37-rc1

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 8:30 AM, Morten P.D. Stevens wrote: > Here is a small btrfs vs. ext4 benchmark with kernel 2.6.37-rc1. > > compilebench with options -i 10 -r 30 on 2.6.37-rc1 > > btrfs > > == > intial create total runs

Re: How to see raid level?!

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 6:14 AM, Felix Blanke wrote: > Ah, the magic one :) > > Is that a patch for the kernel or the btrfs progs? > > > If you know where to get that patch it would be nice. It isn't an important > issue but it > would be nice to see if my home really uses raid1 for data :) Kerne

Re: btrfs-convert fails

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 5:55 AM, Helmut Hullen wrote: > Hallo, Felix, > > Du meintest am 01.11.10: > >  btrfs-convert: extent-tree.c:2529: btrfs_reserve_extent: > Assertion     `!(ret)' failed >  Abgebrochen > Try btrfs-convert -r /dev/xxx, hopefully it will recover your ext2. > >>

Re: Kernel 2.6.36 btrfs csum bugreport

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 4:55 AM, Daniel J Blueman wrote: > On 1 November 2010 00:35, Andreas Bauer wrote: >> So I conclude that these messages are faulty because data is read correctly. >>  In addition, when you have more than one btrfs you cannot see from the >> message >>  which fs it is referi

Re: How to see raid level?!

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 4:17 AM, Felix Blanke wrote: > Hi, > > I saw some reports of ppl in this list who did a "btrfs fi df /path" and saw > the > raidlevel of the data, metadata etc. > > How? :) > > I'm using the git version of the btrfs progs and 2.6.36, but I don't see those > informations. >

Re: Horrible btrfs performance due to fragmentation

2010-10-31 Thread cwillu
On Sun, Oct 31, 2010 at 1:58 PM, Felipe Contreras wrote: > On Mon, Oct 11, 2010 at 6:46 PM, Calvin Walton > wrote: >> On Mon, 2010-10-11 at 03:30 +0300, Felipe Contreras wrote: >>> I use btrfs on most of my volumes on my laptop, and I've always felt >>> booting was very slow, but definitely sure

Re: Kernel 2.6.36 btrfs csum bugreport

2010-10-31 Thread cwillu
> Today while playing around with btrfs I uncovered what must be a bug in the > btrfs checksum code. My kernel log received a couple of these messages with > various ino and off numbers: > > btrfs csum failed ino 5098 off 524288 csum 2981133980 private 959545494 > [..] > > This happens on reading

[PATCH] Make df report effective sizes, not physical sizes

2010-10-20 Thread cwillu
This currently applies on top of Josef's df patches. Currently, a series of utilities are necessary to get an approximate answer to the question "How much disk space do I have free?". Previously, df returned numbers which, while accurate, weren't useful: the physical disk size isn't intere

Re: Another checksum error bugreport

2010-09-29 Thread cwillu
On Wed, Sep 29, 2010 at 8:31 AM, Sebastian 'gonX' Jensen wrote: > On 29 September 2010 15:15, cwillu wrote: >>>>> Which kernel is that? >>>> It was one of the 2.6.35 versions from the Ubuntu repository. I'm >>>> running Ubuntu 10.04 Server

Re: Another checksum error bugreport

2010-09-29 Thread cwillu
>>> Which kernel is that? >> It was one of the 2.6.35 versions from the Ubuntu repository. I'm >> running Ubuntu 10.04 Server. >> > > Since 2.6.32 works, you should report that bug to Ubuntu. Alternatively, retest using ubuntu's mainline kernel ppa (http://kernel.ubuntu.com/~kernel-ppa/mainline/),

Re: Francis Galiegue would like your help testing a survey

2010-09-28 Thread cwillu
Question 16 needs an "other" option, or some elaboration (I've had things fixed via tool patches from developers). -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordom

Re: [PATCH] Add the "btrfs filesystem label" command

2010-09-15 Thread cwillu
On Wed, Sep 15, 2010 at 7:10 PM, Chris Ball wrote: > Hi, > >   > How can one char equal two chars? >   > >   > input[i] == '\\' > > If the first char is the C escape sequence for string literals.  :) Why are those characters forbidden in a label? -- To unsubscribe from this list: send the line "

Re: birgers RFE #2

2010-08-13 Thread cwillu
And none of them are what I would consider remotely useful for backups. (What, you guys don't backup to external media?) :) Attached is my nightly backup script, edit it to suit, and dump a symlink into /etc/cron.daily or whatever. It requires a btrfs target (rather than source). backup Descr

Mysteriously changing RAID levels

2010-06-16 Thread cwillu
I just noticed today that "btrfs fi df /" no longer reports any raid level on Metadata or Data. I know as of Jun 4 that Data was RAID1 and Metadata was DUP (I had posted my df output to irc). I've already checked that I didn't revert to an old version of btrfs-progs, and am at a bit of a loss to

Can't mount removable device if device name changes.

2010-04-10 Thread cwillu
I've got a btrfs on an sd card, which I'm using as the root fs on a beagle. That's not the problem :) The machine I generate my images on has an internal sd reader, and I also have a usb card reader. After creating the fs on the internal reader, I ended up plugging it in on the external reader.

<    1   2   3