[GRASS-user] mounting a read-only PERMANENT from remote server
neteler at osgeo.org
Thu Oct 30 04:08:12 PDT 2014
On Thu, Oct 30, 2014 at 11:03 AM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 30/10/14 10:52, Markus Neteler wrote:
>> On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert
>> <mlennert at club.worldonline.be> wrote:
>>> I know that people work with entire GISDBASES on remote server, often via
>>> NFS, but does anyone have experience with mounting only one mapset from a
>>> remote server into a location on the local machine ?
>> Yes, we have. What is the specific question? :)
> Any specific hints about possible difficulties ?
As long as you have a stable network connection, no issues.
> I am trying to figure out the best way to allow students to work on
> VHR-imagery in computer labs where their own sessions are limited in terms
> of disk space and where the file server is normally read-only for students.
ok, so you may set it up like this:
--> export /storage/grassdata/ as read-only NFS share
Put all data into the PERMANENT mapset.
# as root, one time needed (add to /etc/fstab):
mkdir -p /storage/grassdata/
mount via NFS /storage/grassdata/ into /storage/grassdata/
# as user:
ln -s /storage/grassdata//location1/PERMANENT $USER/grassdata/location1/
now start GRASS with $USER/grassdata/ and location1 and create a new
user mapset within it.
That will stay locally while PERMANENT comes from the NFS server in read-only.
More information about the grass-user