Re: Shrinking virtual disk with btrfs on it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 21, 2011 at 07:43:47PM +0000, 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.  I
> > presume it is due to free space that isn't zeroed out.
> Does btrfs issue TRIM commands to the underlying (virtual) block device?

  It does when mounted with - o discard.  IIRC, btrfs also supports
FITRIM ioctl (but I'm not 100% sure about this).
 
-- 
Tomasz Torcz               RIP is irrevelant. Spoofing is futile.
xmpp: zdzichubg@xxxxxxxxx     Your routes will be aggreggated. -- Alex Yuriev

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux