linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Quick way to check if 32bit app can work with inode64
@ 2016-09-20 18:20 Marcin Sura
  2016-09-20 21:57 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Sura @ 2016-09-20 18:20 UTC (permalink / raw)
  To: xfs


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

Hi Specialists!

I have a 32bit Java application reading and writing files to NFS share
mounted on Windows 2008R2 server 64bit. The filesystem behind NFS share is
of course XFS, created with default mkfs.xfs and mounted with inode64
option.

I don't have access to app source code.

Is there a quick and fast way to check if the app can be safely used with
inode64? Can I somehow force the files to be created with 64bit inodes
number, so the app can read then?

BR
Marcin

[-- Attachment #1.2: Type: text/html, Size: 606 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: Quick way to check if 32bit app can work with inode64
  2016-09-20 18:20 Quick way to check if 32bit app can work with inode64 Marcin Sura
@ 2016-09-20 21:57 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2016-09-20 21:57 UTC (permalink / raw)
  To: Marcin Sura; +Cc: xfs

On Tue, Sep 20, 2016 at 08:20:42PM +0200, Marcin Sura wrote:
> Hi Specialists!
> 
> I have a 32bit Java application reading and writing files to NFS share
> mounted on Windows 2008R2 server 64bit. The filesystem behind NFS share is
> of course XFS, created with default mkfs.xfs and mounted with inode64
> option.
> 
> I don't have access to app source code.

That won't help - who knows how windows API calls translate to
NFS operations.

> Is there a quick and fast way to check if the app can be safely used with
> inode64? Can I somehow force the files to be created with 64bit inodes
> number, so the app can read then?

On the NFS server, create a multi-TB filesystem (>16TB to be sure), make a few hundred
sub directories in the root, add a bunch of short files of known
contents to each sub directory. Export. 

Mont it on the client, then check you can list and read all the
files from the client, then have the client copy it all to a new set
of subdirs, then verify the copy on both client and server.  IF that
all works, then there's nothing obviously wrong with client side NFS
support handling inodes numbers larger than 32 bit.

Now do the same thing with your java application, and see if it has
problems listing and/or reading all the files...

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2016-09-20 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 18:20 Quick way to check if 32bit app can work with inode64 Marcin Sura
2016-09-20 21:57 ` Dave Chinner

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).