search for: statvfs

Displaying 20 results from an estimated 339 matches for "statvfs".

2017 Oct 03
0
[PATCH v2 1/2] daemon: Reimplement statvfs API in OCaml.
common/mlutils: Unix_utils.StatVFS.statvfs: This commit implements a full-featured binding for the statvfs(3) function. We then use this to reimplement the daemon statvfs API in OCaml. Note that the Gnulib fallback is fixed in this commit. It previously referenced non-existent field names in the fs_usage struct. --- common/mluti...
2017 Oct 03
4
[PATCH v2 0/2] builder: Choose better weights in the planner.
v1 -> v2: - Removed the f_type field from StatVFS.statvfs structure. - New function StatVFS.filesystem_is_remote, written in C. [Thinking about it, this should probably be called ?is_network_filesystem?, but I can change that before pushing]. - Use statvfs instead of fstatvfs, and statfs instead of fstatfs. - Rejigged the comments i...
2017 Oct 04
2
[PATCH v3 0/2] builder: Choose better weights in the planner.
v2 -> v3: - Drop gnulib fallback.
2017 Oct 02
3
[PATCH 0/2] builder: Choose better weights in the planner.
It started out as "this'll be just a simple fix ..." and turned into something a bit over-engineered in the end. Here it is anyway. Rich.
2007 Aug 27
17
statvfs change
An issue was found with the netBeans installer where the installation was failing on a large ZFS filesystem. This resulted in CR 6560644 (zfs statvfs f_frsize needs work). The issue is that large filesystems can cause EOVERFLOW on statvfs() calls. This behavior is documented in the statvfs(2) man page, but I think we can do better. The problem was initially reported against ZFS, and my first fix was to zfs_statvfs(). But the VFS_STATVFS routin...
2007 Aug 30
0
[ufs-discuss] statvfs change
...iday and will be out of the country for a week starting Saturday. So, I may be very slow responding to issues raised here for a while. Cheers, Don >Date: Wed, 29 Aug 2007 19:41:53 +0100 (BST) >From: Frank Hofmann <Frank.Hofmann at sun.com> >Subject: Re: [ufs-discuss] [zfs-code] statvfs change >To: Chris Kirby <chris.kirby at sun.com> >Cc: Don Cragun <don.cragun at sun.com>, zfs-code at opensolaris.org, ufs-discuss at opensolaris.org, johansen-osdev at sun.com > >On Wed, 29 Aug 2007, Chris Kirby wrote: > >[ ... ] >> None of {ZFS,QFS,UFS} even b...
2018 Jan 04
2
virtdf outputs on host differs from df in guest
...we used virt-df command to display my guest disks useage. the virt-df command from pkg libguestfs-tools-c-1.36.3-6.el7_4.3.x86_64,version is  virt-df --version : virt-df 1.36.3rhel=7,release=6.el7_4.3,libvirt the output in guest with the method referred in http://libguestfs.org/virt-df.1.html#STATVFS NUMBERS is: [root@localhost ~]# df Filesystem              1K-blocks    Used Available Use% Mounted on /dev/mapper/centos-root  23544596 4335172  19209424  19% / devtmpfs                   931220       0    931220   0% /dev tmpfs                      941860       0    941860   0% /dev/shm tmpfs  ...
2015 Oct 20
1
[PATCH v3 04/13] v2v: factor out size checks
...ml index 4257b8d..a2b6f52 100644 --- a/v2v/v2v.ml +++ b/v2v/v2v.ml @@ -80,32 +80,9 @@ let rec main () = message (f_"Inspecting the overlay"); let inspect = inspect_source g root_choice in - (* The guest free disk space check and the target free space - * estimation both require statvfs information from mountpoints, so - * get that information first. - *) - let mpstats = List.map ( - fun (dev, path) -> - let statvfs = g#statvfs path in - let vfs = g#vfs_type dev in - { mp_dev = dev; mp_path = path; mp_statvfs = statvfs; mp_vfs = vfs } - ) (g#mountpoints...
2006 Aug 17
0
[RFC] proposed extensions for SFTP
I'd like to propose the following extensions to the SFTP protocol. - statvfs operation - atomic rename (just plain POSIX rename() without the existence check) These are the most requested features in SSHFS, which need support in sftp-server too. They could be added to the current protocol with the SSH_FXP_EXTENDED message type. Here's a patch implementing the statv...
2018 Jan 04
2
Re: virtdf outputs on host differs from df in guest
hi Jones, Thanks for your reply. At 2018-01-04 19:41:27, "Richard W.M. Jones" <rjones@redhat.com> wrote: >On Thu, Jan 04, 2018 at 12:58:40PM +0800, Chen Fan wrote: >[In guest] >> python -c 'import os; s = os.statvfs ("/"); print s' >> posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=5886149, >> f_bfree=4802342, f_bavail=4802342, f_files=23556096, >> f_ffree=23435372, f_favail=23435372, f_flag=4096, f_namemax=255) >> >> python -c 'import os; s = os.stat...
2016 Jan 31
4
configure warning on SunOS 4.1.4
Hi, I was told to do so by configure of openssh-7.1p2 -:) ... configure: WARNING: sys/audit.h: present but cannot be compiled configure: WARNING: sys/audit.h: check for missing prerequisite headers? configure: WARNING: sys/audit.h: see the Autoconf documentation configure: WARNING: sys/audit.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/audit.h:
2018 Apr 09
0
[PATCH 2/3] daemon: use the structs from the Structs module
No need to redeclare them again in few modules, just use them from the Structs module. --- daemon/btrfs.mli | 8 +------- daemon/inspect_fs_windows.ml | 4 ++-- daemon/listfs.ml | 4 ++-- daemon/parted.mli | 9 +-------- daemon/statvfs.mli | 16 +--------------- 5 files changed, 7 insertions(+), 34 deletions(-) diff --git a/daemon/btrfs.mli b/daemon/btrfs.mli index 8ca91fb47..ce1c2b66f 100644 --- a/daemon/btrfs.mli +++ b/daemon/btrfs.mli @@ -16,11 +16,5 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA....
2018 Apr 10
0
[PATCH v2 2/5] daemon: use the structs from the Structs module
No need to redeclare them again in few modules, just use them from the Structs module. --- daemon/btrfs.mli | 8 +------- daemon/inspect_fs_windows.ml | 4 ++-- daemon/listfs.ml | 4 ++-- daemon/parted.mli | 9 +-------- daemon/statvfs.mli | 16 +--------------- 5 files changed, 7 insertions(+), 34 deletions(-) diff --git a/daemon/btrfs.mli b/daemon/btrfs.mli index 8ca91fb47..ce1c2b66f 100644 --- a/daemon/btrfs.mli +++ b/daemon/btrfs.mli @@ -16,11 +16,5 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA....
2011 Nov 11
1
virt-df: ext2/3/4 statvfs(2) output changed between two recent Linux kernels (3.2.0)
[Jim, as coreutils developer, this might interest you] In libguestfs we run some quite detailed checks of the output of the statvfs system call for our tool "virt-df". I noticed that the output of virt-df changed slightly. Narrowing it down, the difference only happens between: Fedora kernel 3.2.0-0.rc0.git4.1.fc17 (3rd Nov) Fedora kernel 3.2.0-0.rc1.git2.1.fc17 (11th Nov) With 3.2.0-0.rc0.git4.1.fc17, and all...
2006 Jun 16
3
Compile error in statvfs.c in samba 3.0.22
I am trying to build samba 3.0.22 on an older Slackware system. gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) The error I'm getting is smbd/statvfs.c: In function `linux_statvfs': smbd/statvfs.c:40: incompatible types in assignment Anyone have any clues?
2006 Jun 08
7
Wrong reported free space over NFS
NFS server (b39): bash-3.00# zfs get quota nfs-s5-s8/d5201 nfs-s5-p0/d5110 NAME PROPERTY VALUE SOURCE nfs-s5-p0/d5110 quota 600G local nfs-s5-s8/d5201 quota 600G local bash-3.00# bash-3.00# df -h | egrep "d5201|d5110" nfs-s5-p0/d5110 600G 527G 73G 88% /nfs-s5-p0/d5110
2009 Aug 02
1
libsmb error
Can anyone point me in the right direction as to how to cure this compile error? Compiling libsmb/libsmb_cache.c In file included from libsmb/libsmb_cache.c:24: include/libsmbclient.h:78:25: sys/statvfs.h: No such file or directory In file included from libsmb/libsmb_cache.c:24: include/libsmbclient.h:875: warning: `struct statvfs' declared inside parameter list include/libsmbclient.h:875: warning: its scope is only this definition or declaration, which is probably not what you want include/li...
2009 Aug 07
0
This is happening too
creating /altroot/samba-3.4.0/source3/exports/libnetapi.syms Linking shared library bin/libnetapi.so.0 Compiling libsmb/libsmb_cache.c In file included from libsmb/libsmb_cache.c:24: include/libsmbclient.h:78:25: sys/statvfs.h: No such file or directory In file included from libsmb/libsmb_cache.c:24: include/libsmbclient.h:875: warning: `struct statvfs' declared inside parameter list include/libsmbclient.h:875: warning: its scope is only this definition or declaration, which is probably not what you want include/li...
2018 Mar 23
2
Call for testing: OpenSSH 7.7
...te: [...] > session opened for local user corinna from [UNKNOWN] > received client version 3 > debug2: Permitting whitelisted realpath request > debug3: request 1: realpath > realpath "." > debug1: request 1: sent names count 1 > Refusing non-whitelisted statvfs request > debug3: request 2: sent status 3 > sent status Permission denied > debug1: read eof > session closed for local user corinna from [UNKNOWN] > > Can you please explain what's going on there? Adding a "set -x" to test-exec.sh shows the failing command...
2017 Feb 22
4
[PATCH 0/3] v2v: vCenter: Remove proxy environment variables
Fix for: https://bugzilla.redhat.com/show_bug.cgi?id=1354507 Main explanation is in patch #3. Rich.