Hello,

I'm trying to debug some problems I've been having with FreeBSD's fsx
utility on our test PVFS2 cluster.  I ask because I'm trying to track
down some file corruption issues with PVFS and Samba--and the Samba
people suggested that I try running fs tests like fsx.

We're running PVFS2 1.3.2.  I'm using the version of fsx that I've
pulled from
<http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/regression/fsx/>.
Looking at the test code PVFS2's CVS , it looks like the way that I
should call fsx is:

  ./fsx -N 1000 -W -R ${PVFS2_MOUNTPOINT}/fsx_testfile

However, this fails with the error:

  no extend on truncate! not posix!

Calling it in "Lite" mode with -L seems to do the trick:

  $ ./fsx -L -N 1000 -W -R /RAIDS/RAID_2/pvfs-fsx-test
  mapped writes DISABLED
  All operations completed A-OK!

Then, my question is, should the test succeed in non-Lite mode?  I
realize that PVFS2 is not a POSIX file system, but it seems that PVFS
is failing on truncation tests.  However, this might be something
that's causing Samba to fail.

As a side note, the samba people also suggested running one of their
home-grown tests <http://samba.org/ftp/unpacked/junkcode/fstest.c>.
Their test fails with random data corruption.
      --Justin


_______________________________________________
PVFS2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to