Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Chris Mason
On Thu, Apr 23, 2015 at 02:05:48PM +0100, Filipe David Manana wrote: Trying the current integration-4.1 branch, I ran into the following during xfstests/btrfs/049: Ugh, I must not be waiting correctly in one of the inode cache writeout sections. But I've run 049 a whole bunch of times

Re: snapshot destruction making IO extremely slow

2015-04-23 Thread Marc Cousin
On 20/04/2015 11:51, Marc Cousin wrote: On 31/03/2015 19:05, David Sterba wrote: On Mon, Mar 30, 2015 at 05:09:52PM +0200, Marc Cousin wrote: So it would be good to sample the active threads and see where it's spending the time. It could be the somewhere in the rb-tree representing extents,

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Filipe David Manana
On Thu, Apr 23, 2015 at 4:17 PM, Chris Mason c...@fb.com wrote: On Thu, Apr 23, 2015 at 02:05:48PM +0100, Filipe David Manana wrote: Trying the current integration-4.1 branch, I ran into the following during xfstests/btrfs/049: Ugh, I must not be waiting correctly in one of the inode

Seeking feedback: snazzer, a btrfs snapshotting/pruning/measurement/transport tool

2015-04-23 Thread Paul Harvey
I've been hacking on https://github.com/csirac2/snazzer over the last few months. It started out as a 20-line cron job, then a 50-line gist, and now this thing that's obviously grown a little too much perhaps. snazzer was initially written to help me maintain snapshots on a fleet of VMs all using

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 14:18, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Pick one: a) download the raw image and use that, but it will be a loopback file with its own file system inside or: b) do the dnf/yum install root thing, and install it into a directory tree. I

Re: [PATCH] btrfs: Add extra check for sub_stripes to avoid hostile 0 division attack.

2015-04-23 Thread David Sterba
On Thu, Apr 23, 2015 at 11:00:45AM +0800, Qu Wenruo wrote: Although only RAID10 use sub_stripes, a hostile attack can modify chunk tree and just add RAID10 bit to a single chunk. Then btrfs_map_block will trigger a 0 division in kernel and destroy everything. Just add extra check when

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Holger Hoffstätte
On Wed, 22 Apr 2015 12:55:26 -0400, Chris Mason wrote: Great to hear. I recommend just using my for-linus-4.1 branch, since it has all the good things in one place. Even with the latest patch for xfstests/049 I reproducibly get: [ 405.052123]

Re: [PATCH] btrfs: Check superblock csum type to avoid 0 division or array overflow.

2015-04-23 Thread David Sterba
On Thu, Apr 23, 2015 at 09:31:21AM +0800, Qu Wenruo wrote: Current btrfs only support CRC32 checksum, and if csum_type is 1, we will get 0 csum size, causing 0 division later destroy the whole kernel. Or csum_type is later than 1, we will get data from other random memory causing more problem.

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 14:18, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Pick one: a) download the raw image and use that, but it will be a loopback file with its own file system inside or: b) do

Re: [PATCH] btrfs-progs: fix btrfs quota rescan failed on PPC64 arch

2015-04-23 Thread Chandan Rajendra
On Monday 20 Apr 2015 13:33:16 xuw2...@gmail.com wrote: From: George Wang xuw2...@gmail.com PPC64 arch use such following IOC values \#define _IOC_NONE 1U \#define _IOC_READ 2U \#define _IOC_WRITE 4U comparing to the default IOC values \#define _IOC_NONE 0U

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 7:36 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: When in /var/lib/machines/poppy: root@hortensia ➤➤ machines/poppy # btrfs subvolume list . ID 266 gen 98 top level 5 path rootvol ID 268

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-23 Thread Josh Boyer
On Thu, Apr 23, 2015 at 2:16 PM, Rich Freeman r-bt...@thefreemanclan.net wrote: On Mon, Apr 13, 2015 at 12:58 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman Mamedov wrote: On Thu, 2 Apr 2015 10:17:47 -0400 Chris Mason c...@fb.com wrote: Hi

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 02:16:40PM -0400, Rich Freeman wrote: On Mon, Apr 13, 2015 at 12:58 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman Mamedov wrote: On Thu, 2 Apr 2015 10:17:47 -0400 Chris Mason c...@fb.com wrote: Hi stable friends,

Crafted BTRFS-image causes use of unitialized memory in btrfs-progs

2015-04-23 Thread Lukas Lueg
See also https://bugzilla.kernel.org/show_bug.cgi?id=97171 Running btrfs-progs v3.19.1 The btrfs-image attached to this bug causes the btrfs-userland tool to use uninitialized memory and ultimately overwrite what seems to be arbitrary memory locations, dying in the process. Reproduced on x86-64

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-23 Thread Sasha Levin
On 04/23/2015 02:34 PM, Sasha Levin wrote: On 04/23/2015 02:24 PM, Josh Boyer wrote: On Thu, Apr 23, 2015 at 2:16 PM, Rich Freeman r-bt...@thefreemanclan.net wrote: On Mon, Apr 13, 2015 at 12:58 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 7:21 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: On Thu, Apr 23, 2015 at 7:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 19:00, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Chris Mason
On 04/23/2015 12:34 PM, Holger Hoffstätte wrote: kmem_cache_destroy btrfs_transaction: Slab cache still has objects Josef has a fix for this, but the fix was causing other problems. It's not a new bug, but we'll get it fixed up. -chris -- To unsubscribe from this list: send the line

[PATCH 2/3] btrfs-progs: separate the overwrite check.

2015-04-23 Thread Dan Merillat
Symlink restore needs this, but the cutpaste became too complicated. Simplify everything. Signed-off-by: Dan Merillat dan.meril...@gmail.com --- cmds-restore.c | 53 ++--- 1 file changed, 34 insertions(+), 19 deletions(-) diff --git

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 19:00, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 14:18, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Pick one: a) download the raw image and use that, but

Help needed when btrfs raid5 crashed

2015-04-23 Thread - -
Hello, I had a 3 disk raid5 system with btrfs installed. Unfortunately one of the disks crashed. Now I cannot mount the system any more, not even with the degraded option. I suspect the failed disk to have a hw failure. I Think part of the problem might be that I configured the system to not only

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: When in /var/lib/machines/poppy: root@hortensia ➤➤ machines/poppy # btrfs subvolume list . ID 266 gen 98 top level 5 path rootvol ID 268 gen 100 top level 5 path var ID 269 gen 101 top level 5 path etc ID 271 gen 72

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-23 Thread Sasha Levin
On 04/23/2015 02:24 PM, Josh Boyer wrote: On Thu, Apr 23, 2015 at 2:16 PM, Rich Freeman r-bt...@thefreemanclan.net wrote: On Mon, Apr 13, 2015 at 12:58 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman Mamedov wrote: On Thu, 2 Apr 2015

[PATCH 0/3] btrfs-progs: restore symlinks

2015-04-23 Thread Dan Merillat
Hopefully this is sufficiently paranoid, tested with PATH_MAX length symlinks, existing files, insufficient permissions, dangling symlinks. I think I got the coding style correct this time, I'll fix and resend if not. Includes a trivial fix from my metadata patch, the documentation got lost in

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 7:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 19:00, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: On Thu, Apr 23, 2015 at 4:47 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 14:18, arnaud gaboury

Re: How to repair a BTRFS block?

2015-04-23 Thread Martin Monperrus
Hi, More on my issue, I have uncorrectable errors # btrfs scrub status / scrub status for e11013b3-b244-4d1a-a9c7-3956db1a699c scrub started at Thu Apr 23 19:07:45 2015 and finished after 372 seconds total bytes scrubbed: 167.13GiB with 13 errors error details: read=13 corrected

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Filipe David Manana
On Thu, Apr 23, 2015 at 4:48 PM, Filipe David Manana fdman...@gmail.com wrote: On Thu, Apr 23, 2015 at 4:17 PM, Chris Mason c...@fb.com wrote: On Thu, Apr 23, 2015 at 02:05:48PM +0100, Filipe David Manana wrote: Trying the current integration-4.1 branch, I ran into the following during

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Chris Mason
On 04/23/2015 03:43 PM, Filipe David Manana wrote: On Thu, Apr 23, 2015 at 4:48 PM, Filipe David Manana fdman...@gmail.com wrote: On Thu, Apr 23, 2015 at 4:17 PM, Chris Mason c...@fb.com wrote: On Thu, Apr 23, 2015 at 02:05:48PM +0100, Filipe David Manana wrote: Trying the current

[GIT PULL] Btrfs for 4.1

2015-04-23 Thread Chris Mason
Hi Linus, Please pull: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.1 I've been running these through a longer set of load tests because my commits change the free space cache writeout. It fixes commit stalls on large filesystems (~20T space used and up)

Crafted btrfs-image causes access to unallocated memory in btrfs_search_slot(), check_block() and others

2015-04-23 Thread Lukas Lueg
See also https://bugzilla.kernel.org/show_bug.cgi?id=97191 Running btrfs-progs v3.19.1 The btrfs-image attached to this bug causes the btrfs-userland tool to overflow some data structures, leading to unallocated memory being written to and read from. A segfault results shortly after. Reproduced

[PATCH][RFC] btrfs-progs: add 'du' command

2015-04-23 Thread Mark Fasheh
Hi, This patch adds a 'du' subcommand to btrfs. 'btrfs fi du' will calculate disk usage of the target files using fiemap. For individual files, it will report a count of total bytes, and exclusive (not shared) bytes. We also calculate a 'set shared' value which is described below. Each argument

[PATCH 1/3] btrfs-progs: restore: document metadata restore.

2015-04-23 Thread Dan Merillat
This was lost in the cleanup of 71a559 Signed-off-by: Dan Merillat dan.meril...@gmail.com --- Documentation/btrfs-restore.asciidoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/btrfs-restore.asciidoc b/Documentation/btrfs-restore.asciidoc index 20fc366..89e0c87 100644 ---

[PATCH 3/3] btrfs-progs: optionally restore symlinks.

2015-04-23 Thread Dan Merillat
Restore symlinks, optionally with owner/times. Signed-off-by: Dan Merillat dan.meril...@gmail.com --- Documentation/btrfs-restore.asciidoc | 3 + cmds-restore.c | 140 ++- 2 files changed, 140 insertions(+), 3 deletions(-) diff --git

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-23 Thread Rich Freeman
On Mon, Apr 13, 2015 at 12:58 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman Mamedov wrote: On Thu, 2 Apr 2015 10:17:47 -0400 Chris Mason c...@fb.com wrote: Hi stable friends, Can you please backport this one to 3.19.y. It fixes a bug

Re: Help needed when btrfs raid5 crashed

2015-04-23 Thread Duncan
- - posted on Thu, 23 Apr 2015 19:30:56 +0200 as excerpted: Hello, I had a 3 disk raid5 system with btrfs installed. Unfortunately one of the disks crashed. Now I cannot mount the system any more, not even with the degraded option. I suspect the failed disk to have a hw failure. I Think

Re: How to repair a BTRFS block?

2015-04-23 Thread Duncan
Martin Monperrus posted on Thu, 23 Apr 2015 20:05:16 +0200 as excerpted: # btrfs scrub status / scrub status for e11013b3-b244-4d1a-a9c7-3956db1a699c scrub started at Thu Apr 23 19:07:45 2015 and finished after 372 seconds total bytes scrubbed: 167.13GiB with 13 errors error

Re: [PATCH] btrfs: Check superblock csum type to avoid 0 division or array overflow.

2015-04-23 Thread Qu Wenruo
Original Message Subject: Re: [PATCH] btrfs: Check superblock csum type to avoid 0 division or array overflow. From: David Sterba dste...@suse.cz To: Qu Wenruo quwen...@cn.fujitsu.com Date: 2015年04月24日 00:16 On Thu, Apr 23, 2015 at 09:31:21AM +0800, Qu Wenruo wrote:

[PATCH v2 1/2] btrfs: Fix superblock csum type check.

2015-04-23 Thread Qu Wenruo
Old csum type check is wrong and can't catch csum_type 1(not supported). Fix it to avoid hostile 0 division. Reported-by: Lukas Lueg lukas.l...@gmail.com Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com --- Changelog: v2: Fix existing codes other than adding new one. --- fs/btrfs/ctree.h |

[PATCH v2 2/2] btrfs: Add extra check for sub_stripes to avoid hostile 0 division attack.

2015-04-23 Thread Qu Wenruo
Although only RAID10 use sub_stripes, a hostile attack can modify chunk tree and just add RAID10 bit to a single chunk. Then btrfs_map_block will trigger a 0 division in kernel and destroy everything. Just add extra check when reading chunk from disk. Reported-by: Lukas Lueg lukas.l...@gmail.com

Re: [PATCH] btrfs: Add extra check for sub_stripes to avoid hostile 0 division attack.

2015-04-23 Thread Qu Wenruo
IMHO Zeroing the RAID10 bit is not a good idea to repair. As in that case, since the csum matched, normally we should trust whatever we read. But if RAID10 bit is set but sub_stripe is still 0, we are not sure whether the RAID10 bit or the sub_stripe value is wrong. So what we know is,

Re: [PATCH] btrfs: Add extra check for sub_stripes to avoid hostile 0 division attack.

2015-04-23 Thread Lukas Lueg
I didn't check but repair should be made able to fix this situation on an existing fs fairly easily by zeroing the BLOCK_GROUP_RAID10-bit in case sub_stripes is zero or some unreasonable number and set the bit in case sub_stripes has a reasonable, small value. 2015-04-23 5:00 GMT+02:00 Qu Wenruo

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Chris Mason
On 04/23/2015 08:45 AM, Filipe David Manana wrote: On Wed, Apr 22, 2015 at 5:55 PM, Chris Mason c...@fb.com wrote: On 04/22/2015 12:37 PM, Holger Hoffstätte wrote: On Wed, 22 Apr 2015 18:09:18 +0200, Lutz Vieweg wrote: On 04/13/2015 09:52 PM, Chris Mason wrote: Large filesystems with lots of

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Chris Mason
On 04/23/2015 08:52 AM, Chris Mason wrote: On 04/23/2015 08:45 AM, Filipe David Manana wrote: On Wed, Apr 22, 2015 at 5:55 PM, Chris Mason c...@fb.com wrote: On 04/22/2015 12:37 PM, Holger Hoffstätte wrote: On Wed, 22 Apr 2015 18:09:18 +0200, Lutz Vieweg wrote: On 04/13/2015 09:52 PM, Chris

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Filipe David Manana
On Thu, Apr 23, 2015 at 1:52 PM, Chris Mason c...@fb.com wrote: On 04/23/2015 08:45 AM, Filipe David Manana wrote: On Wed, Apr 22, 2015 at 5:55 PM, Chris Mason c...@fb.com wrote: On 04/22/2015 12:37 PM, Holger Hoffstätte wrote: On Wed, 22 Apr 2015 18:09:18 +0200, Lutz Vieweg wrote: On

Re: [PATCH v2 1/1] btrfs-progs: optionally restore metadata

2015-04-23 Thread Dan Merillat
On Wed, Apr 22, 2015 at 12:53 PM, David Sterba dste...@suse.cz wrote: Applied, thanks. In future patches, please stick to the coding style used in progs ([1]), I've fixed spacing around =, comments and moved declarations before the statements. [1]

[PATCH] Btrfs: fix race when reusing stale extent buffers that leads to BUG_ON

2015-04-23 Thread Filipe Manana
There's a race between releasing extent buffers that are flagged as stale and recycling them that makes us it the following BUG_ON at btrfs_release_extent_buffer_page: BUG_ON(extent_buffer_under_io(eb)) The BUG_ON is triggered because the extent buffer has the flag EXTENT_BUFFER_DIRTY set as

Re: [PATCH] Btrfs: fix race when reusing stale extent buffers that leads to BUG_ON

2015-04-23 Thread Holger Hoffstätte
On Thu, 23 Apr 2015 11:28:48 +0100, Filipe Manana wrote: There's a race between releasing extent buffers that are flagged as stale and recycling them that makes us it the following BUG_ON at btrfs_release_extent_buffer_page: BUG_ON(extent_buffer_under_io(eb)) The BUG_ON is triggered

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 1:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Not sure what I did wrong, but I can't install/boot my nspawn container. Here is my setup: Archlinux box- updated 1- created 3 btrfs

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
On Thu, Apr 23, 2015 at 2:00 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 14:57, Andrei Borzenkov (arvidj...@gmail.com) wrote: On Thu, Apr 23, 2015 at 2:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 13:45, arnaud gaboury

Re: [PATCH] Btrfs: fix race when reusing stale extent buffers that leads to BUG_ON

2015-04-23 Thread Filipe Manana
On 04/23/2015 01:16 PM, Holger Hoffstätte wrote: On Thu, 23 Apr 2015 11:28:48 +0100, Filipe Manana wrote: There's a race between releasing extent buffers that are flagged as stale and recycling them that makes us it the following BUG_ON at btrfs_release_extent_buffer_page:

Re: [PATCH 0/4] btrfs: reduce block group cache writeout times during commit

2015-04-23 Thread Filipe David Manana
On Wed, Apr 22, 2015 at 5:55 PM, Chris Mason c...@fb.com wrote: On 04/22/2015 12:37 PM, Holger Hoffstätte wrote: On Wed, 22 Apr 2015 18:09:18 +0200, Lutz Vieweg wrote: On 04/13/2015 09:52 PM, Chris Mason wrote: Large filesystems with lots of block groups can suffer long stalls during commit

Re: [PATCH] Btrfs: fix race when reusing stale extent buffers that leads to BUG_ON

2015-04-23 Thread Holger Hoffstätte
On Thu, 23 Apr 2015 13:34:15 +0100, Filipe Manana wrote: On 04/23/2015 01:16 PM, Holger Hoffstätte wrote: On Thu, 23 Apr 2015 11:28:48 +0100, Filipe Manana wrote: There's a race between releasing extent buffers that are flagged as stale and recycling them that makes us it the following

Re: [PATCH] Btrfs: fix race when reusing stale extent buffers that leads to BUG_ON

2015-04-23 Thread Filipe Manana
On 04/23/2015 02:22 PM, Holger Hoffstätte wrote: On Thu, 23 Apr 2015 13:34:15 +0100, Filipe Manana wrote: On 04/23/2015 01:16 PM, Holger Hoffstätte wrote: On Thu, 23 Apr 2015 11:28:48 +0100, Filipe Manana wrote: There's a race between releasing extent buffers that are flagged as stale

Re: [PATCH] Btrfs: fix race when reusing stale extent buffers that leads to BUG_ON

2015-04-23 Thread Holger Hoffstätte
On Thu, 23 Apr 2015 14:43:40 +0100, Filipe Manana wrote: I don't think a lock followed by unlock without nothing in between (be it a spinlock, mutex, or any other kind of lock) will be seen by the compiler as a nop. Pretty sure I've seen this pattern being done in the No, I didn't say they

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Not sure what I did wrong, but I can't install/boot my nspawn container. Here is my setup: Archlinux box- updated 1- created 3 btrfs subvol on /dev/sdb1 (SSD). The goal is to manage snapshots easily. no nested

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 14:57, Andrei Borzenkov (arvidj...@gmail.com) wrote: On Thu, Apr 23, 2015 at 2:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Not sure what I did wrong, but I can't install/boot my nspawn

install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread arnaud gaboury
Not sure what I did wrong, but I can't install/boot my nspawn container. Here is my setup: Archlinux box- updated 1- created 3 btrfs subvol on /dev/sdb1 (SSD). The goal is to manage snapshots easily. no nested subvol. -- # btrfs subvolume list . ID 266 gen

Re: [systemd-devel] install Fedora systemd-nspawn container on btrfs

2015-04-23 Thread Andrei Borzenkov
On Thu, Apr 23, 2015 at 2:50 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 13:45, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Not sure what I did wrong, but I can't install/boot my nspawn container. Here is my setup: Archlinux box- updated 1- created 3 btrfs

Re: [PATCH 0/3] btrfs-progs: restore symlinks

2015-04-23 Thread Duncan
Dan Merillat posted on Thu, 23 Apr 2015 12:47:29 -0400 as excerpted: Hopefully this is sufficiently paranoid, tested with PATH_MAX length symlinks, existing files, insufficient permissions, dangling symlinks. I think I got the coding style correct this time, I'll fix and resend if not.