[Linux-cluster] tmpfs on top of GFS

Bryn M. Reeves breeves at redhat.com
Thu Jan 11 22:50:19 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lin Shen (lshen) wrote:
> If I mount a tmpfs filesystem on top of a GFS based root filesystem at
> say /tmp, can I safely share the contents under /tmp among the nodes?
> 
> lin 
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

Maybe I misunderstand your question, but tmpfs will not be able to share
its contents between nodes the way GFS does.

The tmpfs filesystem uses space available in the pagecache & swap areas
as a backing store instead of a dedicated block device.

Mounting it on top of a GFS root at /tmp is only going to be visible on
a single node. Each node can do that and have its own tmpfs storage
available, but this won't make the /tmp mounts shared between the
cluster nodes.

See Documentation/filesystems/tmpfs.txt in the kernel sources for more
details.

Kind regards,

Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFpr8q6YSQoMYUY94RAkCWAKC6b+VWxyW5ZMqJz+RuMJ5jCV5UTgCfYd4Z
DPDFOCAEPU0Ukj8YFky9zEo=
=IHfq
-----END PGP SIGNATURE-----




More information about the Linux-cluster mailing list