UForge Repository on Shared StorageΒΆ
NFS
(Network File System) is used to share the information between the various UForge nodes. To setup the NAS or SAN for the UForge Repository you must create two shared directories, one for the operating system data and the other for all the user data (My Software
and images generated).
Note
This option is mandatory if you are installing UForge as a multi-node environment.
To setup the shared storage:
Log in to the machine where the
NFS
server is runningCreate the operating system directory, for example:
/volume1/DISTROS
The following NFS options are required:
*(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)Create the user data directory, for example:
/volume1/USER_DATA
The following
NFS
options are required:*(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
Check the mount points on each UForge node:
Run the following commands:
mount 192.20.777.205:/volume1/USER_DATA/ /mnt su - tomcat cd /mnt touch testIf it returns:
touch: cannot touch 'test': Permission deniedThen execute the following commands (as
root
)cd /mnt chown -R tomcat:tomcat .
Confirm you can create a file on
/mnt
as usertomcat
. Then perform the following:cd ~ umount /mnt