Re: [PATCH] btrfs-progs: use openat for process_clone in receive

2015-05-21 Thread Emil Karlson
tponly/eira-receive/log/snapshot-2015-05-21T09.52.59N3f.far.lzo | btrfs receive -C $PWD Chroot to /mnt/snapshots/eira/log At snapshot snapshot-2015-05-21T09.52.59N3f ERROR: failed to open /snapshots/eira/log/snapshot-2015-05-15T17.00.28N1f/journal/1d6156a06c4a45feaef97336a4b154b8/use

Re: btrfs raid1 and btrfs raid10 arrays NOT REDUNDANT

2014-01-03 Thread Emil Karlson
> mount -t btrfs /dev/vdb /test > mount: wrong fs type, bad option, bad superblock on /dev/vdb, >missing codepage or helper program, or other error >In some cases useful info is found in syslog - try >dmesg | tail or so IIRC you need mount option degraded here. -- To unsubs

Re: Is anyone using btrfs send/receive for backups instead of rsync?

2013-12-28 Thread Emil Karlson
> In my case, I'm unable to reproduce the problem. I get the same sha256sum of > an existing 16M journal file (in the read only snapshot) as I do in the > send/received snapshot. The difference is the original is compromised of 1976 > extents, while the received is in a single extent. Was the s

Re: Is anyone using btrfs send/receive for backups instead of rsync?

2013-12-28 Thread Emil Karlson
> Emil, your bug report mentions the subvolume journal is different, and > not anything about silent content differences on file data (images, > databases, etc.) as you mention above. How are they related? systemd-journald is a logging daemon in the userspace that has nothing to do with filesyste

Re: Is anyone using btrfs send/receive for backups instead of rsync?

2013-12-28 Thread Emil Karlson
There are also silent content missmatches on some subset of files that are not linearly written (vm images, databases and such). https://bugzilla.kernel.org/show_bug.cgi?id=66941 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.ke

Re: Warning in record_one_backref()

2013-11-19 Thread Emil Karlson
On Tue, Nov 19, 2013 at 1:00 PM, Pedro Fonseca wrote: > Hi, > > In another test, I've encountered a few situations that triggered a warning > message in "record_one_backref()". I'm not sure if it's serious but it is > probably related to the concurrent defragment operations executed during the > t

[PATCH v2] btrfs-progs: remove extra uuid-tree.o in objects

2013-11-11 Thread Emil Karlson
This fixes static compile target of btrfs-progs. Signed-off-by: Emil Karlson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e33648..4604b1f 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ CFLAGS = -g -O1 objects = ctree.o disk

Btrfs-progs static compile failure due to multiple uuid-tree.o in linking paratemeters

2013-11-09 Thread Emil Karlson
Greetings Btrfs-progs static compile fails due to multiple uuid-tree.o in linking paratemeters: build error: gcc -g -O1 -ffunction-sections -fdata-sections -o btrfs.static btrfs.static.o help.static.o cmds-subvolume.static.o cmds-filesystem.static.o cmds-device.static.o cmds-scrub.static.o cmd

Re: BUG relating to fstrim on btrfs partitions

2013-10-11 Thread Emil Karlson
> If the filesystem is clever enough to know that the range in question has > not been written to since the last discard, then it takes no action, and > reports zero bytes. File system images can be rewritten on a new media so there is a drawback to that. Best Regards -Emil -- To unsubscribe from

Re: Possible bug in send/receive with simple reproducer

2013-08-11 Thread Emil Karlson
On Sun, Aug 11, 2013 at 9:53 PM, Emil Karlson wrote: > Greetings > > Send fails for me unexpectedly: > > I get: > ERROR: rename o262-5-0 -> snapshots failed. No such file or directory > > reproducer ( http://users.tkk.fi/~jkarlson/files/test4.txt ): > > f

Possible bug in send/receive with simple reproducer

2013-08-11 Thread Emil Karlson
Greetings Send fails for me unexpectedly: I get: ERROR: rename o262-5-0 -> snapshots failed. No such file or directory reproducer ( http://users.tkk.fi/~jkarlson/files/test4.txt ): for i in 1 2; do mkdir /mnt/$i truncate -s 4G /mnt/$i.img mkfs.btrfs /mnt/$i.img mount -o loop /mnt/$i.im

Bug 60608 - general protection fault: 0000 on btrfs_clean_one_deleted_snapshot+0x46/0xe3

2013-07-23 Thread Emil Karlson
Greetings Encountered this bug on linux-3.11-rc2 https://bugzilla.kernel.org/show_bug.cgi?id=60608 Best Regards -- 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-