All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
@ 2020-10-29 14:36 ` samba-bugs
  2022-08-19 18:47 ` samba-bugs
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2020-10-29 14:36 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #2 from Terrance <kato223@gmail.com> ---
Just checked with Ubuntu 20.04 LTS and it too has the exact same issue even
with a newer version:

apt-cache policy cifs-utils
cifs-utils:
  Installed: 2:6.9-1ubuntu0.1
  Candidate: 2:6.9-1ubuntu0.1
  Version table:
 *** 2:6.9-1ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
Packages
        100 /var/lib/dpkg/status
     2:6.9-1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
  2020-10-29 14:36 ` [Bug 13570] CIFS Mount Used Size descrepancy samba-bugs
@ 2022-08-19 18:47 ` samba-bugs
  2022-08-19 18:51 ` samba-bugs
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2022-08-19 18:47 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

Terrance <kato223@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|CifsVFS                     |Samba 4.1 and newer
            Version|2.6                         |4.15.9
          Component|kernel fs                   |File services

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
  2020-10-29 14:36 ` [Bug 13570] CIFS Mount Used Size descrepancy samba-bugs
  2022-08-19 18:47 ` samba-bugs
@ 2022-08-19 18:51 ` samba-bugs
  2022-08-25 14:57 ` samba-bugs
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2022-08-19 18:51 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #3 from Terrance <kato223@gmail.com> ---
Still occurring in Ubuntu 22.04 LTS

smbd --version
Version 4.15.9-Ubuntu

apt-cache policy cifs-utils
cifs-utils:
   Installed:  2:6.14-1ubuntu0.1
   Candidate:  2:6.14-1ubuntu0.1

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
                   ` (2 preceding siblings ...)
  2022-08-19 18:51 ` samba-bugs
@ 2022-08-25 14:57 ` samba-bugs
  2022-09-03 14:17 ` samba-bugs
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2022-08-25 14:57 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #4 from Enzo Matsumiya <ematsumiya@suse.de> ---
Hi Terrance. Can you provide a network trace of the timeframe when you do a "df
-h" please?

This way we can check if:

- the server sends unexpected info and the client just pass it on as-is to
userspace
- the server sends expected info, but the client modifies it somehow
- the server sends unexpected info and the client modifies it to something else
even

Thanks!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
                   ` (3 preceding siblings ...)
  2022-08-25 14:57 ` samba-bugs
@ 2022-09-03 14:17 ` samba-bugs
  2022-09-03 19:22 ` samba-bugs
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2022-09-03 14:17 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #5 from Terrance <kato223@gmail.com> ---
Hi Enzo!

What command output are you looking for?  I don't think I am familiar with
doing a network trace of the timeframe for df.  Can you please tell me a
command that I can run so that I can get you that output?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
                   ` (4 preceding siblings ...)
  2022-09-03 14:17 ` samba-bugs
@ 2022-09-03 19:22 ` samba-bugs
  2022-09-03 21:53 ` samba-bugs
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2022-09-03 19:22 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #6 from Enzo Matsumiya <ematsumiya@suse.de> ---
You can do something like this, with tcpdump package installed:

<in terminal 1>
> $ sudo mount.cifs <...mount options...> //10.0.0.220/storage /cifs/server

<in terminal 2>
> $ sudo tcpdump -i eth0 -s 0 -w wrong-df.pcap port 445

(of course, replace "eth0" with the network interface that connects to
10.0.0.220)

<back to terminal 1>
> $ df -h

<go back to terminal 2>
> press ctrl-c to terminate tcpdump capture

Then you attach the new file "wrong-df.pcap" here please, along with the size
shown by "df -h" in terminal 1, and the size you expected to see.

A "df -h" output from the server side at the same time you see the discrepancy
would be nice as well.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
                   ` (5 preceding siblings ...)
  2022-09-03 19:22 ` samba-bugs
@ 2022-09-03 21:53 ` samba-bugs
  2022-09-03 21:55 ` samba-bugs
  2022-09-03 21:56 ` samba-bugs
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2022-09-03 21:53 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #7 from Terrance <kato223@gmail.com> ---
Created attachment 17506
  --> https://bugzilla.samba.org/attachment.cgi?id=17506&action=edit
Incorrect Space when using Samba share being reported

File containing incorrect Space when using Samba share being reported

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
                   ` (6 preceding siblings ...)
  2022-09-03 21:53 ` samba-bugs
@ 2022-09-03 21:55 ` samba-bugs
       [not found]   ` <f5708177-ff94-c745-a191-4fdba33a2e06@talpey.com>
  2022-09-03 21:56 ` samba-bugs
  8 siblings, 1 reply; 10+ messages in thread
From: samba-bugs @ 2022-09-03 21:55 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #8 from Terrance <kato223@gmail.com> ---
Top line is the Samba mounted share and the bottom line is the exact same share
mounted on NFS.

Filesystem                 Size  Used Avail Use% Mounted on
{..}
//10.0.0.220/storage        15T  9.1T  5.5T  63% /media/Samba
10.0.0.220:/media/storage   15T  8.3T  5.5T  61% /media/NAS

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 13570] CIFS Mount Used Size descrepancy
       [not found] <bug-13570-10630@https.bugzilla.samba.org/>
                   ` (7 preceding siblings ...)
  2022-09-03 21:55 ` samba-bugs
@ 2022-09-03 21:56 ` samba-bugs
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2022-09-03 21:56 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=13570

--- Comment #9 from Terrance <kato223@gmail.com> ---
Sorry, NFS share is correct.

terrance@terrance-ubuntu:~$ ssh 10.0.0.220 'df -h'
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           368M  3.3M  364M   1% /run
/dev/md0        455G  320G  112G  75% /
tmpfs           1.8G   16K  1.8G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/md1p1       15T  8.3T  5.5T  61% /media/storage
tmpfs           368M  120K  367M   1% /run/user/1000

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 13570] CIFS Mount Used Size descrepancy
       [not found]   ` <f5708177-ff94-c745-a191-4fdba33a2e06@talpey.com>
@ 2022-09-04 14:15     ` Tom Talpey
  0 siblings, 0 replies; 10+ messages in thread
From: Tom Talpey @ 2022-09-04 14:15 UTC (permalink / raw)
  To: kato223, Enzo Matsumiya, CIFS

[resend including linux-cifs]

On 9/4/2022 10:13 AM, Tom Talpey wrote:
> [I don't have a Samba-bugzilla account, so replying directly]
> 
> This is clearly just a TB/TiB discrepancy in reporting.
> 
> 9.1 TB * 10e12 / 2e16 == 8.3 TiB
> 
> Odd that the "Size" and "Avail" numbers are the same, that's maybe
> worth looking into. I bet this is some sort of ancient compatibility
> behavior for a Windows-style API.
> 
> On 9/3/2022 5:55 PM, samba-bugs@samba.org wrote:
>> https://bugzilla.samba.org/show_bug.cgi?id=13570
>>
>> --- Comment #8 from Terrance <kato223@gmail.com> ---
>> Top line is the Samba mounted share and the bottom line is the exact 
>> same share
>> mounted on NFS.
>>
>> Filesystem                 Size  Used Avail Use% Mounted on
>> {..}
>> //10.0.0.220/storage        15T  9.1T  5.5T  63% /media/Samba
>> 10.0.0.220:/media/storage   15T  8.3T  5.5T  61% /media/NAS
>>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-09-04 14:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-13570-10630@https.bugzilla.samba.org/>
2020-10-29 14:36 ` [Bug 13570] CIFS Mount Used Size descrepancy samba-bugs
2022-08-19 18:47 ` samba-bugs
2022-08-19 18:51 ` samba-bugs
2022-08-25 14:57 ` samba-bugs
2022-09-03 14:17 ` samba-bugs
2022-09-03 19:22 ` samba-bugs
2022-09-03 21:53 ` samba-bugs
2022-09-03 21:55 ` samba-bugs
     [not found]   ` <f5708177-ff94-c745-a191-4fdba33a2e06@talpey.com>
2022-09-04 14:15     ` Tom Talpey
2022-09-03 21:56 ` samba-bugs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.