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
.
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
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
\- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
,
--
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
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
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
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
|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
.
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
/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
smime.p7m
Description: S/MIME encrypted message
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
,
--
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
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
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
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
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
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
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
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
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 BackupPC on btrfs) - even
if something
]-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, 646-74-24
fax +48 (22) 646-61-50
--
To unsubscribe from this list: send the line unsubscribe
and
can be used in block rotation, making the wear-leveling easier and more
effective.
--
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
understands any and all file
system layouts, especially if they are on fragmented LVM or other logical
volume manager partitions.
--
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
On Friday 12 March 2010 10:15:28 Stephan von Krawczynski wrote:
On Fri, 12 Mar 2010 02:07:40 +0100
Hubert Kario h...@qbs.com.pl wrote:
[...]
If the FS were to be smart and know about the 256kb requirement, it
would do a read/modify/write cycle somewhere and then write the 4KB
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
to coordinate efforts and
solidify the interface.
--
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 of a message to majord
. 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
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
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
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ą
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
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
?
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
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
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
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
, 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
] 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
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
, 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
, 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
/ 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
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
, 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
... 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
,
--
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
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
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
/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
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
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
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
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
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
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
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
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
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
/. 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
,
--
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
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
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
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
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
1 - 100 of 106 matches
Mail list logo