SUMMARY Read Only Filesystems

From: Jason Feilbach <jfeilbach_at_novell.com>
Date: Mon Nov 19 2001 - 13:42:22 EST
Silly me. Thanks to:

Bertrand Hutin
Baranyai Pal
Brian Scanlan
Darren Dunham

Summary:

This is not possible with UFS. Apparently this is possible with VxFS. One suggestion was to use NFS. Another suggested AIX with GPFS. Useful previous thread: http://groups.google.com/groups?th=6493558f9671c89b&rnum=2  Complete responses are below.

Original Question: 

I have several 420R's mounting the same LUN on a Compaq SAN. Only one server mounts the filesystem as Read-Write. All the other systems mount that same filesystem as read-only. The filesystem is UFS. OS version is 8 on all systems.

When files and directories are created on the system that has the filesystem mounted RW, the systems that are RO cannot see the changes. I have to unmount and mount the filesystem in order to see the changes. Does anyone have any suggestions?

-------------------------------
Bertrand Hutin:

use NFS...
-------------------------------
Pal Baranyai:
It is OK. The system which write the fs buffers the changes in its RAM.
There is no possibility to extract this buffered information from other
hosts. The filesystem changes are visible on RO systems only when the RW
system flushes buffers to disk (eg. when mount-umountfs).

Of course you can try to mount this filesystem with forcedirectio
but it could have serious performance problems.

Or use IBM AIX with GPFS instead of Sun.
See: http://www.redbooks.ibm.com/redbooks/SG245165.html 

Best wishes,
Pal Baranyai
-------------------------------
Brian Scanlan:

Check out this thread:

http://groups.google.com/groups?th=6493558f9671c89b&rnum=2 

What Casper says is bible, but he'll give the official Sun line.

How about UFS mounted RO with forcedirectio, and then have a CACHEFS mount
on top of each of those RO filesystems? :)

That might work, but remember that UFS is not built for that...

Brian.
-- 
Brian Scanlan, Systems Administrator.
Irish Times New Media - http://www.ireland.com
-------------------------------
Darren Dunham:

What you are attempting is unsupported and is not supposed to work.
UFS is heavily cached, and there is no mechanism for communicating
changes to read-only servers.

Worse, you could possibly panic the RO servers if they have older UFS
information cached, and then load a portion of it from the disk which is
inconsistent.  

Veritas makes sharable VxFS, but it is expensive.

-- 
Darren Dunham                                           ddunham@taos.com 
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
          < How are you gentlemen!! Take off every '.SIG'!! >


_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Nov 19 12:43:19 2001

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:28 EST