Cross-subvolume reflink copy (BTRFS_IOC_CLONE over subvolume boundaries)

2012-02-13 Thread Hubert Kario
else that I missed? 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

[PATCH] Fix segmentation fault when opening invalid file system

2012-02-19 Thread Hubert Kario
Signed-off-by: Hubert Kario --- 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, char *nLabel

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

Re: btrfs-convert processing time

2012-02-20 Thread Hubert Kario
2 3.0 73180 61520 pts/0RFeb18 121:04 > btrfs-convert /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 smal

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'

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 wrote: > > On Monday 20 of February 2012 14:41:33 Olivier Bonva

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

2012-02-20 Thread Hubert Kario
Signed-off-by: Hubert Kario --- 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->num_devi

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

2012-02-20 Thread Hubert Kario
Signed-off-by: Hubert Kario --- 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 btrfs_ioctl_dev_info

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

2012-02-20 Thread Hubert Kario
Signed-off-by: Hubert Kario --- 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 btrfs_ioctl_dev_info(struct

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

2012-02-20 Thread Hubert Kario
Sorry for the subject, this a single patch, not in a series. 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

Re: Balance RAID10 with odd device count

2012-02-22 Thread Hubert Kario
ly it provides information on how much spindles is the data using. With static configuration it will be useless, but when you start changing number of drives in set then it's necessary to know if you're not under- or over- utilising the disks. -- Hubert Kario QBS - Quality Business So

Btrfs filesystem resize syntax

2012-02-22 Thread Hubert Kario
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...@vger.kernel.org More

Re: [RFC] btrfs auto snapshot

2012-02-23 Thread Hubert Kario
en the volume is exported using Samba, you can easily export past copies too, without creating links. 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: [RFC] btrfs auto snapshot

2012-02-23 Thread Hubert Kario
ault. That being said, what use-case would require snapshots taken more often than 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 Kar

Re: btrfs-convert processing time

2012-03-31 Thread Hubert Kario
, either ext or btrfs. btrfs-convert has to move at least some ext3 metadata blocks, so ext FS will be broken. I don't know if btrfs-convert writes whole btrfs tree and then updates it as it finds new inodes in ext3 or just goes over it sequentially. But either way, you'll get at best bt

Re: Backup of btrfs with metadata?

2012-04-24 Thread Hubert Kario
he files and > metadata on a btrfs partition? btrfs 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.

Re: Interpreting Output of "btrfs fi show"

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

Re: cross-subvolume cp --reflink

2012-04-28 Thread Hubert Kario
;s strictly btrfs 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: Interpreting Output of "btrfs fi show"

2012-04-30 Thread Hubert Kario
1 > mode currently.) mdadm --zero-superblock removes MD superblock, it doesn't modify 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

Re: Interpreting Output of "btrfs fi show"

2012-04-30 Thread Hubert Kario
d > > go about erasing the stale superblock and whether it is safe to do so > > I can't say though. > > There is the command wipefs. Whether its safe to use here I do not know. I > wouldn´t try without a backup. Sorry, but I'm unable to find it. Is it a `btrfs` tool opt

[PATCH] btrfs: add command to zero out superblock

2012-04-30 Thread Hubert Kario
Signed-off-by: Hubert Kario --- 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 @@ -246,11 +246,53

[PATCH] man: fix btrfs man page formatting

2012-04-30 Thread Hubert Kario
Signed-off-by: Hubert Kario --- 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 to deframention can be

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

2012-05-01 Thread Hubert Kario
devices passed 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 +- cmd

[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 diff --git a/utils.c b/utils.c index ee7fa1b..6773be0 100644 --- a/utils.c +++ b/util

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

2012-05-01 Thread Hubert Kario
Signed-off-by: Hubert Kario 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 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) if (cmd

[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 diff --git a

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

2012-05-01 Thread Hubert Kario
Signed-off-by: Hubert Kario 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; - u64 device_len

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 ` command to remove > > the btrfs signature from the device as well as fix few minor problems in > >

Re: Create subvolume from a directory?

2012-05-01 Thread Hubert Kario
bvol /mnt/subvol-bak big-file-editor /mnt/subvol/BIG-file rm /mnt/subvol-bak/BIG-file cp --reflink=always /mnt/subvol/BIG-file /mnt/subvol-bak/BIG-file This does not cross any VFS boundaries. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22)

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

2012-05-01 Thread Hubert Kario
16kb 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

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 [ ...]", > > FYI, this step is named 'clea

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

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

2012-05-03 Thread Hubert Kario
ngPatches in your Linux checkout. 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: 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 >

Re: Hot data Tracking

2012-05-03 Thread Hubert Kario
data > over to the fastest disk. Why not utilize all disks and benefit from > disks working together? For this to work, you need feature set that allows hot data movement between disks and data restriping. Then such cache feature will use much of the same code. Regards, -- Hubert Kario QBS

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

2012-05-04 Thread Hubert Kario
bably the same issue this patch fixes: > > http://permalink.gmane.org/gmane.comp.file-systems.btrfs/16302 > > It is included in a recent RC. OK, that will teach me to write more descriptive commit comments: http://permalink.gmane.org/gmane.comp.file-systems.btrfs/15856 http://permali

Re: btrfs and 1 billion small files

2012-05-07 Thread Hubert Kario
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 QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-

Re: kernel 3.3.4 damages filesystem (?)

2012-05-08 Thread Hubert Kario
2fs /dev/videos-volume-42/logical-volume Unlike with shrinking, there's really no place for error. Messing up those commands will give quite clear error messages and definetly won't destroy data (unless a hardware error occurs). And the FS on the LV is online all the time, just like w

Re: Can btrfs silently repair read-error in raid1

2012-05-08 Thread Hubert Kario
excessive number of retries (basically, the kernel repeating the > work the drive already attempted) is being addressed in the block > layer. > > "[PATCH] libata-eh don't waste time retrying media errors (v3)", I > believe this is queued for 3.5 I just hope they don&

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 param

Re: kernel 3.3.4 damages filesystem (?)

2012-05-10 Thread Hubert Kario
ole point Helmut is trying to make. > > I am not sure whether that should be in userspace. It could be just an > allocation mode like "raid0" or "single". Such as "single" as in one file > is really on one disk and thats it. I was thinking that "lin

Re: btrfs RAID with enterprise SATA or SAS drives

2012-05-10 Thread Hubert Kario
et 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 Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-7

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, > >

Re: KVM on top of BTRFS

2012-06-12 Thread Hubert Kario
r any disk thrashing. Doesn't appear 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

Re: ENOSPC on heterogeneous raid 0

2010-12-12 Thread Hubert Kario
ace use "-d single" when creating volume 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: se

Re: Offline Deduplication for Btrfs

2011-01-06 Thread Hubert Kario
ver again. > > Sounds like all you need is cp --reflink=always and rsync --inplace. > > Haven't tested is that works well, though. It works very well, btrfs with snapshots, compression and rsync --inplace has better storage utilisation than lessfs at around 10-15 snapshots

Re: Synching a Backup Server

2011-01-07 Thread Hubert Kario
all multi-device > filesystems on the machine". Is this not done automatically? Do I have > 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

Re: Synching a Backup Server

2011-01-07 Thread Hubert Kario
irectories: /mnt/btrfs/ |- server-a |- server-b |- server-c |- snapshots-server-a |- @GMT-2010.12.21-16.48.09 \- @GMT-2010.12.22-16.45.14 |- snapshots-server-b \- snapshots-server-c This way I can use t

Re: Atomic file data replace API

2011-01-07 Thread Hubert Kario
t allow the transaction to > commit until the write is done. > > option #1: keep something in memory. Well, any time we have a > requirement to pin something in memory until userland decides to do a > write, we risk oom. Userland has already a file descriptor allocated (which can fail any

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 > >

Re: Backup Command

2011-01-10 Thread Hubert Kario
he current date, do a LVM snapshot on the source, rsync --inplace 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. K

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/h

Re: Backup Command

2011-01-11 Thread Hubert Kario
On Tuesday, January 11, 2011 15:33:38 Ivan Labáth wrote: > On 01/11/11 15:19, Hubert Kario wrote: > > 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: &

Re: Btrfs balance

2011-01-20 Thread Hubert Kario
f IO. IMHO it shouldn't take more than 4-8h for 1TB 7200rpm disks 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

Re: Adding a disk fails

2011-01-20 Thread Hubert Kario
st 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 Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qb

btrfs RAID1 woes and tiered storage

2011-01-21 Thread Hubert Kario
exactly file-level granular, if we introduce snapshots 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 3

Re: btrfs, broken design?

2011-01-21 Thread Hubert Kario
he 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 > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-btrfs&

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 z

Re: Synching a Backup Server

2011-01-22 Thread Hubert Kario
s., there's no reason why btrfs shouldn't. For creation of FS you use one command, for management you use other command. I'd say that's a pretty sane division. > > What would be great is if there was an image that showed the layers in > Btrfs and how they interacted with

[PATCH 1/2] add advanced use of --help to help message

2011-01-23 Thread Hubert Kario
explain how to use btrfs --help command in help message Signed-off-by: Hubert Kario --- btrfs.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/btrfs.c b/btrfs.c index 46314cf..b84607a 100644 --- a/btrfs.c +++ b/btrfs.c @@ -151,6 +151,8 @@ static void help

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

2011-01-23 Thread Hubert Kario
extend the btrfs --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 --- btrf

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

2011-01-23 Thread Hubert Kario
x27;m not sure if I should 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

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

2011-01-23 Thread Hubert Kario
is better have 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 --help usage, fix related grammar. Signed-off-by: Hubert Kario --- man/btrfs.8.in | 33

Re: Defragmentation Not Working with Directory as Argument

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

Re: How to fasten btrfs?

2011-01-25 Thread Hubert Kario
ounting 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 th

Re: How to fasten btrfs?

2011-01-25 Thread Hubert Kario
of extents is small will be lower. > > On Tue, Jan 25, 2011 at 6:30 PM, Hubert Kario 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,

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 > >> d

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 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 > >

Re: [Fwd: Re: Suggestion for sticky-compression mount setting (default mount options)]

2011-02-08 Thread Hubert Kario
ssd' definitely should go in the same basket. -- 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 messa

Re: Error mounting multi-device fs after restart

2011-02-08 Thread Hubert Kario
in one hand and hexdump in the other...) > > > > I'm happy to provide any other information required. Please CC me on > > replies as I'm not subscribed to the list. > > > > Thanks, > > Diwaker > > -- > To unsubscribe from this list: send the line &quo

[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 --- patch to apply cleanly requires my previous patches adding advanced help functionality btrfs.c|

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

2011-02-10 Thread Hubert Kario
kes the code _less_ readable. 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.

Re: Space used by snapshot

2011-02-17 Thread Hubert Kario
only du, which is not reporting what I want to know. > > Regards > > 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 lin

Re: Space used by snapshot

2011-02-17 Thread Hubert Kario
On Thursday, February 17, 2011 13:38:58 Roman Kapusta wrote: > On Thu, Feb 17, 2011 at 12:54, Hubert Kario wrote: > > On Thursday, February 17, 2011 12:13:53 Roman Kapusta wrote: > >> Hello all, > >> > >> Is there any way how to obtain information how much s

Re: btrfs volume backup

2011-02-18 Thread Hubert Kario
data (for debugging purposes 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&

Re: btrfs fi df returns nothing

2011-03-09 Thread Hubert Kario
= ? > > If my kernel module is too old, anyone know of a successful backport of > a newer btrfs for Ubuntu Lucid? In a PPA 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.

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

2011-03-12 Thread Hubert Kario
100644 scrub.c Please, update the man pages. Regards, -- 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-btrfs" in the body o

Re: BTRFS fsck tool

2011-03-15 Thread Hubert Kario
> > > Some disks lie about cache flush having completed. > > 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

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

2011-04-17 Thread Hubert Kario
trfs filesystem? You can compress files already on disk using btrfs filesystem defragment -c /path/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 B

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

2012-12-17 Thread Hubert Kario
it ago? Under 3.6.9 it works fine for me... 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, -

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 mou

Re: [btrfs-delalloc-]

2011-06-27 Thread Hubert Kario
nd performance improvements since 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...@v

[PATCH] remove unused variables

2011-06-29 Thread Hubert Kario
fixes compilation warnings with gcc 4.6.0 20110429 Signed-off-by: Hubert Kario --- mkfs.c|3 --- volumes.c |2 -- 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/mkfs.c b/mkfs.c index 1b5ef06..d40b2e8 100644 --- a/mkfs.c +++ b/mkfs.c @@ -1060,7 +1060,6 @@ static int

[PATCH] initialize all fields of commands[] struct

2011-06-29 Thread Hubert Kario
some help messages don't use advanced help message (shown when invoked as `btrfs command subcommand --help`) initialize them to NULL (meaning "use regular help message"). Signed-off-by: Hubert Kario --- this patch is for the branch integration-20110626 in http://git.darksatanic

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: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
ere will be a userspace fsck (Chris Mason is working on it ATM). The two big features 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.co

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
: 1. is impossible (UUIDs) 2. won't fix errors I have to note 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 a

Re: TRIM support

2011-07-03 Thread Hubert Kario
I get an error. > Since on the wiki you mention only the packages for Fedora and Debian, > > Which are the requirements for the btrfs tools? > > PS: AUR package is broken as well. the AUR package is OK, problem is that the sources don't compile with new gcc. Download Hugo's

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 wrote: > > On Sunday 03 of July 2011 00:40:46 Leonidas Spyropoulos wrote: > >> On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoulos > >> > >> wrote

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 Kar

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

Re: btrfs vs data deduplication

2011-09-18 Thread Hubert Kario
On Saturday 09 of July 2011 08:19:30 Paweł Brodacki wrote: > Hello, > > I've stumbled upon this article: > http://storagemojo.com/2011/06/27/de-dup-too-much-of-good-thing/ > > Reportedly Sandforce SF1200 SSD controller does internally block-level > data de-duplication. This effectively removes the

Re: BackupPC, per-dir hard link limit, Debian packaging

2010-03-02 Thread Hubert Kario
don't know whatever it could be possible to optimise btrfs cow system for files that are exactly the same. > > Cheers, > Rob > -- 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ą

Re: BackupPC, per-dir hard link limit, Debian packaging

2010-03-02 Thread Hubert Kario
On Wednesday 03 March 2010 00:22:31 jim owens wrote: > Hubert Kario wrote: > > On Tuesday 02 March 2010 03:29:05 Robert Collins wrote: > >> As I say, I realise this is queued to get addressed anyway, but it seems > >> like a realistic thing for people to do (use Backup

Re: Raid1 with 3 drives

2010-03-05 Thread Hubert Kario
sig for the users to talk about double, triple replication or [single|double]-parity. It's a bit silly to talk about "Arrays of Disks" when we mean groups of blocks. -- Hubert Kario QBS - Quality Business Software ul. Ksawerów 30/85 02-656 Warszawa POLAND tel. +48 (22) 646-61-51,

Re: SSD Optimizations

2010-03-11 Thread Hubert Kario
s the SSD making sure all blocks are more or less equally > written to avoid continuous load on the same blocks. Isn't this all about wear leveling? TRIM has no meaning for magnetic media. It's used to tell the drive which parts of medium contain only junk data and can be used in

Re: SSD Optimizations

2010-03-11 Thread Hubert Kario
cking your head in the sand > >> because you cannot be bothered to think. > > > > And your guess is that intel engineers had no glue when designing the XE > > including its controller? You think they did not know what you and me > > know > > > and > > t

  1   2   >