linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Filesystem test suite for NFSv4?
@ 2023-11-10  7:42 Martin Wege
  2023-11-16  7:05 ` Martin Wege
  2024-01-31 14:40 ` Olga Kornievskaia
  0 siblings, 2 replies; 8+ messages in thread
From: Martin Wege @ 2023-11-10  7:42 UTC (permalink / raw)
  To: Linux NFS Mailing List

Hello,

Is there a filesystem test suite for NFSv4, which can be used by a
non-root user for testing?

Thanks,
Martin

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

* Re: Filesystem test suite for NFSv4?
  2023-11-10  7:42 Filesystem test suite for NFSv4? Martin Wege
@ 2023-11-16  7:05 ` Martin Wege
  2023-11-16  7:55   ` Mkrtchyan, Tigran
  2024-01-31 14:40 ` Olga Kornievskaia
  1 sibling, 1 reply; 8+ messages in thread
From: Martin Wege @ 2023-11-16  7:05 UTC (permalink / raw)
  To: Linux NFS Mailing List

?

On Fri, Nov 10, 2023 at 8:42 AM Martin Wege <martin.l.wege@gmail.com> wrote:
>
> Hello,
>
> Is there a filesystem test suite for NFSv4, which can be used by a
> non-root user for testing?
>
> Thanks,
> Martin

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

* Re: Filesystem test suite for NFSv4?
  2023-11-16  7:05 ` Martin Wege
@ 2023-11-16  7:55   ` Mkrtchyan, Tigran
  2023-11-16 14:36     ` Chuck Lever III
  2023-11-16 21:26     ` Martin Wege
  0 siblings, 2 replies; 8+ messages in thread
From: Mkrtchyan, Tigran @ 2023-11-16  7:55 UTC (permalink / raw)
  To: Martin Wege; +Cc: Linux NFS Mailing List

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]


What do you want to test?
Protocol-level test can be performed with pynfs:

https://git.linux-nfs.org/?p=cdmackay/pynfs.git;a=summary

IO bandwidth and latency tests can be performed ior or fio.

Best regards,
   Tigran.


----- Original Message -----
> From: "Martin Wege" <martin.l.wege@gmail.com>
> To: "Linux NFS Mailing List" <linux-nfs@vger.kernel.org>
> Sent: Thursday, 16 November, 2023 08:05:50
> Subject: Re: Filesystem test suite for NFSv4?

> ?
> 
> On Fri, Nov 10, 2023 at 8:42 AM Martin Wege <martin.l.wege@gmail.com> wrote:
>>
>> Hello,
>>
>> Is there a filesystem test suite for NFSv4, which can be used by a
>> non-root user for testing?
>>
>> Thanks,
> > Martin

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2208 bytes --]

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

* Re: Filesystem test suite for NFSv4?
  2023-11-16  7:55   ` Mkrtchyan, Tigran
@ 2023-11-16 14:36     ` Chuck Lever III
  2023-11-16 21:26     ` Martin Wege
  1 sibling, 0 replies; 8+ messages in thread
From: Chuck Lever III @ 2023-11-16 14:36 UTC (permalink / raw)
  To: Mkrtchyan, Tigran; +Cc: Martin Wege, Linux NFS Mailing List



> On Nov 16, 2023, at 2:55 AM, Mkrtchyan, Tigran <tigran.mkrtchyan@desy.de> wrote:
> 
> 
> What do you want to test?
> Protocol-level test can be performed with pynfs:
> 
> https://git.linux-nfs.org/?p=cdmackay/pynfs.git;a=summary

pynfs needs to run as root, I think. That's why I haven't
mentioned it here. Same with xfstests.

Even cthon04 wants to have root, but that's just so it can
do mount/unmount in its scripts.


> IO bandwidth and latency tests can be performed ior or fio.
> 
> Best regards,
>   Tigran.
> 
> 
> ----- Original Message -----
>> From: "Martin Wege" <martin.l.wege@gmail.com>
>> To: "Linux NFS Mailing List" <linux-nfs@vger.kernel.org>
>> Sent: Thursday, 16 November, 2023 08:05:50
>> Subject: Re: Filesystem test suite for NFSv4?
> 
>> ?
>> 
>> On Fri, Nov 10, 2023 at 8:42 AM Martin Wege <martin.l.wege@gmail.com> wrote:
>>> 
>>> Hello,
>>> 
>>> Is there a filesystem test suite for NFSv4, which can be used by a
>>> non-root user for testing?
>>> 
>>> Thanks,
>>> Martin

--
Chuck Lever



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

* Re: Filesystem test suite for NFSv4?
  2023-11-16  7:55   ` Mkrtchyan, Tigran
  2023-11-16 14:36     ` Chuck Lever III
@ 2023-11-16 21:26     ` Martin Wege
  2024-01-29 23:43       ` Martin Wege
  1 sibling, 1 reply; 8+ messages in thread
From: Martin Wege @ 2023-11-16 21:26 UTC (permalink / raw)
  To: Linux NFS Mailing List

On Thu, Nov 16, 2023 at 8:55 AM Mkrtchyan, Tigran
<tigran.mkrtchyan@desy.de> wrote:
>
>
> What do you want to test?

Filesystem tests, from POSIX layer. open(), close(), mmap(), write(),
read(), SEEK_HOLE, SEEK_DATA

> Protocol-level test can be performed with pynfs:
>
> https://git.linux-nfs.org/?p=cdmackay/pynfs.git;a=summary
>
> IO bandwidth and latency tests can be performed ior or fio.

Is this a test for the NFS server, or NFS client?

Thanks,
Martin

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

* Re: Filesystem test suite for NFSv4?
  2023-11-16 21:26     ` Martin Wege
@ 2024-01-29 23:43       ` Martin Wege
  2024-01-30  1:22         ` Calum Mackay
  0 siblings, 1 reply; 8+ messages in thread
From: Martin Wege @ 2024-01-29 23:43 UTC (permalink / raw)
  To: Linux NFS Mailing List

On Thu, Nov 16, 2023 at 10:26 PM Martin Wege <martin.l.wege@gmail.com> wrote:
>
> On Thu, Nov 16, 2023 at 8:55 AM Mkrtchyan, Tigran
> <tigran.mkrtchyan@desy.de> wrote:
> >
> >
> > What do you want to test?
>
> Filesystem tests, from POSIX layer. open(), close(), mmap(), write(),
> read(), SEEK_HOLE, SEEK_DATA
>
> > Protocol-level test can be performed with pynfs:
> >
> > https://git.linux-nfs.org/?p=cdmackay/pynfs.git;a=summary
> >
> > IO bandwidth and latency tests can be performed ior or fio.
>
> Is this a test for the NFS server, or NFS client?
>
> Thanks,
> Martin

?

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

* Re: Filesystem test suite for NFSv4?
  2024-01-29 23:43       ` Martin Wege
@ 2024-01-30  1:22         ` Calum Mackay
  0 siblings, 0 replies; 8+ messages in thread
From: Calum Mackay @ 2024-01-30  1:22 UTC (permalink / raw)
  To: Martin Wege, Linux NFS Mailing List; +Cc: Calum Mackay


[-- Attachment #1.1: Type: text/plain, Size: 853 bytes --]

hi Martin,

On 29/01/2024 11:43 pm, Martin Wege wrote:
> On Thu, Nov 16, 2023 at 10:26 PM Martin Wege <martin.l.wege@gmail.com> wrote:
>>
>> On Thu, Nov 16, 2023 at 8:55 AM Mkrtchyan, Tigran
>> <tigran.mkrtchyan@desy.de> wrote:
>>>
>>>
>>> What do you want to test?
>>
>> Filesystem tests, from POSIX layer. open(), close(), mmap(), write(),
>> read(), SEEK_HOLE, SEEK_DATA
>>
>>> Protocol-level test can be performed with pynfs:
>>>
>>> https://git.linux-nfs.org/?p=cdmackay/pynfs.git;a=summary
>>>
>>> IO bandwidth and latency tests can be performed ior or fio.
>>
>> Is this a test for the NFS server, or NFS client?

It is mostly tests of the server, via sending hand-rolled protocol 
calls, although there is some limited support for testing a client.

best wishes,
calum.

>>
>> Thanks,
>> Martin
> 
> ?
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

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

* Re: Filesystem test suite for NFSv4?
  2023-11-10  7:42 Filesystem test suite for NFSv4? Martin Wege
  2023-11-16  7:05 ` Martin Wege
@ 2024-01-31 14:40 ` Olga Kornievskaia
  1 sibling, 0 replies; 8+ messages in thread
From: Olga Kornievskaia @ 2024-01-31 14:40 UTC (permalink / raw)
  To: Martin Wege; +Cc: Linux NFS Mailing List

You can use python nfstest testing suite (git clone
git://linux-nfs.org/projects/mora/nfstest) and run as a user but that
user needs to be in sudoers so that the test can do a mount. Nfstest
tests for protocol correctness (both client and server).

On Fri, Nov 10, 2023 at 12:59 PM Martin Wege <martin.l.wege@gmail.com> wrote:
>
> Hello,
>
> Is there a filesystem test suite for NFSv4, which can be used by a
> non-root user for testing?
>
> Thanks,
> Martin

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

end of thread, other threads:[~2024-01-31 14:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10  7:42 Filesystem test suite for NFSv4? Martin Wege
2023-11-16  7:05 ` Martin Wege
2023-11-16  7:55   ` Mkrtchyan, Tigran
2023-11-16 14:36     ` Chuck Lever III
2023-11-16 21:26     ` Martin Wege
2024-01-29 23:43       ` Martin Wege
2024-01-30  1:22         ` Calum Mackay
2024-01-31 14:40 ` Olga Kornievskaia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).