Re: Online Deduplication for Btrfs (Master's thesis)

2012-12-17 Thread Hubert Kario
... Also, the blocks are shared between subvolumes if the other subvolume is a snapshot of the first one. Besides, I think that doing a rsync from remote server and snapshotting the subvolume dedicated for server will be the standard approach. Regards, -- Hubert Kario QBS - Quality Business Software

Re: KVM on top of BTRFS

2012-06-12 Thread Hubert Kario
to be CPU or memory bound - will double check. From what I heard, this is caused by slow KVM CD virtualisation. Try to install it and do some tests then. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl

Re: btrfs RAID with enterprise SATA or SAS drives

2012-05-10 Thread Hubert Kario
that online resize (both shrinking and extending) and (currently not implemented) ability to set redundancy level on a per file basis. In other words, with btrfs you can have a file with RAID6 redundancy and a second one with RAID10 level of redundancy in single directory. Regards, -- Hubert

Re: kernel 3.3.4 damages filesystem (?)

2012-05-10 Thread Hubert Kario
On Thursday 10 of May 2012 21:15:30 Hugo Mills wrote: On Thu, May 10, 2012 at 09:43:58PM +0200, Hubert Kario wrote: On Thursday 10 of May 2012 12:40:49 Martin Steigerwald wrote: Am Mittwoch, 9. Mai 2012 schrieb Kaspar Schleiser: Hi, On 05/08/2012 10:56 PM, Roman Mamedov wrote

Re: [PATCH v2 1/5] btrfs: add command to zero out superblock

2012-05-09 Thread Hubert Kario
On Wednesday 09 of May 2012 19:18:07 David Sterba wrote: On Thu, May 03, 2012 at 03:11:45PM +0200, Hubert Kario wrote: nice, didn't know about this. Such functionality would be nice to have. But then I don't think that a recreate the array if the parameters are the same is actually a good

Re: kernel 3.3.4 damages filesystem (?)

2012-05-08 Thread Hubert Kario
. The only difference is that with btrfs you can both extend and shrink the FS online, with ext2/3/4 you can only extend online... Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from

Re: Can btrfs silently repair read-error in raid1

2012-05-08 Thread Hubert Kario
correct data on multiple disks from different vendors. (Which allowed me to use dd to write the data back to force relocation) But yes, Linux is a bit too overzelous with regards to retries... Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22

Re: btrfs and 1 billion small files

2012-05-07 Thread Hubert Kario
operations (could it?) Thank you for any advice! btrfs will inline such small files in metadata blocks. I'm not sure about limits to size of directory, but I'd guess that going over few tens of thousands of files in single flat directory will have speed penalties. Regards, -- Hubert Kario

Re: btrfs scrub BUG: unable to handle kernel NULL pointer dereference

2012-05-04 Thread Hubert Kario
commit comments: http://permalink.gmane.org/gmane.comp.file-systems.btrfs/15856 http://permalink.gmane.org/gmane.comp.file-systems.btrfs/15857 Sill, is the first one patching a real vulnerability? Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48

Re: [PATCH v2 1/5] btrfs: add command to zero out superblock

2012-05-03 Thread Hubert Kario
On Wednesday 02 of May 2012 19:36:29 David Sterba wrote: On Wed, May 02, 2012 at 06:42:16PM +0200, Hubert Kario wrote: I'm not sure if this is useful and sensible usecase, clearing superblock is a one-time action anyway, so it's more for the sake of tool flexibility. Clearing

Re: ran cppcheck and going to make cosmetic changes--where do I submit code?

2012-05-03 Thread Hubert Kario
, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl smime.p7s Description: S/MIME cryptographic signature

Re: Create subvolume from a directory?

2012-05-03 Thread Hubert Kario
On Wednesday 02 of May 2012 18:33:37 David Sterba wrote: On Tue, May 01, 2012 at 07:09:21PM +0200, Hubert Kario wrote: Let me rephrase it: People don't want to be able to do: mount /dev/lvm/btrfs /mnt/a -t btrfs -o subvol=volA mount /dev/lvm/btrfs /mnt/b -t btrfs -o subvol=volB cp

Re: Hot data Tracking

2012-05-03 Thread Hubert Kario
of the same code. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v2 1/5] btrfs: add command to zero out superblock

2012-05-02 Thread Hubert Kario
On Wednesday 02 of May 2012 16:28:43 David Sterba wrote: On Tue, May 01, 2012 at 02:40:29PM +0200, Hubert Kario wrote: +static const char * const cmd_zero_dev_usage[] = { + btrfs device zero-superblock device [device ...], FYI, this step is named 'clear superblock' in kernel code as done

[PATCH v2 0/5] Allow for quick removing of btrfs signature from block device

2012-05-01 Thread Hubert Kario
as parameters. Hubert Kario (5): btrfs: add command to zero out superblock handle null pointers in btrfs_prepare_device Remove unused option in btrfs_prepare_device better error handling in btrfs_prepare_device() btrfs: remove unused variables btrfs-vol.c|2 +- cmds-device.c | 45

[PATCH v2 2/5] handle null pointers in btrfs_prepare_device

2012-05-01 Thread Hubert Kario
When calling the function from `btrfs device zero-super` we don't need the additional information returned and don't want the SMALL VOLUME warning printed. Signed-off-by: Hubert Kario ka...@wit.edu.pl diff --git a/utils.c b/utils.c index ee7fa1b..6773be0 100644 --- a/utils.c +++ b/utils.c

[PATCH v2 1/5] btrfs: add command to zero out superblock

2012-05-01 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl diff --git a/cmds-device.c b/cmds-device.c index db625a6..05a549c 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -246,11 +246,58 @@ static int cmd_scan_dev(int argc, char **argv) return 0; } +static const char * const cmd_zero_dev_usage

[PATCH v2 3/5] Remove unused option in btrfs_prepare_device

2012-05-01 Thread Hubert Kario
zero_end is set explicitly to 1 inside the fuction so the device end always will be zeroed out Signed-off-by: Hubert Kario ka...@wit.edu.pl diff --git a/btrfs-vol.c b/btrfs-vol.c index 0efdbc1..c7b9f80 100644 --- a/btrfs-vol.c +++ b/btrfs-vol.c @@ -150,7 +150,7 @@ int main(int ac, char **av

[PATCH v2 4/5] better error handling in btrfs_prepare_device()

2012-05-01 Thread Hubert Kario
btrfs_prepare_device did abort the whole application on any error, even when there were other tasks queued that could succeed, now it returns non zero value on error. Add more descriptive error messages: print failing device name and cause of error. Signed-off-by: Hubert Kario ka...@wit.edu.pl

[PATCH v2 5/5] btrfs: remove unused variables

2012-05-01 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl diff --git a/cmds-device.c b/cmds-device.c index a28752f..b1e70f9 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -261,8 +261,6 @@ static int cmd_zero_dev(int argc, char **argv) int arg_processed; int ret = 0; int n

Re: [PATCH v2 0/5] Allow for quick removing of btrfs signature from block device

2012-05-01 Thread Hubert Kario
On Tuesday 01 of May 2012 14:43:37 Tomasz Torcz wrote: On Tue, May 01, 2012 at 02:38:01PM +0200, Hubert Kario wrote: This patch series adds `btrfs device zero super dev` command to remove the btrfs signature from the device as well as fix few minor problems in btrfs_prepare_device function

Re: btrfs support for efficient SSD operation (data blocks alignment)

2012-05-01 Thread Hubert Kario
but this requires 16kb memory pages. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: Interpreting Output of btrfs fi show

2012-04-30 Thread Hubert Kario
the data part of the partition, it just zeroes the MD metadata. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: Interpreting Output of btrfs fi show

2012-04-30 Thread Hubert Kario
not know. I wouldn´t try without a backup. Sorry, but I'm unable to find it. Is it a `btrfs` tool option or is it a standalone application (in similar form as is the `btrfs-zero-log`)? Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61

[PATCH] btrfs: add command to zero out superblock

2012-04-30 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl --- cmds-device.c | 42 ++ man/btrfs.8.in |7 +++ 2 files changed, 49 insertions(+) diff --git a/cmds-device.c b/cmds-device.c index db625a6..1edb091 100644 --- a/cmds-device.c +++ b/cmds-device.c

[PATCH] man: fix btrfs man page formatting

2012-04-30 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl --- man/btrfs.8.in |2 ++ 1 file changed, 2 insertions(+) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index a840f7e..d410093 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -156,6 +156,8 @@ The start position and the number of bytes

Re: Interpreting Output of btrfs fi show

2012-04-28 Thread Hubert Kario
/. It depends on whatever the metadata block is allocated before data block on disk. It /may/ be possible in mixed data-metadata allocation mode. Chris or Josef, can you confirm? Still, a zero-superblock option would be useful for the btrfs tool. I'll see what I can do about this. Regards, -- Hubert Kario

Re: cross-subvolume cp --reflink

2012-04-28 Thread Hubert Kario
business and not supporting reflink copy between arbitrary directories is a bug. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl smime.p7s Description: S/MIME cryptographic signature

Re: Backup of btrfs with metadata?

2012-04-24 Thread Hubert Kario
send is a work in progress, currently there are problems in tree traversal that are being worked on Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl smime.p7s Description: S/MIME cryptographic signature

Re: btrfs-convert processing time

2012-03-31 Thread Hubert Kario
get at best btrfs with lots of files missing. So the short answer is: no. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [RFC] btrfs auto snapshot

2012-02-23 Thread Hubert Kario
every second? I doubt that you actually can do snapshots every second on a busy file system, let alone more often. On lightly-used one they will be identical and just clutter the name-space. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646

Btrfs filesystem resize syntax

2012-02-22 Thread Hubert Kario
patches in Chris btrfs-progs tree. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: btrfs-convert processing time

2012-02-20 Thread Hubert Kario
during the processing ? Thanks, Olivier How much free space did those FS have? How many files were on them (was they dominated by small or large files)? Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl

Re: btrfs-convert processing time

2012-02-20 Thread Hubert Kario
/dev/vg-balor/backup Is it normal, or is there a problem during the processing ? Thanks, Olivier How much free space did those FS have? How many files were on them (was they dominated by small or large files)? Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul

Re: btrfs-convert processing time

2012-02-20 Thread Hubert Kario
On Monday 20 of February 2012 14:41:33 Olivier Bonvalet wrote: On 20/02/2012 14:20, Hubert Kario wrote: On Monday 20 of February 2012 13:51:29 Olivier Bonvalet wrote: Hi, I'm trying to convert two ext4 FS to btrfs, but I'm surprised by the time needed to do that conversion

Re: btrfs-convert processing time

2012-02-20 Thread Hubert Kario
Chris: What will btrfs-convert do when it encounters a directory with more hardlinks than the btrfs limit? On Monday 20 of February 2012 21:00:34 Fajar A. Nugraha wrote: On Mon, Feb 20, 2012 at 8:50 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 20 of February 2012 14:41:33 Olivier

[PATCH 2/2] fix reporting of status for degraded arrays

2012-02-20 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl --- scrub.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scrub.c b/scrub.c index 9dca5f6..630a1bf 100644 --- a/scrub.c +++ b/scrub.c @@ -1010,7 +1010,7 @@ static int scrub_fs_info(int fd, char *path, if (!fi_args

[PATCH 2/2] btrfs: handle dev info ioctl on degraded mount

2012-02-20 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl --- fs/btrfs/ioctl.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 3dede5c..d536816 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -2120,7 +2120,10 @@ static long

[PATCH 1/2] btrfs: ensure null-termination of string copied from userspace

2012-02-20 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl --- fs/btrfs/ioctl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index dae5dfe..3dede5c 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -2121,6 +2121,7 @@ static long

[PATCH] Fix segmentation fault when opening invalid file system

2012-02-19 Thread Hubert Kario
Signed-off-by: Hubert Kario ka...@wit.edu.pl --- btrfslabel.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/btrfslabel.c b/btrfslabel.c index c9f4684..3c3566b 100644 --- a/btrfslabel.c +++ b/btrfslabel.c @@ -55,6 +55,8 @@ static void change_label_unmounted(char *dev

Cross-subvolume reflink copy (BTRFS_IOC_CLONE over subvolume boundaries)

2012-02-13 Thread Hubert Kario
, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- 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

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-07-12 Thread Hubert Kario
On Monday 11 of July 2011 17:13:13 Jan Schmidt wrote: Hi Hubert, I have to admit I did not recognize this patch but now Hugo is forcing me to use the detailed help messages and I've got an improvement to suggest: On 23.01.2011 13:42, Hubert Kario wrote: [snip] { do_defrag, -1

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-07-12 Thread Hubert Kario
On Tuesday 12 of July 2011 00:22:01 Hugo Mills wrote: On Mon, Jul 11, 2011 at 09:11:24PM +0200, Jan Schmidt wrote: On 07/11/2011 08:38 PM, Goffredo Baroncelli wrote: [snip] A script extracts from the comment in the source both: - the text for the man page - the text for the detailed

Re: TRIM support

2011-07-03 Thread Hubert Kario
and apply my patch to it: http://www.spinics.net/lists/linux-btrfs/msg10965.html -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: TRIM support

2011-07-03 Thread Hubert Kario
On Sunday 03 of July 2011 14:56:40 Leonidas Spyropoulos wrote: On Sun, Jul 3, 2011 at 1:20 PM, Hubert Kario h...@qbs.com.pl wrote: On Sunday 03 of July 2011 00:40:46 Leonidas Spyropoulos wrote: On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoulos artafi...@gmail.com wrote: On Sat

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
of btrfs are self-healing and online fsck, those have to be implemented in kernel space. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
that I don't know how FFS fsck is implemented. A good fsck is quite complex and you are unlikely to want all that code in kernel space. complete one, yes, but it's not quite pointless, ZFS does it like this and admins rather like it -- Hubert Kario QBS - Quality Business Software ul. Ksawerów

Re: btrfs-progs: integration branch updated

2011-07-01 Thread Hubert Kario
On Thursday 30 of June 2011 23:19:02 Hugo Mills wrote: After a reorganisation of patches, and sending a bunch of them to Chris, I've also updated the integration branch to match that. It's available from: http://git.darksatanic.net/repo/btrfs-progs-unstable.git/ integration-20110630

Re: [btrfs-delalloc-]

2011-06-27 Thread Hubert Kario
, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- 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

Re: ssd option for USB flash drive?

2011-05-19 Thread Hubert Kario
smime.p7m Description: S/MIME encrypted message

Re: ssd option for USB flash drive?

2011-05-19 Thread Hubert Kario
Sorry, loks like list mailer doesn't like SMIME messages. On Thursday 19 of May 2011 21:04:54 Hubert Kario wrote: On Wednesday 18 of May 2011 00:02:52 Stephane Chazelas wrote: Hiya, I've not found much detail on what the ssd btrfs mount option did. Would it make sense to enable

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

2011-04-17 Thread Hubert Kario
/to/file but defragmenting breaks snapshotting (at least it did 2 months ago, dunno if it's still true) Any help would be appreciated. Stephane -- Hubert Kario QBS - Quality Business Software ul. Ksawerów 30/85 02-656 Warszawa POLAND tel. +48 (22) 646-61-51, 646-74-24 fax +48 (22) 646-61-50

Re: BTRFS fsck tool

2011-03-15 Thread Hubert Kario
. This is really not true for modern enterprise class drives. You might have more issues with USB thumbdrives and other really low end parts. btrfs is supposed to be an ext3/4 replacement - it _will_ be used with low end parts (commodity SATA HDDs) Regards -- Hubert Kario QBS - Quality

Re: [PATCH v1 0/3] btrfs-progs: scrub interface

2011-03-12 Thread Hubert Kario
|3 +- btrfs_cmds.h |4 + ctree.h |2 +- ioctl.h | 68 +++- scrub.c | 1425 ++ 7 files changed, 1513 insertions(+), 5 deletions(-) create mode 100644 scrub.c Please, update the man pages. Regards, -- Hubert

Re: btrfs fi df returns nothing

2011-03-09 Thread Hubert Kario
or otherwise? Cheers, b. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo

Re: btrfs volume backup

2011-02-18 Thread Hubert Kario
I guess?). I guess it also doesn't work on a mounted filesystem, so fixing btrfs-image would be of limited use right now. There's nothing like it right now, the only way to backup whole btrfs volume is to use dd. something like zfs send is in the plans though Regards, -- Hubert Kario QBS

Re: Space used by snapshot

2011-02-17 Thread Hubert Kario
Roman Kapusta -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- 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

Re: [PATCH] Btrfs-progs new btrfs_error() macro to deprecate fprintf(stderr, ...)

2011-02-10 Thread Hubert Kario
, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- 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

[PATCH] explain filesystem resize devid option

2011-02-09 Thread Hubert Kario
Adds explanation to help message and man page how to use `filesystem resize' to resize only a single device not all devices of a file system. Signed-off-by: Hubert Kario ka...@wit.edu.pl --- patch to apply cleanly requires my previous patches adding advanced help functionality btrfs.c

Re: How to fasten btrfs?

2011-01-25 Thread Hubert Kario
with nodatacow and defragment the directory the file resides in Regards -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: How to fasten btrfs?

2011-01-25 Thread Hubert Kario
will be lower. On Tue, Jan 25, 2011 at 6:30 PM, Hubert Kario h...@qbs.com.pl wrote: On Tuesday 25 of January 2011 07:45:02 Magicloud Magiclouds wrote: Hi, I am using 2.6.36.3 kernel with btrfs, 512MB memory and a very slow disk, no special options for mounting btrfs except noatime

Re: Synching a Backup Server

2011-01-25 Thread Hubert Kario
On Tuesday, January 25, 2011 18:29:35 Kaspar Schleiser wrote: On 01/22/2011 02:55 PM, Hubert Kario wrote: It looks like ZFS, Btrfs, and LVM should work in similar manners, but the overloaded terminology (pool, volume, sub-volume, filesystem are different in all three) and new terminology

Re: Synching a Backup Server

2011-01-25 Thread Hubert Kario
On Tuesday, January 25, 2011 18:59:39 Freddie Cash wrote: On Tue, Jan 25, 2011 at 9:43 AM, Hubert Kario h...@qbs.com.pl wrote: Besides, I don't see *why* this should be done... And as far as I know ZFS doesn't support different reduncancy levels for different files residing in the same

Re: Defragmentation Not Working with Directory as Argument

2011-01-24 Thread Hubert Kario
to be the basis for the current btrfs command), it seems like the intention is to recursively defragment the entire tree below the directory supplied in the argument. Then it looks like the userspace part of implementation changed, don't know why though. Regards, -- Hubert Kario QBS - Quality

[PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Hubert Kario
extend the btrfs cmd --help command to print detailed help message if available but fallback to basic help message if detailed is unavailable add detailed help message for 'filesystem defragment' command little tweaks in comments Signed-off-by: Hubert Kario ka...@wit.edu.pl

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Hubert Kario
post the patch from my tree with your patch applied or not. You have modified some of the same lines I want to fix and as such my patch may not be cleanly applicable. So, which tree I should base my patch on? Regards Hubert Kario On 01/23/2011 01:42 PM, Hubert Kario wrote: extend

Re: [PATCH 2/2] add detailed help messages to btrfs command

2011-01-23 Thread Hubert Kario
a misaligned patch instead nothing. Just as I thought. I'll post it in a minute. Regards Hubert Kario -- 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

[PATCH] update man page to new defragment command interface

2011-01-23 Thread Hubert Kario
Update btrfs filesystem defragment command explanation. Add explanation of advanced parameters and notes about general usage. Add few notes about the btrfs command --help usage, fix related grammar. Signed-off-by: Hubert Kario ka...@wit.edu.pl --- man/btrfs.8.in | 33

btrfs RAID1 woes and tiered storage

2011-01-21 Thread Hubert Kario
in the mix, the new version can have the data regularly accessed while the old snapshot won't, this way the obsolete blocks can be moved to slow storage. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl

Re: btrfs, broken design?

2011-01-21 Thread Hubert Kario
info at http://vger.kernel.org/majordomo-info.html -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: Adding a disk fails

2011-01-21 Thread Hubert Kario
On Friday, January 21, 2011 11:16:49 cac...@quantum-sci.com wrote: On Thu 20 January 2011 22:55:54 Hubert Kario wrote: You still have a btrfs on /dev/sdc, do a dd if=/dev/zero of=/dev/sdc bs=8192 (overkill, but I don't remember which blocks have to be zeroed to destroy btrfs superblock

Re: Btrfs balance

2011-01-20 Thread Hubert Kario
in an otherwise idle system, as such it's rather inefficient right now. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: Adding a disk fails

2011-01-20 Thread Hubert Kario
in order to find the btrfs ones # find the btrfs device btrfs device scan This must be done at every boot? If so, where is recommended, in rc.local? yes. rc.local is too late, unless you will also mount the volume from there and not using /etc/fstab -- Hubert Kario QBS - Quality

Re: Backup Command

2011-01-11 Thread Hubert Kario
On Tuesday, January 11, 2011 14:54:38 Ivan Labáth wrote: On 01/10/11 14:36, Hubert Kario wrote: On Monday 10 of January 2011 14:25:32 Carl Cook wrote: Here is my proposed cron: btrfs subvolume snapshot hex:///home /media/backups/snapshots/hex-{DATE} rsync --archive --hard-links

Re: Synching a Backup Server

2011-01-10 Thread Hubert Kario
On Sunday 09 of January 2011 12:46:59 Alan Chandler wrote: On 07/01/11 16:20, Hubert Kario wrote: I usually create subvolumes in btrfs root volume: /mnt/btrfs/ |- server-a |- server-b \- server-c then create snapshots

Re: Backup Command

2011-01-10 Thread Hubert Kario
data over and do a local snapshot naming the folder using the saved date. This way the date in the name of backup directory is exact to about a second. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl

Re: Synching a Backup Server

2011-01-07 Thread Hubert Kario
to set up some script to do this? -- 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 -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul

Re: Synching a Backup Server

2011-01-07 Thread Hubert Kario
\- snapshots-server-c This way I can use the shadow_copy module for samba to publish the snapshots to windows clients. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list

Re: Atomic file data replace API

2011-01-07 Thread Hubert Kario
no problem in increasing the size of kernel memory usage by 4 bytes (if not less) just to note that the application wants to see the file as truncated (1 bit) and the next write has to be atomic (2nd bit?). -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel

Re: Offline Deduplication for Btrfs

2011-01-06 Thread Hubert Kario
. It works very well, btrfs with snapshots, compression and rsync --inplace has better storage utilisation than lessfs at around 10-15 snapshots with around 600GB of test data in small files. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61

Re: ENOSPC on heterogeneous raid 0

2010-12-12 Thread Hubert Kario
for details, read the recent thread 800GB free, but no space left -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: [PATCH 2/2] Btrfs-progs: Add hot data support in mkfs

2010-09-01 Thread Hubert Kario
, without hacking? You can have SSDs in a hardware RAID array, this way the kernel may not know if the block device is on flash media or on rotational media... -- Hubert Kario QBS - Quality Business Software ul. Ksawerów 30/85 02-656 Warszawa POLAND tel. +48 (22) 646-61-51, 646-74-24 fax +48 (22

Re: btrfs under xen domU

2010-08-29 Thread Hubert Kario
/ on already mounted root fs with rw ? Thank You for answer. As far as i know, Xen won't update the size of block device until the DomU has been restarted. After that mount -o rw,maxsize / should work as advertised. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30

Re: [RFC v2 PATCH 0/6] Btrfs: Add hot data relocation functionality

2010-08-29 Thread Hubert Kario
could be really beneficial in some scenarios is another thing. This would also allow online defragmentation, together with access to statistics, one that (for quick runs) has really good time/performance benefit ratio. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów

Re: Raid0 with btrfs

2010-08-06 Thread Hubert Kario
, Hubert Kario h...@qbs.com.pl wrote: On Thursday 05 August 2010 16:15:22 Leonidas Spyropoulos wrote: Hi all, I want to make a btrfs raid0 on 2 partitions of my pc. Until now I am using the mdadm tools to make a software raid of the 2 partitions /dev/sde2, /dev/sdd2 and then mkfs.etx4

Re: Raid0 with btrfs

2010-08-05 Thread Hubert Kario
, RAID5 code is not in trunk yet. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: [BUG] btrfs hangup when we run the sync command

2010-07-21 Thread Hubert Kario
] btrfs-progs: fix wrong extent buffer size when reading tree block Thanks Miao Xie -- Hubert Kario QBS - Quality Business Software ul. Ksawerów 30/85 02-656 Warszawa POLAND tel. +48 (22) 646-61-51, 646-74-24 fax +48 (22) 646-61-50 -- To unsubscribe from this list: send the line unsubscribe linux

Re: Copy/move btrfs volume

2010-07-21 Thread Hubert Kario
network block devices and have no downtime... The overall process will take more time though. -- Hubert Kario QBS - Quality Business Software ul. Ksawerów 30/85 02-656 Warszawa POLAND tel. +48 (22) 646-61-51, 646-74-24 fax +48 (22) 646-61-50 -- To unsubscribe from this list: send the line

Re: default subvolume abilities/restrictions

2010-06-29 Thread Hubert Kario
have a btrfs file system on hand to actually try it, but did you try copying using cp --reflink=always? ideas??? how can i parent the default subvol with an empty subvol? this seems a legitimate operation. thanks, C Anthony -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa

Re: Is there a more aggressive fixer than btrfsck?

2010-06-29 Thread Hubert Kario
, the FS alone should be able to recover from such situations. With multiple superblocks the probability that the fs is unmountable is very small and if all superblocks are corrupted then you need a data recovery prorgram, not fsck. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-17 Thread Hubert Kario
splitting) 3. copy fragments to flash disks the amount of I/O in the second case is limited only to metadata operations, in the first case, all data must be duplicated -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24

Re: bcp command not installed by Makefile

2010-06-11 Thread Hubert Kario
On Friday 11 of June 2010 03:46:11 Palmer Cox wrote: Is there a reason the bcp command isn't installed when running make install? If not, here is a really simple patch to add it to the install. -Palmer Cox Does 'bcp' can do anything additional that the 'cp --reflink=always'? -- Hubert

Re: [Fwd: Re: Linking two files together][RFC]

2010-06-09 Thread Hubert Kario
? It also has COW, so everything becomes even more exciting... -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl System Zarządzania Jakością zgodny z normą ISO 9001:2000 -- To unsubscribe from this list: send the line

Re: A couple of questions

2010-06-02 Thread Hubert Kario
On Monday 31 May 2010 19:59:46 Paul Millar wrote: Hi Hubert, On Thursday 27 May 2010 16:56:00 Hubert Kario wrote: Would [obtaining file checksum] be possible (without an awful lot of work)? [Calculating checksum in-memory] won't detect in-memory corruption though, but if you want

Re: [PATCH] btrfs-convert: add reiserfs support

2010-05-17 Thread Hubert Kario
it even tries to mount it on x86. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl System Zarządzania Jakością zgodny z normą ISO 9001:2000 -- To unsubscribe from this list: send the line unsubscribe

Re: list subvolumes with new btrfs command

2010-04-26 Thread Hubert Kario
tried to run it on the device with the btrfs, not the mount point? It looks like the ioctl was made too restrictive about its arguments. -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl System Zarządzania Jakością

Re: Content based storage

2010-03-17 Thread Hubert Kario
not use this feature for all kind of use cases (eg. heavily used database), but I think there is enough need. my 2 cents, Heinz-Josef Claes -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl System Zarządzania

Re: Content based storage

2010-03-17 Thread Hubert Kario
On Wednesday 17 March 2010 16:33:41 Leszek Ciesielski wrote: On Wed, Mar 17, 2010 at 4:25 PM, Hubert Kario h...@qbs.com.pl wrote: On Wednesday 17 March 2010 09:48:18 Heinz-Josef Claes wrote: Hi, just want to add one correction to your thoughts: Storage is not cheap if you think about

Re: Content based storage

2010-03-16 Thread Hubert Kario
. In line dedup is quite CPU intensive. In line dedup is very nice for backup though -- you don't need the temporary storage before the (mostly unchanged) data is deduplicated. -- Hubert Kario QBS - Quality Business Software ul. Ksawerów 30/85 02-656 Warszawa POLAND tel. +48 (22) 646-61-51, 646-74

Re: SSD Optimizations

2010-03-13 Thread Hubert Kario
On Saturday 13 March 2010 18:02:10 Stephan von Krawczynski wrote: On Fri, 12 Mar 2010 17:00:08 +0100 Hubert Kario h...@qbs.com.pl wrote: Even on true spinning disks your assumption is wrong for relocated sectors. Which we don't have to worry about because if the drive has less than 5

  1   2   >