resize ate my root node

2011-03-07 Thread Peter Stuge
Hi, I ran btrfsctl resize -r -3gb /dev/sda2 using wireless-testing.git based on 2.6.38-rc6 and all seemed good. df reported reduced size so I repartitioned and rebooted. Filesystem can no longer be mounted: [10560.129038] device fsid b2408c2e83f55cc2-5f7a14e35f176484 devid 1 transid 341132

Re: BTRFS fsck tool

2011-03-07 Thread Peter Stuge
Hi, Alexey A Nikitin wrote: I went experimenting with btrfs RAID0 on my USB setup .. because I'm a reckless experimenter when it doesn't involve production systems. I encountered the same broken root node issue. (see thread resize ate my root node) and I'd like to understand it better.

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

2011-03-13 Thread Peter Stuge
Pau Iranzo wrote: 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 system won't start on Ubuntu (relationship problems...)

2011-03-13 Thread Peter Stuge
Jérôme Poulin wrote: Those I tried and confirmed not working are CablesToGo: http://www.cablestogo.com/product.asp?cat_id=941sku=30504 StarTech: http://us.startech.com/product/USB2SATAIDE-USB-20-to-IDE-or-SATA-Adapter-Cable I don't have them handy but I can confirm you the chipset if you'd

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

2011-03-13 Thread Peter Stuge
Pau Iranzo wrote: it's been years since I last installed Windows on one of my computers (2003 maybe?). Again, Windows or not is irrelevant. The hard drive is physically broken and that would have happened at the same point in time regardless of anything that software has been doing. The

Re: BTRFS fsck tool

2011-03-15 Thread Peter Stuge
Hubert Kario wrote: btrfs is supposed to be an ext3/4 replacement Maybe not just yet. :) //Peter -- 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/majordomo-info.html

Re: another messed-up btrfs

2011-04-01 Thread Peter Stuge
Martin Fahr wrote: btrfsck: disk-io.c:741: open_ctree_fd: Assertion `!(!tree_root-node)' failed. My fs is also broken this way, though for me it happened after resizing the fs and then partition. I still need to go back to the list thread and do some work on my image. The usual questions: Is

Re: minor ID for btrfs-control

2011-04-02 Thread Peter Stuge
Goffredo Baroncelli wrote: If you don't want to use udev you have two choices: - use devtmpfs - create manually a device. But nobody guarantee that the minor/major will not change. - use a udev replacement intended for embedded systems, such as mdev //Peter -- To unsubscribe from this

Re: wrong values in df and btrfs filesystem df

2011-04-09 Thread Peter Stuge
Helmut Hullen wrote: If the value of available is unresolvable then btrfs should not show any value. Disagree strongly. I think a pessimistic estimate would be much better to show, than no value at all. This may be what is currently shown. As for solving this with a high degree of usability,

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

2011-04-12 Thread Peter Stuge
Hej Maria! ma...@ponstudios.se wrote: The computer was idle when the first bug happened Ouch. and after the reboot btrfs can't be mounted. Can you get some messages out of btrfs tools run against the file system when offline, or an image of it? Maybe hook the fs up to another machine.

Re: resize ate my root node

2011-04-18 Thread Peter Stuge
Sorry for not following up on this until now. :( I've been busy and have been using a backup. But I'm still very interested in restoring the btrfs and finding this bug! Let me know if I should refresh any details. Chris Mason wrote: In any case changing the partition table shouldn't affect the

Re: resize ate my root node

2011-04-18 Thread Peter Stuge
Chris Mason wrote: Which tool and which version of the tool did you use to delete the partition? fdisk from util-linux-2.18 Straight from util-linux, or with distro patches? Yes a few Gentoo patches, but nothing that seems relevant: epatch ${FILESDIR}/${P}-ncursesw.patch Subject:

Re: Bug#624131: linux-image-2.6.39-rc4-686-pae: Can somewhat reliably produce kernel panic in btrfs code

2011-04-25 Thread Peter Stuge
Maik Zumstrull wrote: Bug at fs/btrfs/free-space-cache.c:1246 Bug type: invalid opcode: Kernel not tainted, running on an ASUSTek 1005HAG EIP is at btrfs_add_free_space+0x285/0x39a [btrfs] You will probably need to provide a more complete copy of the panic message. I thought

Re: btrfs-convert crashes

2011-04-27 Thread Peter Stuge
Yan, Zheng wrote: 'btrfs-convert /dev/sdc1' .. segfaulted. The crash was caused by the hard links per directory limit in btrfs. In short, your ext4 is not convertible. The failure mode is of course unacceptable. Does btrfs-convert have a dry-run mode which could be used to check that

Re: abysmal performance

2011-04-30 Thread Peter Stuge
Mitch Harder wrote: To defragment your entire volume, you'll need a command like: # for file in $(find PATH/TO/BTRFS/VOL/ -type f); do btrfs filesystem defragment ${file}; done Suggest: find /path/to/btrfs/vol -type f -exec btrfs filesystem defragment '{}' ';' If you just want to see

Re: resize ate my root node

2011-05-03 Thread Peter Stuge
Peter Stuge wrote: Sorry for not following up on this until now. :( I've been busy and have been using a backup. But I'm still very interested in restoring the btrfs and finding this bug! Let me know if I should refresh any details. Ping? I've created a small btrfs to see if I can learn

Re: Having parent transid verify failed

2011-05-05 Thread Peter Stuge
Chris Mason wrote: We've had trouble in the past with block dev flushing code kicking in as devices are resized. Might this be the problem with my root node? I wish my problem was in only one directory. :) //Peter -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Peter Stuge
cac...@quantum-sci.com wrote: I don't understand this. Clearly. Please continue the discussion in a debian or grub forum.. It really has nothing to do with btrfs. //Peter -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Peter Stuge
cac...@quantum-sci.com wrote: # update-grub /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). # update-grub -v grub-mkconfig (GRUB) 1.99~rc1-13 # It's still BTRFS incompatibility. Either that, or maybe something has broken in your many attempts to solve the

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Peter Stuge
cac...@quantum-sci.com wrote: Clearly. Please continue the discussion in a debian or grub forum.. It really has nothing to do with btrfs. No thanks. This is a BTRFS problem, and if you people don't want to face it, that's fine. A problem that happens when you use btrfs is not

Re: Damaged super block / fs root

2011-05-30 Thread Peter Stuge
Hugo Mills wrote: You can check whether it's likely to be of use by running btrfsck -s 1 on your filesystem. If it passes OK, then btrfs-select-super should be useful. Inspired by this I cloned latest btrfs-progs-unstable and tried it on my broken 60-something GB btrfs, but no luck: $

Re: [PATCH 06/10] restore: Add regex matching of paths and files to be restored

2013-03-13 Thread Peter Stuge
Hi Zach, Zach Brown wrote: In order to restore only a single folder somewhere in the btrfs tree, it is unfortunately neccessary to construct a slightly nontrivial regex, e.g.: restore -m '^/(|home(|/username(|/Desktop(|/.*$' /dev/sdb2 /output But that example is just bonkers I