Re: Shrinking virtual disk with btrfs on it

2011-01-22 Thread Tomasz Torcz
On Fri, Jan 21, 2011 at 07:43:47PM +, David Pottage wrote: On 21/01/11 17:20, Rodney Beede wrote: Any tools to go about zeroing about the free space on a btrfs file system so I can shrink the VMware vmdk virtual disk? I ran the VMware command, but the dynamic disk is still really big.

[PATCH] Add -v option to btrfsctl to control verbosity: Be quiet unless requested.

2011-01-22 Thread Maximilian Mehnert
--- btrfsctl.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/btrfsctl.c b/btrfsctl.c index 92bdf39..156ed62 100644 --- a/btrfsctl.c +++ b/btrfsctl.c @@ -106,6 +106,7 @@ int main(int ac, char **av) char *pos; char *fullpath; u64 objectid

Re: [PATCH] Add -v option to btrfsctl to control verbosity: Be quiet unless requested.

2011-01-22 Thread Felix Blanke
Hi, btrfsctl is deprecated, why you're adding new options to it? :) Regards, Felix On 22. January 2011 - 12:59, Maximilian Mehnert wrote: Date: Sat, 22 Jan 2011 12:59:22 +0100 From: Maximilian Mehnert maximilian.mehn...@gmx.de To: linux-btrfs linux-btrfs@vger.kernel.org Subject: [PATCH]

Re: [PATCH] Add -v option to btrfsctl to control verbosity: Be quiet unless requested.

2011-01-22 Thread Felix Blanke
Hi, there is a patch that marks it deprecated: http://www.spinics.net/lists/linux-btrfs/msg06625.html But it's not in git yet :/ Last commit is from oct. 2010, hopefully all new patches will be pulled soon. Regards, Felix On 22. January 2011 - 13:26, Maximilian Mehnert wrote: Date: Sat,

Re: btrfs defrag: how does it work?

2011-01-22 Thread Paul Komkoff
On Thu, Jan 20, 2011 at 9:38 PM, Chris Mason chris.ma...@oracle.com wrote: Are you using compression? No. -- This message represents the official view of the voices in my head -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

Re: Synching a Backup Server

2011-01-22 Thread Hugo Mills
On Fri, Jan 21, 2011 at 11:28:19AM -0800, Freddie Cash wrote: On Sun, Jan 9, 2011 at 10:30 AM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Sun, Jan 09, 2011 at 09:59:46AM -0800, Freddie Cash wrote: Let see if I can match up the terminology and layers a bit: LVM Physical Volume == Btrfs

Bug in mkfs.btrfs?!

2011-01-22 Thread Felix Blanke
Hi, I wanted to create a new btrfs fs for my backups. When trying to mkfs.btrfs for that device, I'm getting error checking /dev/loop2 mount status With strace I see where the problem is: lstat(/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par, 0x7fffa30b3cf0) = -1 ENOENT (No

Re: Bug in mkfs.btrfs?!

2011-01-22 Thread Felix Blanke
I was able to create the fs with the --force options. But that bug should be fixed, too :) Is that link maybe too long? It is created by udev, and there was never a problem using that link. Regards, Felix On 22. January 2011 - 15:45, Felix Blanke wrote: Date: Sat, 22 Jan 2011 15:45:13 +0100

Re: Shrinking virtual disk with btrfs on it

2011-01-22 Thread Rodney Beede
On Fri, Jan 21, 2011 at 10:34 AM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Fri, Jan 21, 2011 at 10:20:34AM -0700, Rodney Beede wrote: Any tools to go about zeroing about the free space on a btrfs file system so I can shrink the VMware vmdk virtual disk? I ran the VMware command, but the

Re: [GIT PULL] Btrfs updates

2011-01-22 Thread cwillu
On Sat, Jan 22, 2011 at 5:41 PM, Clemens Eisserer linuxhi...@gmail.com wrote: E.g. suppose you have a LZO compressed file, then a program rewrites some data which is in the middle of the file, and suppose the newly written data is less compressible. Any idea how this is handled? I would be