Re: tmpfs on top of GFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxx
> 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-----

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux