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

2015-01-01 Thread Markus Neteler
On Thu, Oct 30, 2014 at 12:08 PM, Markus Neteler nete...@osgeo.org wrote:
 On Thu, Oct 30, 2014 at 11:03 AM, Moritz Lennert
 mlenn...@club.worldonline.be wrote:
 On 30/10/14 10:52, Markus Neteler wrote:

 On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert
 mlenn...@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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2014-11-01 Thread Vaclav Petras
On Fri, Oct 31, 2014 at 5:53 PM, Glynn Clements gl...@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 :-)


 --
 Glynn Clements gl...@gclements.plus.com

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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

2014-10-31 Thread Glynn Clements

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 gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2014-10-30 Thread Moritz Lennert

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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2014-10-30 Thread Markus Neteler
On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert
mlenn...@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? :)

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2014-10-30 Thread Moritz Lennert

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

On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert
mlenn...@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? :)


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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2014-10-30 Thread Markus Neteler
On Thu, Oct 30, 2014 at 11:03 AM, Moritz Lennert
mlenn...@club.worldonline.be wrote:
 On 30/10/14 10:52, Markus Neteler wrote:

 On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert
 mlenn...@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? :)

 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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2014-10-30 Thread Vaclav Petras
On Thu, Oct 30, 2014 at 7:08 AM, Markus Neteler nete...@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.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user