search for: zerofree

Displaying 20 results from an estimated 176 matches for "zerofree".

2011 Sep 01
3
guestfish zerofree on LVM ?
Hi- Is it safe to use the zerofree utility on an ext4 partition inside an LVM with guestfish? I know zerofree works on ext4, but I am unsure about LVM. The info page uses the syntax "zerofree <device>", so using the info page example, could I (safely) do something like the following? $ guestfish Welcome to gue...
2018 Feb 18
4
Intent to retire: zerofree
zerofree is a package that can take an ext2 (only?) filesystem, work out what parts of the filesystem are not used, and either zero them or sparsify them. This was useful in about 2009 when I added it to Fedora. However nowadays it's more convenient to use the equivalent kernel functionality (via the...
2010 Jun 02
1
Is zerofree or resize2fs applicable to ext4?
Hi all, Can I ask if zerofree or resize2fs could also be applicable to ext4? Guestfish help of these two commands indicates that they are applicable to ext2/3. But ext4 is not covered in the help. However, I have tested these two commands in my Fedora 12 laptop, and it seems that both commands work well with ext4. So I don'...
2018 Feb 19
1
Re: Intent to retire: zerofree
Hello Richard, On Sun, 18 Feb 2018, Richard W.M. Jones wrote: > If you wish to take it over, I can orphan it instead. I'm happy to take zerofree. Regards, Robert
2018 Feb 18
1
Re: Intent to retire: zerofree
...r these reasons that I don't think you should use this package > and I intend to retire it unless anyone says otherwise. Last time I used it (a year ago?) it worked properly for ext3 and ext4, but on RHEL rather on Fedora. Not sure which features you are talking about in detail, but bumping zerofree from 1.0.3 to 1.1.0 would add 64 bit block no. support at least... Regards, Robert
2009 Sep 08
1
Perl module versioning
...courage users to depend on specific versions (instead, they should test for required features). Another is that the version of Sys::Guestfs doesn't really tell you what is available in the dynamically-loaded libguestfs.so, nor in the daemon/appliance. Worked example: Your program needs $g->zerofree. (1) May or may not exist in the Perl library. (2) May or may not exist in the C API (libguestfs.so). (3) May or may not exist in the daemon (stubs.c:zerofree_stub) (4) May or may not have been added to the appliance (/usr/bin/zerofree) Since so much can potentially go wrong, I think the only...
2006 Apr 02
1
Zeroing freed blocks
...in a Xen domU kernel. It seems to do what I want, but is it any good? 2. The patch is now for ext2 only, the original ext3 version having succumbed to bitrot. What would it take to implement something similar for ext3 these days? Ron --- linux-2.6.16/Documentation/filesystems/ext2.txt.zerofree 2006-03-20 05:53:29.000000000 +0000 +++ linux-2.6.16/Documentation/filesystems/ext2.txt 2006-04-02 09:21:52.000000000 +0100 @@ -58,6 +58,8 @@ nobh Do not attach buffer_heads to fi xip Use execute in place (no caching) if possible +zerofree Zero data blocks when they are freed. + grpqu...
2018 Feb 18
0
Re: Intent to retire: zerofree
...n't think you should use this package > > and I intend to retire it unless anyone says otherwise. > > Last time I used it (a year ago?) it worked properly for ext3 and ext4, but > on RHEL rather on Fedora. Not sure which features you are talking about in > detail, but bumping zerofree from 1.0.3 to 1.1.0 would add 64 bit block no. > support at least... Would fstrim or virt-sparsify have worked for you? I feel that supporting something which has been rejected by the e2fsprogs community is difficult, especially when it concerns data integrity. If you wish to take it over, I...
2016 Feb 08
10
Utility to zero unused blocks on disk
Is there a utility to zero unused blocks on a disk? CentOS 6.7/Ext4 I saw zerofree, but I?m not sure it would work on Ext4 or even work on this version of CentOS. thanks, -wes
2012 Feb 01
1
[PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737).
..."Richard W.M. Jones" <rjones at redhat.com> Callers are supposed to use the availability API to check for functions that may not be available in particular builds of libguestfs. If they don't do this, currently they tend to get obscure error messages, eg: libguestfs: error: zerofree: /dev/vda1: zerofree: No such file or directory This commit changes the error message to explain what callers ought to be doing instead: libguestfs: error: zerofree: feature 'zerofree' is not available in this build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man pag...
2016 Feb 09
2
Utility to zero unused blocks on disk
On 09/02/16 12:08 AM, g wrote: > > > On 02/08/16 15:34, Wes James wrote: >> Is there a utility to zero unused blocks on a disk? >> >> CentOS 6.7/Ext4 >> >> I saw zerofree, but I?m not sure it would work on Ext4 or even work on >> this version of CentOS. >> >> thanks, >> > . > a comment on replies to your post. > > i find it interesting that "Subject:" is and you ask for info to > > *zero unused blocks on disk*...
2014 Nov 03
2
Large Dependency List on Ubuntu Server 14
...c2a libsocket6-perl libstring-shellquote-perl libsub-name-perl libsys-virt-perl libtiff5 libtimedate-perl liburi-perl libwin-hivex-perl libwww-perl libwww-robotrules-perl libxapian22 libxml-parser-perl libxml-xpath-perl netpbm poppler-data python-xapian reiserfsprogs scrub supermin xfsprogs zerofree zfs-fuse Suggested packages: app-install-data python-xdg aptitude-doc-en aptitude-doc tasksel debtags binutils-doc ghostscript-x hpijs libterm-readline-gnu-perl libterm-readline-perl-perl libdigest-hmac-perl libgssapi-perl cups-common libcwidget-dev fonts-droid libdata-dump-perl libintl-xs-...
2013 Jun 11
2
[PATCH] Mask some package names if appliance is build for SUSE
...7 +144,14 @@ ocfs2-tools */ parted procps -procps-ng psmisc rsync -scrub sed strace syslinux tar udev util-linux -util-linux-ng #ifndef UBUNTU /* on Ubuntu contains a file in /lib64 which conflicts with libc6 that has * /lib64 as a symbolic link @@ -165,6 +160,14 @@ xfsprogs #endif zerofree +#ifndef SUSE +gdisk +kmod +procps-ng +scrub +util-linux-ng +#endif + #ifdef VALGRIND_DAEMON valgrind #endif
2013 Jan 03
0
redhat 6.2 "libguestfs" for help
...erfs-utils -i libselinux -i udev -i util-linux-ng -i vim-minimal -i xz > -i zfs-fuse -i acl -i attr -i bash -i binutils -i coreutils -i dosfstools > -i file -i gawk -i grub -i jfsutils -i lsof -i lvm2 -i module-init-tools -i > net-tools -i parted -i procps -i scrub -i strace -i xfsprogs -i zerofree -u > none rhel-6 initramfs file:///home/cacti/rpmbuild/ > BUILD/libguestfs-1.7.17/repo > febootstrap > | 1.3 kB 00:00 ... > febootstrap/primary > | 206 B 00:00 ... > Setting up Install Process > No package augeas-libs available. > No package btrfs-progs available...
2015 Nov 04
1
Re: Fwd: [Bug 1277705] virt-sparsify --in-place should not sparsify a snapshot
...; > So really there's no use for virt-sparsify on a snapshot (although you > could also argue this is a bug or missing feature in qemu-img). > Indeed, as in real life, I expect that in any level of the snapshot tree there are opportunities to sparsify blocks. Perhaps I should run 'zerofree' when the VM is up, so the blocks become zero'ed on the right snapshot? Not sure how that would help a lot, though. It might on newer storage, which will recognize zero blocks as free on the underlying storage level. Y. > Rich. > > -- > Richard Jones, Virtualization Group, Re...
2013 Jan 22
1
APIs affected by btrfs subvolumes
...o affect other subvolumes vfs_label vfs_type vfs_uuid Device name mangling: These apis are used to return sanitised device names. I'm not 100% convinced we need to modify them. However, we may want additional apis which handle filesystem descriptors. canonical_device_name part_to_dev Misc: zerofree: only actually supports ext2 and ext3, but the operation makes sense for any filesystem. We should update the api and consider the implementation later. findfs_label findfs_uuid: These return a device which contains the btrfs filesystem. This device will be mountable, even if the filesystem spans...
2006 Sep 07
7
wiping of unused space on ext3
Hello, I was asked if it is possible to zero unused space in ext3 partition? Users write to the server via Samba and are far from computer geeks so teaching them to use some safedelete utility is quite impossible. Is there some way or utility to wipe out all the data from unused space? Thanks, Mindaugas
2006 Sep 07
7
wiping of unused space on ext3
Hello, I was asked if it is possible to zero unused space in ext3 partition? Users write to the server via Samba and are far from computer geeks so teaching them to use some safedelete utility is quite impossible. Is there some way or utility to wipe out all the data from unused space? Thanks, Mindaugas
2012 Jul 09
1
[PATCH] NEW API: add new api xfs_info
...78 insertions(+), 2 deletions(-) create mode 100644 daemon/xfs.c diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 9e2a633..afe8874 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -165,6 +165,7 @@ guestfsd_SOURCES = \ utimens.c \ wc.c \ xattr.c \ + xfs.c \ zero.c \ zerofree.c guestfsd_LDADD = \ diff --git a/daemon/xfs.c b/daemon/xfs.c new file mode 100644 index 0000000..8b60b19 --- /dev/null +++ b/daemon/xfs.c @@ -0,0 +1,69 @@ +/* libguestfs - the guestfsd daemon + * Copyright (C) 2012 Fujitsu Limited. + * + * This program is free software; you can redistribute it an...
2012 Jul 16
2
[PATCH V4] NEW API: add new api xfs_info
...325 insertions(+), 1 deletion(-) create mode 100644 daemon/xfs.c diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 9e2a633..afe8874 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -165,6 +165,7 @@ guestfsd_SOURCES = \ utimens.c \ wc.c \ xattr.c \ + xfs.c \ zero.c \ zerofree.c guestfsd_LDADD = \ diff --git a/daemon/xfs.c b/daemon/xfs.c new file mode 100644 index 0000000..b328d09 --- /dev/null +++ b/daemon/xfs.c @@ -0,0 +1,278 @@ +/* libguestfs - the guestfsd daemon + * Copyright (C) 2012 Fujitsu Limited. + * + * This program is free software; you can redistribute it a...