[GRASS-user] mounting a read-only PERMANENT from remote server

Hello,

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 ?

Moritz

On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert
<mlennert@club.worldonline.be> wrote:

Hello,

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? :slight_smile:

Markus

On 30/10/14 10:52, Markus Neteler wrote:

On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert
<mlennert@club.worldonline.be> wrote:

Hello,

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? :slight_smile:

Any specific hints about possible difficulties ?

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.

Moritz

On Thu, Oct 30, 2014 at 11:03 AM, Moritz Lennert
<mlennert@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@club.worldonline.be> wrote:

Hello,

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? :slight_smile:

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:

(NFS)Server:
/storage/grassdata/<various locations>

--> export /storage/grassdata/ as read-only NFS share

Put all data into the PERMANENT mapset.

Student machine(s):

# as root, one time needed (add to /etc/fstab):
mkdir -p /storage/grassdata/
mount via NFS /storage/grassdata/ into /storage/grassdata/

# as user:
mkdir $USER/grassdata
mkdir $USER/grassdata/location1
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.

Markus

On Thu, Oct 30, 2014 at 7:08 AM, Markus Neteler <neteler@osgeo.org> wrote:

> of disk space and where the file server is normally read-only for
students.

We had recently similar issue. We had read-only GRASS location.
Unfortunately the client OS was MS Windows, so the nice trick with mounting
and symbolic link is not applicable.

Vaclav Petras wrote:

> > of disk space and where the file server is normally read-only for
> students.

We had recently similar issue. We had read-only GRASS location.
Unfortunately the client OS was MS Windows, so the nice trick with mounting
and symbolic link is not applicable.

  http://en.wikipedia.org/wiki/NTFS_reparse_point
  http://en.wikipedia.org/wiki/NTFS_symbolic_link

--
Glynn Clements <glynn@gclements.plus.com>

On Fri, Oct 31, 2014 at 5:53 PM, Glynn Clements <glynn@gclements.plus.com>
wrote:

Vaclav Petras wrote:

> > > of disk space and where the file server is normally read-only for
> > students.
>
>
> We had recently similar issue. We had read-only GRASS location.
> Unfortunately the client OS was MS Windows, so the nice trick with
mounting
> and symbolic link is not applicable.

        http://en.wikipedia.org/wiki/NTFS_reparse_point
        http://en.wikipedia.org/wiki/NTFS_symbolic_link

Thanks, my bad, now I have a challenge to explain to IT department what I
want :slight_smile:

--
Glynn Clements <glynn@gclements.plus.com>

On Thu, Oct 30, 2014 at 12:08 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Thu, Oct 30, 2014 at 11:03 AM, Moritz Lennert
<mlennert@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@club.worldonline.be> wrote:

Hello,

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 ?

...

ok, so you may set it up like this:

FWIW, added also here:

http://grasswiki.osgeo.org/wiki/Location_and_Mapsets#Using_GRASS_GIS_locations_in_a_network

Markus