Displaying 20 results from an estimated 1000 matches similar to: "[ufs-discuss] statvfs change"
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
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/mlutils/unix_utils-c.c | 138 ++++++++++++++++++++++++++++---
2018 Jan 04
0
Re: virtdf outputs on host differs from df in guest
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.statvfs
2018 Jan 04
2
virtdf outputs on host differs from df in guest
hi guys,
happy new year!!!
I encountered a problem when 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:
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,
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 statvfs operation. It
2018 Jan 04
0
Re: virtdf outputs on host differs from df in guest
To summarise:
>[In guest]
> python -c 'import os; s = os.statvfs ("/boot"); print s'
> posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=127147,
> f_bfree=93815, f_bavail=93815, f_files=512000, f_ffree=511626,
> f_favail=511626, f_flag=4096, f_namemax=255)
>[From the host via libguestfs]
> # sudo guestfish --ro -d rpm-build-for-7.2 -i statvfs /boot
2018 Jan 07
2
Re: virtdf outputs on host differs from df in guest
hi Jones,
Sorry for the late reply. when I used your method to execute command:
$guestfish -N fs:xfs -m /dev/sda1 statvfs /
libguestfs: error: mkfs: xfs: /dev/sda1: mkfs.xfs: No such file or directory
guestfish: error creating prepared disk image 'fs:xfs' on 'test1.img': failed to create filesystem (xfs): mkfs: xfs: /dev/sda1: mkfs.xfs: No such file or directory
does I need to
2005 Dec 17
2
[patch] fix defintion of struct statfs64
From: Steve Langasek <vorlon@debian.org>
Fix the definition of struct statfs64,
required for run-init to work on alpha.
verified to have no regressions on amd64.
Signed-off-by: maximilian attems <janitor@sternwelten.at>
Signed-off-by: Frederik Sch?ler <fschueler-guest@costa.debian.org>
--- klibc-1.1.1.orig/include/sys/vfs.h
+++ klibc-1.1.1/include/sys/vfs.h
@@ -32,17 +32,17
2006 Oct 31
0
6251659 statvfs taking 30 second to complete performance regression s9 to s10 oracle 9ir2 starcat ufs
Author: jkennedy
Repository: /hg/zfs-crypto/gate
Revision: 6a727a093fbd6794a7ca69a71d9fa81f29c9364b
Log message:
6251659 statvfs taking 30 second to complete performance regression s9 to s10 oracle 9ir2 starcat ufs
Files:
update: usr/src/uts/common/fs/ufs/ufs_alloc.c
update: usr/src/uts/common/fs/ufs/ufs_inode.c
update: usr/src/uts/common/fs/ufs/ufs_thread.c
update:
2019 May 07
0
Staged installation fail on some file systems
Thanks for the report.? According to my reading, this use of "mv" is ok
and the renameat2() call which the invocation of "mv" leads to is also
ok and allowed by POSIX in this context. It could only fail with EEXIST
if the target directory (path/pkg) was not empty. So far I've not been
able to reproduce but we could fall back to copy like on Windows.
Best
Tomas
On
2018 Mar 21
1
Request For Opinions: what to do about the synthetic statfvs "tweak"?
Hi list,
We have an ancient hack that fuse not
just passes on the statvfs data it's getting
from the storage, but tweaks it by setting
f_bsize / f_frsize to values of its own
preference. [1]
The supposed advantage is that f_bsize
serves as a hint to applications for the
preferred io size. (And regarding f_frsize --
in Linux it's a historical workaround for
certain bugs in userspace[2]
2019 May 09
0
Staged installation fail on some file systems
On 5/7/19 6:18 PM, Henrik Bengtsson wrote:
> On Tue, May 7, 2019 at 9:05 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>> Thanks for the report. According to my reading, this use of "mv" is ok
>> and the renameat2() call which the invocation of "mv" leads to is also
>> ok and allowed by POSIX in this context. It could only fail with EEXIST
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
The latest version that Western Digital has shipped with the My cloud devices accesses the disk
about twice a minute. The access to /dev/sda2 is causing the system to keep the disk from going
into standby mode. I don't understand the call to quotactl every minute when no one is trying to access the share.
An strace of one of the processes shows the following:
poll([{fd=13,
2006 Aug 19
0
[PATCH] add statfs extension to sftp-server
This is needed to be able to support statfs operation on an SSH
filesystem (http://fuse.sourceforge.net/sshfs.html).
It uses and sends only those fields of struct statfs which are common
with struct statvfs as defined by POSIX, and which are shared among
most UNIX-like systems.
The SSH_FXP_EXTENDED message type is used, so this change is backward
compatible and conforms to the protocol
2007 Dec 07
2
[PATCH] add statfs extension to sftp-server
And while we are at it, can you please comment on these patches as
well, originally submitted around one year ago.
Oh, and I think we can agree, that the secsh-filexfer standardization
is dead, so there's not much point in trying to support newer protocol
versions, which don't have statfs anyway.
Thanks,
Miklos
-----
This is needed to be able to support statfs operation on an SSH
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
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?
2001 May 03
2
configure problem
Hi! I am trying to install samba 2.2 on a Sun and I'm getting this error:
./configure --prefix=/local --with-ssl
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... no
checking for 3-argument statfs function (DEC OSF/1)... no
checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)...
no
checking for
2002 Feb 25
2
samba & solaris 8
trying to compile 2.2.3a on solaris 8
and getting the following:
Is it supported on sol 8?
after typing configure and after many
lines i get:
-----much deleted------
ecking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... no
checking for 3-argument statfs function (DEC OSF/1)... no
checking for two-argument statfs with statfs.bsize