Displaying 5 results from an estimated 5 matches for "statvfs_result".
2018 Jan 04
2
virtdf outputs on host differs from df in guest
...n
tmpfs 941860 0 941860 0% /sys/fs/cgroup
/dev/sda1 508588 133328 375260 27% /boot
tmpfs 188376 0 188376 0% /run/user/0
using scripts:
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 ("/boot"); print s'
posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_bloc...
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.statvfs ("/boot"); print s'
>> posix.statvfs...
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 ("/boot"); print s'
> posix.statvfs_result(f_bsize=4096...
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
> bsize: 4096
> frsize: 4096...
2018 Jan 07
2
Re: virtdf outputs on host differs from df in guest
...Total: 262144 Free: 250996
><rescue>
Thanks,
Chen
At 2018-01-05 00:22:46, "Richard W.M. Jones" <rjones@redhat.com> wrote:
>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
>> bsize...