* Re: btrfs balance enospc [not found] <54186A4B.60902@intellasoft.net> @ 2014-09-16 16:51 ` Mark Murawski 2014-09-16 17:26 ` Chris Murphy 0 siblings, 1 reply; 17+ messages in thread From: Mark Murawski @ 2014-09-16 16:51 UTC (permalink / raw) To: Btrfs BTRFS Playing around with this filesystem I hot-removed a device from the array and put in a replacement. Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa Total devices 2 FS bytes used 7.43GiB devid 1 size 9.31GiB used 8.90GiB path /dev/sdc6 devid 3 size 9.31GiB used 8.90GiB path /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa <removed /dev/sdc> Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa Total devices 2 FS bytes used 7.43GiB devid 3 size 9.31GiB used 8.90GiB path /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa *** Some devices missing cartman {~} root# btrfs device add /dev/sdi6 / cartman {~} root# btrfs fi show Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa Total devices 3 FS bytes used 7.43GiB devid 3 size 9.31GiB used 8.90GiB path /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa devid 4 size 10.00GiB used 0.00 path /dev/sdi6 *** Some devices missing cartman {~} root# btrfs filesystem balance start / Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2411, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2412, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2413, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2414, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2415, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2416, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2417, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2418, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2419, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2420, rd 0, flush 38, corrupt 137167, gen 25 Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O error on /dev/sdc6 Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O error on /dev/sdc6 Sep 16 12:47:14 localhost kernel: BTRFS info (device sdd6): found 59023 extents Sep 16 12:47:14 localhost kernel: use_block_rsv: 4 callbacks suppressed Sep 16 12:47:14 localhost kernel: ------------[ cut here ]------------ Sep 16 12:47:14 localhost kernel: WARNING: CPU: 1 PID: 5109 at fs/btrfs/extent-tree.c:7273 btrfs_alloc_free_block+0x455/0x4a0() Sep 16 12:47:14 localhost kernel: BTRFS: block rsv returned -28 Sep 16 12:47:14 localhost kernel: Modules linked in: Sep 16 12:47:14 localhost kernel: CPU: 1 PID: 5109 Comm: tail Tainted: G W 3.16.1 #2 Sep 16 12:47:14 localhost kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA74GM-S2/GA-MA74GM-S2, BIOS F1 04/17/2008 Sep 16 12:47:14 localhost kernel: 0000000000000000 ffffffff819e3610 ffffffff817e4409 ffff88005a9eba68 Sep 16 12:47:14 localhost kernel: ffffffff8106f6f2 ffff8800379fe980 ffff880073a70000 0000000000001000 Sep 16 12:47:14 localhost kernel: ffff88001fc635a0 ffff8800747b6000 ffffffff8106f7d5 ffffffff819f5978 Sep 16 12:47:14 localhost kernel: Call Trace: Sep 16 12:47:14 localhost kernel: [<ffffffff817e4409>] ? dump_stack+0x49/0x6a Sep 16 12:47:14 localhost kernel: [<ffffffff8106f6f2>] ? warn_slowpath_common+0x82/0xb0 Sep 16 12:47:14 localhost kernel: [<ffffffff8106f7d5>] ? warn_slowpath_fmt+0x45/0x50 Sep 16 12:47:14 localhost kernel: [<ffffffff8135f074>] ? ___ratelimit+0x94/0x100 Sep 16 12:47:14 localhost kernel: [<ffffffff81296625>] ? btrfs_alloc_free_block+0x455/0x4a0 Sep 16 12:47:14 localhost kernel: [<ffffffff810992b7>] ? set_next_entity+0x37/0x80 Sep 16 12:47:14 localhost kernel: [<ffffffff812ca111>] ? read_extent_buffer+0xb1/0x110 Sep 16 12:47:14 localhost kernel: [<ffffffff81091de9>] ? finish_task_switch+0x49/0xe0 Sep 16 12:47:14 localhost kernel: [<ffffffff81280d9f>] ? btrfs_copy_root+0xef/0x2a0 Sep 16 12:47:14 localhost kernel: [<ffffffff812f1853>] ? create_reloc_root+0x1e3/0x2a0 Sep 16 12:47:14 localhost kernel: [<ffffffff812f7848>] ? btrfs_init_reloc_root+0xb8/0xd0 Sep 16 12:47:14 localhost kernel: [<ffffffff812a708f>] ? record_root_in_trans+0xaf/0x110 Sep 16 12:47:14 localhost kernel: [<ffffffff812a8496>] ? btrfs_record_root_in_trans+0x46/0x80 Sep 16 12:47:14 localhost kernel: [<ffffffff812a98fc>] ? start_transaction+0x8c/0x4f0 Sep 16 12:47:14 localhost kernel: [<ffffffff812b1168>] ? btrfs_dirty_inode+0x58/0xe0 Sep 16 12:47:14 localhost kernel: [<ffffffff8113b382>] ? touch_atime+0x152/0x160 Sep 16 12:47:14 localhost kernel: [<ffffffff810e3eb5>] ? generic_file_read_iter+0x545/0x5a0 Sep 16 12:47:14 localhost kernel: [<ffffffff810a1d49>] ? remove_wait_queue+0x19/0x60 Sep 16 12:47:14 localhost kernel: [<ffffffff810a1bc4>] ? prepare_to_wait+0x24/0x90 Sep 16 12:47:14 localhost kernel: [<ffffffff81122493>] ? new_sync_read+0x73/0xa0 Sep 16 12:47:14 localhost kernel: [<ffffffff811230ae>] ? vfs_read+0x9e/0x170 Sep 16 12:47:14 localhost kernel: [<ffffffff8112332f>] ? SyS_read+0x4f/0xd0 Sep 16 12:47:14 localhost kernel: [<ffffffff817eae12>] ? system_call_fastpath+0x16/0x1b Sep 16 12:47:14 localhost kernel: ---[ end trace 0662903316baa365 ]--- Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O error on /dev/sdc6 Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O error on /dev/sdc6 Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O error on /dev/sdc6 On 09/16/14 12:37, Duncan wrote: > Mark Murawski posted on Mon, 15 Sep 2014 22:23:47 -0400 as excerpted: > >> I wish i could follow your procedure, but this wasn't an ext conversion. >> >> I made this with mkfs for btrfs with kernel circa 3.8ish > > Good. That possible corner-case is eliminated. then. I had seen nothing > indicating it might apply, but better to find that out now than to spend > days tearing hair out trying to trace it down, only to discover it's that > one already known corner-case! =:^) > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-16 16:51 ` btrfs balance enospc Mark Murawski @ 2014-09-16 17:26 ` Chris Murphy 2014-09-16 19:54 ` Mark Murawski 2014-09-16 20:10 ` Kyle Gates 0 siblings, 2 replies; 17+ messages in thread From: Chris Murphy @ 2014-09-16 17:26 UTC (permalink / raw) To: Btrfs BTRFS On Sep 16, 2014, at 10:51 AM, Mark Murawski <markm-lists@intellasoft.net> wrote: > > Playing around with this filesystem I hot-removed a device from the > array and put in a replacement. > > Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa > Total devices 2 FS bytes used 7.43GiB > devid 1 size 9.31GiB used 8.90GiB path /dev/sdc6 > devid 3 size 9.31GiB used 8.90GiB path > /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa > > <removed /dev/sdc> > > Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa > Total devices 2 FS bytes used 7.43GiB > devid 3 size 9.31GiB used 8.90GiB path > /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa > *** Some devices missing > > cartman {~} root# btrfs device add /dev/sdi6 / > cartman {~} root# btrfs fi show > Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa > Total devices 3 FS bytes used 7.43GiB > devid 3 size 9.31GiB used 8.90GiB path > /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa > devid 4 size 10.00GiB used 0.00 path /dev/sdi6 > *** Some devices missing > > cartman {~} root# btrfs filesystem balance start / Better to use btrfs replace. But sequence wise you should do btrfs device delete missing, which should then effectively do a balance to the newly added device. So while the sequence isn't really correct, that's probably not why you're getting this failure. > > > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2411, > rd 0, flush 38, corrupt 137167, gen 25 Please post results of smartctl -x /dev/sdc > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2412, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2413, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2414, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2415, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2416, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2417, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2418, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2419, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2420, > rd 0, flush 38, corrupt 137167, gen 25 > Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O > error on /dev/sdc6 > Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O > error on /dev/sdc6 I'd expect with Btrfs having problems writing to a device, that there'd be libata messages related to this also. Do you have earlier kernel messages indicating the drive or controller are reporting errors? Chris Murphy ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-16 17:26 ` Chris Murphy @ 2014-09-16 19:54 ` Mark Murawski 2014-09-16 21:22 ` Chris Murphy 2014-09-16 20:10 ` Kyle Gates 1 sibling, 1 reply; 17+ messages in thread From: Mark Murawski @ 2014-09-16 19:54 UTC (permalink / raw) To: Btrfs BTRFS The smart stats on the disk are fine. The /dev/sdc messages are from me playing around and pulling out the drive. btrfs fi show, shows the drive as missing, yet it's still trying to write to it. Basically my goal is to remove this drive and stick it in another box and I can't get btrfs to move all the data off of it due to enospc. I'm gonna try and move some data off and remove/balance again. On 09/16/14 13:26, Chris Murphy wrote: > Better to use btrfs replace. But sequence wise you should do btrfs device delete missing, which should then effectively do a balance to the newly added device. So while the sequence isn't really correct, that's probably not why you're getting this failure. > > > >> >> >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2411, >> rd 0, flush 38, corrupt 137167, gen 25 > > Please post results of > smartctl -x /dev/sdc > > I'd expect with Btrfs having problems writing to a device, that there'd be libata messages related to this also. Do you have earlier kernel messages indicating the drive or controller are reporting errors? > > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-16 19:54 ` Mark Murawski @ 2014-09-16 21:22 ` Chris Murphy 0 siblings, 0 replies; 17+ messages in thread From: Chris Murphy @ 2014-09-16 21:22 UTC (permalink / raw) To: Btrfs BTRFS On Sep 16, 2014, at 1:54 PM, Mark Murawski <markm-lists@intellasoft.net> wrote: > The smart stats on the disk are fine. The /dev/sdc messages are from me playing around and pulling out the drive. btrfs fi show, shows the drive as missing, yet it's still trying to write to it. That's known. > Basically my goal is to remove this drive and stick it in another box and I can't get btrfs to move all the data off of it due to enospc. If you can mount it rw, even degraded, you can make ro snapshots of things you want to keep, and then btrfs send to a new volume. Chris Murphy ^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: btrfs balance enospc 2014-09-16 17:26 ` Chris Murphy 2014-09-16 19:54 ` Mark Murawski @ 2014-09-16 20:10 ` Kyle Gates 2014-09-17 17:51 ` Mark Murawski 1 sibling, 1 reply; 17+ messages in thread From: Kyle Gates @ 2014-09-16 20:10 UTC (permalink / raw) To: linux-btrfs@vger.kernel.org > From: lists@colorremedies.com > Date: Tue, 16 Sep 2014 11:26:16 -0600 > > > On Sep 16, 2014, at 10:51 AM, Mark Murawski <markm-lists@intellasoft.net> wrote: > >> >> Playing around with this filesystem I hot-removed a device from the >> array and put in a replacement. >> >> Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa >> Total devices 2 FS bytes used 7.43GiB >> devid 1 size 9.31GiB used 8.90GiB path /dev/sdc6 >> devid 3 size 9.31GiB used 8.90GiB path >> /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa >> >> <removed /dev/sdc> >> >> Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa >> Total devices 2 FS bytes used 7.43GiB >> devid 3 size 9.31GiB used 8.90GiB path >> /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa >> *** Some devices missing >> >> cartman {~} root# btrfs device add /dev/sdi6 / >> cartman {~} root# btrfs fi show >> Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa >> Total devices 3 FS bytes used 7.43GiB >> devid 3 size 9.31GiB used 8.90GiB path >> /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa >> devid 4 size 10.00GiB used 0.00 path /dev/sdi6 >> *** Some devices missing >> >> cartman {~} root# btrfs filesystem balance start / > > Better to use btrfs replace. But sequence wise you should do btrfs device delete missing, which should then effectively do a balance to the newly added device. So while the sequence isn't really correct, that's probably not why you're getting this failure. Does/should a balance imply removal of missing devices (as long as the minimum number of devices are still available)? > >> >> >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2411, >> rd 0, flush 38, corrupt 137167, gen 25 > > Please post results of > smartctl -x /dev/sdc > > > >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2412, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2413, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2414, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2415, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2416, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2417, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2418, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2419, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:12 localhost kernel: BTRFS: bdev /dev/sdc6 errs: wr 2420, >> rd 0, flush 38, corrupt 137167, gen 25 >> Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O >> error on /dev/sdc6 >> Sep 16 12:47:14 localhost kernel: BTRFS: lost page write due to I/O >> error on /dev/sdc6 > > I'd expect with Btrfs having problems writing to a device, that there'd be libata messages related to this also. Do you have earlier kernel messages indicating the drive or controller are reporting errors? > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-16 20:10 ` Kyle Gates @ 2014-09-17 17:51 ` Mark Murawski 2014-09-17 19:10 ` Chris Murphy 2014-09-17 21:11 ` Duncan 0 siblings, 2 replies; 17+ messages in thread From: Mark Murawski @ 2014-09-17 17:51 UTC (permalink / raw) To: linux-btrfs@vger.kernel.org > Does/should a balance imply removal of missing devices (as long as the minimum number of devices are still available)? That's a really good question. As a user I would expect it to balance over remaining devices assuming you still have a complete picture. Doing a device delete missing after a balance should be just some pool metadata updates at that point. Anyway... I solved my problem by moving/deleting files to free up space to the point that balance no longer complained about enospc. I suppose btrfs needs extra working space to do a balance... above and beyond the actual size of the existing data/metadata to be moved? I had a total of three devices, with what appeared to be plenty of space on the two that were to be remaining, but balance/remove was still complaining to be out of disk space. It would be a good idea for some metrics to be calculated upon start of a removal or balance to tell the user "hey you need to free up XXX more bytes in order for this operation to be successful". ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-17 17:51 ` Mark Murawski @ 2014-09-17 19:10 ` Chris Murphy 2014-09-17 21:11 ` Duncan 1 sibling, 0 replies; 17+ messages in thread From: Chris Murphy @ 2014-09-17 19:10 UTC (permalink / raw) To: Btrfs BTRFS On Sep 17, 2014, at 11:51 AM, Mark Murawski <markm-lists@intellasoft.net> wrote: > > Does/should a balance imply removal of missing devices (as long as the minimum number of devices are still available)? > > That's a really good question. As a user I would expect it to balance over remaining devices assuming you still have a complete picture. Doing a device delete missing after a balance should be just some pool metadata updates at that point. > > Anyway... I solved my problem by moving/deleting files to free up space to the point that balance no longer complained about enospc. Another option in such a case is to add a new device. It can be small, even a 2GB loop device or USB stick would do it in a bind. Then delete the device when you're done. Chris Murphy ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-17 17:51 ` Mark Murawski 2014-09-17 19:10 ` Chris Murphy @ 2014-09-17 21:11 ` Duncan 1 sibling, 0 replies; 17+ messages in thread From: Duncan @ 2014-09-17 21:11 UTC (permalink / raw) To: linux-btrfs Mark Murawski posted on Wed, 17 Sep 2014 13:51:51 -0400 as excerpted: >> Does/should a balance imply removal of missing devices (as long as >> the minimum number of devices are still available)? > > That's a really good question. As a user I would expect it to balance > over remaining devices assuming you still have a complete picture. Doing > a device delete missing after a balance should be just some pool > metadata updates at that point. A balance does not imply removal of missing devices. And at this point I'd say it shouldn't, tho perhaps some day after the code is somewhat more stable it could. In fact, until recently kernelspace btrfs (which does all the work in a balance, userspace is simply the way you tell it what to do) didn't even properly detect dynamically added/removed devices, resulting in definitely unintuitive behavior where the balance would still queue up chunks to be rewritten to the missing device, that would obviously never be written because the device was missing and wasn't coming back! (!!!) AFAIK (I'm a sysadmin and list regular, not a developer) that arguably pathological behavior has been fixed now, at least in theory, and the kernel should properly detect missing devices and should no longer try to write to them when doing a balance, so now, at least in theory and assuming good copies of all data and metadata on the remaining device from the original pair, a balance to it and a just added device in raid1 mode should leave only the device metadata for btrfs device delete missing to fix up afterward. However, as of now, there's still at least two bug reports being traced down in the dynamic device detection code (see the current thread where btrfs fi show on a two-device filesystem is pointing to the wrong place for one of the devices, and another where show says a device is missing, that isn't), and possibly others yet to be found, so it's not yet a good idea to have btrfs doing automatic device delete missing on balance. After the bug fixes are in and the code churn in that area calmed down for a couple kernel cycles, perhaps then we can debate whether a balance should automatically delete missing devices when appropriate, or not, but certainly now isn't isn't the time. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 17+ messages in thread
* btrfs balance enospc
@ 2014-09-15 15:34 Mark Murawski
2014-09-15 17:07 ` Leonidas Spyropoulos
0 siblings, 1 reply; 17+ messages in thread
From: Mark Murawski @ 2014-09-15 15:34 UTC (permalink / raw)
To: linux-btrfs
I should have plenty of space for this operation, but it fails....
cartman {~} root# btrfs filesystem df /
Data, RAID1: total=7.59GiB, used=7.00GiB
System, RAID1: total=32.00MiB, used=4.00KiB
Metadata, RAID1: total=1.00GiB, used=438.45MiB
unknown, single: total=148.00MiB, used=0.00
Filesystem Type Size Used
Avail Use% Mounted on
/dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa btrfs 19G 15G
3.1G 84% /
cartman {~} root# btrfs fi show
Label: 'Root' uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa
Total devices 2 FS bytes used 7.43GiB
devid 1 size 9.31GiB used 8.06GiB path
/dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa
devid 3 size 9.31GiB used 8.06GiB path /dev/sdd6
Label: 'Storage' uuid: 179749c1-1bfb-4f28-9c69-72126c96cdef
Total devices 8 FS bytes used 1.83TiB
devid 1 size 149.05GiB used 149.04GiB path /dev/sde
devid 2 size 149.05GiB used 149.05GiB path /dev/sdh
devid 3 size 465.76GiB used 465.76GiB path /dev/sdc
devid 4 size 465.76GiB used 461.70GiB path /dev/sdf
devid 5 size 465.76GiB used 461.00GiB path /dev/sda
devid 6 size 465.76GiB used 461.00GiB path /dev/sdb
devid 7 size 920.34GiB used 843.00GiB path /dev/sdg7
devid 9 size 1.81TiB used 755.00GiB path /dev/sdd7
Btrfs v3.16
cartman {~} root# btrfs balance start /
ERROR: error during balancing '/' - No space left on device
There may be more info in syslog - try dmesg | tail
Sep 13 16:35:42 localhost kernel: BTRFS info (device sdg6): found 33544
extents
Sep 13 16:35:51 localhost kernel: BTRFS info (device sdg6): found 33541
extents
Sep 13 16:35:52 localhost kernel: BTRFS info (device sdg6): relocating
block group 80153214976 flags 18
Sep 13 16:35:53 localhost kernel: BTRFS info (device sdg6): found 1 extents
Sep 13 16:35:54 localhost kernel: BTRFS info (device sdg6): relocating
block group 79680700416 flags 17
Sep 13 16:36:03 localhost kernel: BTRFS info (device sdg6): found 32545
extents
Sep 13 16:36:09 localhost kernel: BTRFS info (device sdg6): found 32545
extents
Sep 13 16:36:10 localhost kernel: BTRFS info (device sdg6): relocating
block group 79412264960 flags 20
Sep 13 16:36:12 localhost kernel: BTRFS info (device sdg6): found 1114
extents
Sep 13 16:36:13 localhost kernel: BTRFS info (device sdg6): relocating
block group 79143829504 flags 20
Sep 13 16:36:37 localhost kernel: BTRFS info (device sdg6): found 59076
extents
Sep 13 16:36:38 localhost kernel: BTRFS info (device sdg6): relocating
block group 78875394048 flags 20
Sep 13 16:37:01 localhost kernel: BTRFS info (device sdg6): found 59268
extents
Sep 13 16:37:02 localhost kernel: BTRFS info (device sdg6): 6 enospc
errors during balance
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: btrfs balance enospc 2014-09-15 15:34 Mark Murawski @ 2014-09-15 17:07 ` Leonidas Spyropoulos 2014-09-15 17:37 ` Mark Murawski 0 siblings, 1 reply; 17+ messages in thread From: Leonidas Spyropoulos @ 2014-09-15 17:07 UTC (permalink / raw) To: linux-btrfs On 15/09/14, Mark Murawski wrote: > I should have plenty of space for this operation, but it fails.... > > [...] This might be useful: https://btrfs.wiki.kernel.org/index.php/Balance_Filters Regards, Leonidas -- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-15 17:07 ` Leonidas Spyropoulos @ 2014-09-15 17:37 ` Mark Murawski 2014-09-15 20:54 ` Chris Murphy 0 siblings, 1 reply; 17+ messages in thread From: Mark Murawski @ 2014-09-15 17:37 UTC (permalink / raw) To: linux-btrfs btrfs balance start -dusage=86 / Done, had to relocate 1 out of 13 chunks cartman {~} root# btrfs fi df / Data, RAID1: total=7.03GiB, used=7.01GiB System, RAID1: total=32.00MiB, used=4.00KiB Metadata, RAID1: total=1.00GiB, used=438.88MiB unknown, single: total=148.00MiB, used=0.00 What's this 'unknown' section? Maybe this is the problem? How do I get rid of it? I still get enospc after a balance with a filter, and then a regular balance: cartman {~} root# btrfs balance start / ERROR: error during balancing '/' - No space left on device On 09/15/14 13:07, Leonidas Spyropoulos wrote: > On 15/09/14, Mark Murawski wrote: >> I should have plenty of space for this operation, but it fails.... >> >> [...] > > This might be useful: > https://btrfs.wiki.kernel.org/index.php/Balance_Filters > > Regards, > Leonidas > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-15 17:37 ` Mark Murawski @ 2014-09-15 20:54 ` Chris Murphy 2014-09-15 22:40 ` Mark Murawski 2014-09-16 0:08 ` Duncan 0 siblings, 2 replies; 17+ messages in thread From: Chris Murphy @ 2014-09-15 20:54 UTC (permalink / raw) To: Btrfs BTRFS On Sep 15, 2014, at 11:37 AM, Mark Murawski <markm-lists@intellasoft.net> wrote: > btrfs balance start -dusage=86 / > Done, had to relocate 1 out of 13 chunks > > cartman {~} root# btrfs fi df / > Data, RAID1: total=7.03GiB, used=7.01GiB > System, RAID1: total=32.00MiB, used=4.00KiB > Metadata, RAID1: total=1.00GiB, used=438.88MiB > unknown, single: total=148.00MiB, used=0.00 > > What's this 'unknown' section? Maybe this is the problem? How do I get rid of it? It's not a problem, it's cosmetic for now, something introduced in kernel 3.15 but progs doesn't yet give a label for. > > I still get enospc after a balance with a filter, and then a regular balance: > > cartman {~} root# btrfs balance start / > ERROR: error during balancing '/' - No space left on device Maybe try mount option enospc_debug and retry, see if you get more information in dmesg. I'm not sure if a balance in this case wants to create a new data and metadata chunk (on each device), or if it can start without creating any chunks. If it wants to create new chunks, it's 1GiB for data, and 256MiB for metadata. That's 1.256GiB but you only have 1.25GiB unallocated on each device: size 9.31GiB minus used 8.06GiB. Chris Murphy ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-15 20:54 ` Chris Murphy @ 2014-09-15 22:40 ` Mark Murawski 2014-09-16 0:08 ` Duncan 1 sibling, 0 replies; 17+ messages in thread From: Mark Murawski @ 2014-09-15 22:40 UTC (permalink / raw) To: Btrfs BTRFS This is with debugging: cartman {~} root# btrfs balance start / ERROR: error during balancing '/' - No space left on device There may be more info in syslog - try dmesg | tail cartman {~} root# Sep 15 18:31:47 localhost kernel: BTRFS info (device sdg6): disk space caching is enabled Sep 15 18:31:47 localhost kernel: BTRFS info (device sdg6): disk space caching is enabled Sep 15 18:31:47 localhost kernel: BTRFS info (device sdi): disk space caching is enabled Sep 15 18:31:47 localhost kernel: BTRFS: bdev /dev/sdd7 errs: wr 418589, rd 444362, flush 11, corrupt 0, gen 0 Sep 15 18:31:47 localhost kernel: r8169 0000:02:00.0 eth0: link down Sep 15 18:31:47 localhost kernel: r8169 0000:02:00.0 eth0: link down Sep 15 18:31:49 localhost kernel: r8169 0000:02:00.0 eth0: link up Sep 15 18:36:05 localhost kernel: BTRFS info (device sdg6): relocating block group 86631972864 flags 20 Sep 15 18:36:11 localhost kernel: BTRFS info (device sdg6): found 872 extents Sep 15 18:36:11 localhost kernel: ------------[ cut here ]------------ Sep 15 18:36:11 localhost kernel: WARNING: CPU: 1 PID: 3763 at fs/btrfs/extent-tree.c:7273 btrfs_alloc_free_block+0x455/0x4a0() Sep 15 18:36:11 localhost kernel: BTRFS: block rsv returned -28 Sep 15 18:36:11 localhost kernel: Modules linked in: Sep 15 18:36:11 localhost kernel: CPU: 1 PID: 3763 Comm: tail Not tainted 3.16.1 #2 Sep 15 18:36:11 localhost kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA74GM-S2/GA-MA74GM-S2, BIOS F1 04/17/2008 Sep 15 18:36:11 localhost kernel: 0000000000000000 ffffffff819e3610 ffffffff817e4409 ffff88006ee2fa68 Sep 15 18:36:11 localhost kernel: ffffffff8106f6f2 ffff880073fc9e00 ffff88007525b000 0000000000001000 Sep 15 18:36:11 localhost kernel: ffff880072f58280 ffff880074196000 ffffffff8106f7d5 ffffffff819f5978 Sep 15 18:36:11 localhost kernel: Call Trace: Sep 15 18:36:11 localhost kernel: [<ffffffff817e4409>] ? dump_stack+0x49/0x6a Sep 15 18:36:11 localhost kernel: [<ffffffff8106f6f2>] ? warn_slowpath_common+0x82/0xb0 Sep 15 18:36:11 localhost kernel: [<ffffffff8106f7d5>] ? warn_slowpath_fmt+0x45/0x50 Sep 15 18:36:11 localhost kernel: [<ffffffff8135f074>] ? ___ratelimit+0x94/0x100 Sep 15 18:36:11 localhost kernel: [<ffffffff81296625>] ? btrfs_alloc_free_block+0x455/0x4a0 Sep 15 18:36:11 localhost kernel: [<ffffffff810992b7>] ? set_next_entity+0x37/0x80 Sep 15 18:36:11 localhost kernel: [<ffffffff812ca111>] ? read_extent_buffer+0xb1/0x110 Sep 15 18:36:11 localhost kernel: [<ffffffff81091de9>] ? finish_task_switch+0x49/0xe0 Sep 15 18:36:11 localhost kernel: [<ffffffff81280d9f>] ? btrfs_copy_root+0xef/0x2a0 Sep 15 18:36:11 localhost kernel: [<ffffffff812f1853>] ? create_reloc_root+0x1e3/0x2a0 Sep 15 18:36:11 localhost kernel: [<ffffffff812f7848>] ? btrfs_init_reloc_root+0xb8/0xd0 Sep 15 18:36:11 localhost kernel: [<ffffffff812a708f>] ? record_root_in_trans+0xaf/0x110 Sep 15 18:36:11 localhost kernel: [<ffffffff812a8496>] ? btrfs_record_root_in_trans+0x46/0x80 Sep 15 18:36:11 localhost kernel: [<ffffffff812a98fc>] ? start_transaction+0x8c/0x4f0 Sep 15 18:36:11 localhost kernel: [<ffffffff812b1168>] ? btrfs_dirty_inode+0x58/0xe0 Sep 15 18:36:11 localhost kernel: [<ffffffff8113b382>] ? touch_atime+0x152/0x160 Sep 15 18:36:11 localhost kernel: [<ffffffff810e3eb5>] ? generic_file_read_iter+0x545/0x5a0 Sep 15 18:36:11 localhost kernel: [<ffffffff810a1d49>] ? remove_wait_queue+0x19/0x60 Sep 15 18:36:11 localhost kernel: [<ffffffff810a1bc4>] ? prepare_to_wait+0x24/0x90 Sep 15 18:36:11 localhost kernel: [<ffffffff81122493>] ? new_sync_read+0x73/0xa0 Sep 15 18:36:11 localhost kernel: [<ffffffff811230ae>] ? vfs_read+0x9e/0x170 Sep 15 18:36:11 localhost kernel: [<ffffffff8112332f>] ? SyS_read+0x4f/0xd0 Sep 15 18:36:11 localhost kernel: [<ffffffff817eae12>] ? system_call_fastpath+0x16/0x1b Sep 15 18:36:11 localhost kernel: ---[ end trace 8efb39cc34150d60 ]--- Sep 15 18:36:12 localhost kernel: BTRFS info (device sdg6): relocating block group 86598418432 flags 18 Sep 15 18:36:14 localhost kernel: BTRFS info (device sdg6): found 1 extents Sep 15 18:36:15 localhost kernel: BTRFS info (device sdg6): relocating block group 86329982976 flags 20 Sep 15 18:36:49 localhost kernel: BTRFS info (device sdg6): found 55332 extents Sep 15 18:36:50 localhost kernel: BTRFS info (device sdg6): relocating block group 86061547520 flags 20 Sep 15 18:37:14 localhost kernel: BTRFS info (device sdg6): found 57486 extents Sep 15 18:37:14 localhost kernel: use_block_rsv: 2 callbacks suppressed Sep 15 18:37:14 localhost kernel: ------------[ cut here ]------------ Sep 15 18:37:14 localhost kernel: WARNING: CPU: 1 PID: 3763 at fs/btrfs/extent-tree.c:7273 btrfs_alloc_free_block+0x455/0x4a0() Sep 15 18:37:14 localhost kernel: BTRFS: block rsv returned -28 Sep 15 18:37:14 localhost kernel: Modules linked in: Sep 15 18:37:14 localhost kernel: CPU: 1 PID: 3763 Comm: tail Tainted: G W 3.16.1 #2 Sep 15 18:37:14 localhost kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA74GM-S2/GA-MA74GM-S2, BIOS F1 04/17/2008 Sep 15 18:37:14 localhost kernel: 0000000000000000 ffffffff819e3610 ffffffff817e4409 ffff88006ee2fa68 Sep 15 18:37:14 localhost kernel: ffffffff8106f6f2 ffff880073fc9da0 ffff88007525b000 0000000000001000 Sep 15 18:37:14 localhost kernel: ffff880035e393c0 ffff880074196000 ffffffff8106f7d5 ffffffff819f5978 Sep 15 18:37:14 localhost kernel: Call Trace: Sep 15 18:37:14 localhost kernel: [<ffffffff817e4409>] ? dump_stack+0x49/0x6a Sep 15 18:37:14 localhost kernel: [<ffffffff8106f6f2>] ? warn_slowpath_common+0x82/0xb0 Sep 15 18:37:14 localhost kernel: [<ffffffff8106f7d5>] ? warn_slowpath_fmt+0x45/0x50 Sep 15 18:37:14 localhost kernel: [<ffffffff8135f074>] ? ___ratelimit+0x94/0x100 Sep 15 18:37:14 localhost kernel: [<ffffffff81296625>] ? btrfs_alloc_free_block+0x455/0x4a0 Sep 15 18:37:14 localhost kernel: [<ffffffff810992b7>] ? set_next_entity+0x37/0x80 Sep 15 18:37:14 localhost kernel: [<ffffffff812ca111>] ? read_extent_buffer+0xb1/0x110 Sep 15 18:37:14 localhost kernel: [<ffffffff81091de9>] ? finish_task_switch+0x49/0xe0 Sep 15 18:37:14 localhost kernel: [<ffffffff81280d9f>] ? btrfs_copy_root+0xef/0x2a0 Sep 15 18:37:14 localhost kernel: [<ffffffff812a33b5>] ? btrfs_read_tree_root+0xb5/0x170 Sep 15 18:37:14 localhost kernel: [<ffffffff812f1853>] ? create_reloc_root+0x1e3/0x2a0 Sep 15 18:37:14 localhost kernel: [<ffffffff812f19e7>] ? __add_reloc_root+0x87/0x120 Sep 15 18:37:14 localhost kernel: [<ffffffff812f7848>] ? btrfs_init_reloc_root+0xb8/0xd0 Sep 15 18:37:14 localhost kernel: [<ffffffff812a708f>] ? record_root_in_trans+0xaf/0x110 Sep 15 18:37:14 localhost kernel: [<ffffffff812a8496>] ? btrfs_record_root_in_trans+0x46/0x80 Sep 15 18:37:14 localhost kernel: [<ffffffff812a98fc>] ? start_transaction+0x8c/0x4f0 Sep 15 18:37:14 localhost kernel: [<ffffffff812b1168>] ? btrfs_dirty_inode+0x58/0xe0 Sep 15 18:37:14 localhost kernel: [<ffffffff8113b382>] ? touch_atime+0x152/0x160 Sep 15 18:37:14 localhost kernel: [<ffffffff810e3eb5>] ? generic_file_read_iter+0x545/0x5a0 Sep 15 18:37:14 localhost kernel: [<ffffffff810a1d49>] ? remove_wait_queue+0x19/0x60 Sep 15 18:37:14 localhost kernel: [<ffffffff810a1bc4>] ? prepare_to_wait+0x24/0x90 Sep 15 18:37:14 localhost kernel: [<ffffffff81122493>] ? new_sync_read+0x73/0xa0 Sep 15 18:37:14 localhost kernel: [<ffffffff811230ae>] ? vfs_read+0x9e/0x170 Sep 15 18:37:14 localhost kernel: [<ffffffff8112332f>] ? SyS_read+0x4f/0xd0 Sep 15 18:37:14 localhost kernel: [<ffffffff817eae12>] ? system_call_fastpath+0x16/0x1b Sep 15 18:37:14 localhost kernel: ---[ end trace 8efb39cc34150d61 ]--- Sep 15 18:37:14 localhost kernel: BTRFS info (device sdg6): relocating block group 84987805696 flags 17 Sep 15 18:37:24 localhost kernel: BTRFS info (device sdg6): 8 enospc errors during balance > > Maybe try mount option enospc_debug and retry, see if you get more information in dmesg. > > I'm not sure if a balance in this case wants to create a new data and metadata chunk (on each device), or if it can start without creating any chunks. If it wants to create new chunks, it's 1GiB for data, and 256MiB for metadata. That's 1.256GiB but you only have 1.25GiB unallocated on each device: size 9.31GiB minus used 8.06GiB. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-15 20:54 ` Chris Murphy 2014-09-15 22:40 ` Mark Murawski @ 2014-09-16 0:08 ` Duncan 2014-09-16 1:19 ` Chris Murphy 2014-09-16 2:23 ` Mark Murawski 1 sibling, 2 replies; 17+ messages in thread From: Duncan @ 2014-09-16 0:08 UTC (permalink / raw) To: linux-btrfs Chris Murphy posted on Mon, 15 Sep 2014 14:54:57 -0600 as excerpted: >> I still get enospc after a balance with a filter, and then a regular >> balance: >> >> cartman {~} root# btrfs balance start / >> ERROR: error during balancing '/' - No space left on device > > Maybe try mount option enospc_debug and retry, see if you get more > information in dmesg. > > I'm not sure if a balance in this case wants to create a new data and > metadata chunk (on each device), or if it can start without creating any > chunks. If it wants to create new chunks, it's 1GiB for data, and 256MiB > for metadata. That's 1.256GiB but you only have 1.25GiB unallocated on > each device: size 9.31GiB minus used 8.06GiB. Another possibility that has hit a few people: Did you (MM/OP not CM) convert that filesystem from ext* to btrfs? If so, read on. If not, this doesn't apply so you may skip it. Assuming such a conversion, did you delete the subvolume containing the original ext* yet, or not? If not, that may be the problem, because that subvolume must be left intact in ordered to allow rollback to ext* if desired. If you know you won't be rolling back, delete the ext* reserved subvolume as described on the wiki. Meanwhile, after deleting that subvolume, be sure to complete the defrag and balance as suggested on the wiki, because failing to do so can lead to other problems later. Basically, the biggest extent size supported by btrfs is 1 GiB, the size of a btrfs data chunk, while ext* supports larger (unlimited size?) extents. Failing to complete the defrag in particular as suggested can mean large files with extents > 1 GiB in size, which gives btrfs balance indigestion since it expects to see only 1 GiB or smaller extents. Several folks who converted from ext3/4 have reported failed balances due to these too large extents, and fixing the problem later can require manually moving one-by-one all files large enough to be candidates for the problem (thus files > 1 GiB) out of btrfs and back in, thus resulting in properly chunk-split extents when the file is moved back to btrfs. Everyone who has reported this problem so far, has also reported that the move out and back in process solved the problem for them, but if there's lots of such files it can be a pain, and doing the defrag on the formerly ext* files before starting to use the now btrfs for other things, ESPECIALLY before trying to snapshot affected subvolumes since that locks the problem in place until those snapshots are deleted, is definitely preferred. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-16 0:08 ` Duncan @ 2014-09-16 1:19 ` Chris Murphy 2014-09-16 2:23 ` Mark Murawski 1 sibling, 0 replies; 17+ messages in thread From: Chris Murphy @ 2014-09-16 1:19 UTC (permalink / raw) To: Btrfs BTRFS On Sep 15, 2014, at 6:08 PM, Duncan <1i5t5.duncan@cox.net> wrote: > > Assuming such a conversion, did you delete the subvolume containing the > original ext* yet, or not? If not, that may be the problem, because that > subvolume must be left intact in ordered to allow rollback to ext* if > desired. If you know you won't be rolling back, delete the ext* reserved > subvolume as described on the wiki. Good catch, I always forget this. Chris Murphy ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-16 0:08 ` Duncan 2014-09-16 1:19 ` Chris Murphy @ 2014-09-16 2:23 ` Mark Murawski 2014-09-16 16:37 ` Duncan 1 sibling, 1 reply; 17+ messages in thread From: Mark Murawski @ 2014-09-16 2:23 UTC (permalink / raw) To: linux-btrfs I wish i could follow your procedure, but this wasn't an ext conversion. I made this with mkfs for btrfs with kernel circa 3.8ish On 09/15/14 20:08, Duncan wrote: > Chris Murphy posted on Mon, 15 Sep 2014 14:54:57 -0600 as excerpted: > >>> I still get enospc after a balance with a filter, and then a regular >>> balance: >>> >>> cartman {~} root# btrfs balance start / >>> ERROR: error during balancing '/' - No space left on device >> >> Maybe try mount option enospc_debug and retry, see if you get more >> information in dmesg. >> >> I'm not sure if a balance in this case wants to create a new data and >> metadata chunk (on each device), or if it can start without creating any >> chunks. If it wants to create new chunks, it's 1GiB for data, and 256MiB >> for metadata. That's 1.256GiB but you only have 1.25GiB unallocated on >> each device: size 9.31GiB minus used 8.06GiB. > > Another possibility that has hit a few people: > > Did you (MM/OP not CM) convert that filesystem from ext* to btrfs? If > so, read on. If not, this doesn't apply so you may skip it. > > Assuming such a conversion, did you delete the subvolume containing the > original ext* yet, or not? If not, that may be the problem, because that > subvolume must be left intact in ordered to allow rollback to ext* if > desired. If you know you won't be rolling back, delete the ext* reserved > subvolume as described on the wiki. > > Meanwhile, after deleting that subvolume, be sure to complete the defrag > and balance as suggested on the wiki, because failing to do so can lead > to other problems later. Basically, the biggest extent size supported by > btrfs is 1 GiB, the size of a btrfs data chunk, while ext* supports > larger (unlimited size?) extents. Failing to complete the defrag in > particular as suggested can mean large files with extents > 1 GiB in > size, which gives btrfs balance indigestion since it expects to see only > 1 GiB or smaller extents. Several folks who converted from ext3/4 have > reported failed balances due to these too large extents, and fixing the > problem later can require manually moving one-by-one all files large > enough to be candidates for the problem (thus files > 1 GiB) out of btrfs > and back in, thus resulting in properly chunk-split extents when the file > is moved back to btrfs. Everyone who has reported this problem so far, > has also reported that the move out and back in process solved the > problem for them, but if there's lots of such files it can be a pain, and > doing the defrag on the formerly ext* files before starting to use the > now btrfs for other things, ESPECIALLY before trying to snapshot affected > subvolumes since that locks the problem in place until those snapshots > are deleted, is definitely preferred. =:^) > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: btrfs balance enospc 2014-09-16 2:23 ` Mark Murawski @ 2014-09-16 16:37 ` Duncan 0 siblings, 0 replies; 17+ messages in thread From: Duncan @ 2014-09-16 16:37 UTC (permalink / raw) To: linux-btrfs Mark Murawski posted on Mon, 15 Sep 2014 22:23:47 -0400 as excerpted: > I wish i could follow your procedure, but this wasn't an ext conversion. > > I made this with mkfs for btrfs with kernel circa 3.8ish Good. That possible corner-case is eliminated. then. I had seen nothing indicating it might apply, but better to find that out now than to spend days tearing hair out trying to trace it down, only to discover it's that one already known corner-case! =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2014-09-17 21:12 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <54186A4B.60902@intellasoft.net>
2014-09-16 16:51 ` btrfs balance enospc Mark Murawski
2014-09-16 17:26 ` Chris Murphy
2014-09-16 19:54 ` Mark Murawski
2014-09-16 21:22 ` Chris Murphy
2014-09-16 20:10 ` Kyle Gates
2014-09-17 17:51 ` Mark Murawski
2014-09-17 19:10 ` Chris Murphy
2014-09-17 21:11 ` Duncan
2014-09-15 15:34 Mark Murawski
2014-09-15 17:07 ` Leonidas Spyropoulos
2014-09-15 17:37 ` Mark Murawski
2014-09-15 20:54 ` Chris Murphy
2014-09-15 22:40 ` Mark Murawski
2014-09-16 0:08 ` Duncan
2014-09-16 1:19 ` Chris Murphy
2014-09-16 2:23 ` Mark Murawski
2014-09-16 16:37 ` Duncan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).