[GRASS-user] GRASS Database doesn't copy correctly

Hello there,

Has anybody already had troubles copying the GRASS database to a server? I’ve just got the standard folder that GRASS uses to store its locations, mapsets and data, etc., and all I want to do is copy it over to a server that I have access to by copying the folder they’re contained in (in this case it’s called GRASS_Data). I’ve had problems with this before that not all of the data copies correctly and I just can’t explain it. On my local hard drive the database has 120 GB and as soon as I copy it over to the server it’s only got 74 GB. Other file operations work without problems, even when copying large amounts of data. This is the third attempt to copy the stuff; any clue why this is happening? Thanks!

Daniel

B.Sc. Daniel Lee

Geschäftsführung für Forschung und Entwicklung

ISIS - International Solar Information Solutions

Deutschhausstr. 10

35037 Marburg

Festnetz: +49 6421 379 6256

Mobil: +49 176 6127 7269

E-Mail: Lee@isi-solutions.org

Web: http://www.isi-solutions.org

On Thu, Jul 21, 2011 at 11:56 AM, Daniel Lee <lee@isi-solutions.org> wrote:

Hello there,

Has anybody already had troubles copying the GRASS database to a server? I’ve just got the standard folder that GRASS uses to store its locations, mapsets and data, etc., and all I want to do is copy it over to a server that I have access to by copying the folder they’re contained in (in this case it’s called GRASS_Data). I’ve had problems with this before that not all of the data copies correctly and I just can’t explain it. On my local hard drive the database has 120 GB and as soon as I copy it over to the server it’s only got 74 GB. Other file operations work without problems, even when copying large amounts of data. This is the third attempt to copy the stuff; any clue why this is happening? Thanks!

OS desktop and server? permission issues? Are hidden files copied? is the server hdd full? File system on desktop and server? If the desktop allows files >4GB, does the server as well? How did you copy?

What about archiving on desktop, and extracting archive on server?

Questions over questions.

Cheers,

Rainer

Daniel

B.Sc. Daniel Lee

Geschäftsführung für Forschung und Entwicklung

ISIS - International Solar Information Solutions

Deutschhausstr. 10

35037 Marburg

Festnetz: +49 6421 379 6256

Mobil: +49 176 6127 7269

E-Mail: Lee@isi-solutions.org

Web: http://www.isi-solutions.org


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


Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax (F): +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: Rainer@krugs.de

Skype: RMkrug

I tried compressing it and moving the compressed file to the server, that worked. I’d never heard of rsync before - that sounds like an elegant solution, I’ll try that one. Otherwise I at least have the tarball version on the server now. Thanks!

On Thu, Jul 21, 2011 at 12:30 PM, Rainer M Krug <r.m.krug@gmail.com> wrote:

On Thu, Jul 21, 2011 at 12:12 PM, <Lee@isi-solutions.org> wrote:

OS desktop and server? permission issues? Are hidden files copied? is the server hdd full? File system on desktop and server? If the desktop allows files >4GB, does the server as well? How did you copy?

What about archiving on desktop, and extracting archive on server?

Questions over questions.

Good question questions :wink:

OS desktop is OpenSUSE 11.4, permission issues might have been the problem but I made sure by trying to copy them this time as root (this computer recognizes the folder as belonging to root, for whatever reason, so theoretically I would have had issues, although I never do with the other computers). Hidden files should be copied - I did a drag and drop operation with the file manager and that should copy hidden files contained in the copied folders (at least that’s the way it works when I test it out on my desktop, but since the command behind the copying is probably cp it should work the same when I copy it to a server). Server HDD still has lots of room, more than a TB. File system is on the desktop is Ext4, I can’t find any documentation on the NAS server but it’s a Black Armor from Seagate and I assume it’s NTFS internally. I use CIFS to talk to it. It’s definitely got files on it that are > 4 GB.

Archiving on the desktop and moving the archive to the server is a good idea, I’ll try it out and report back :slight_smile:

Or you could try rsync - usually the best for these kind of things.


Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax (F): +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: Rainer@krugs.de

Skype: RMkrug

B.Sc. Daniel Lee

Geschäftsführung für Forschung und Entwicklung

ISIS - International Solar Information Solutions

Deutschhausstr. 10

35037 Marburg

Festnetz: +49 6421 379 6256

Mobil: +49 176 6127 7269

E-Mail: Lee@isi-solutions.org

Web: http://www.isi-solutions.org

On Sat, Jul 23, 2011 at 12:09 AM, Daniel Lee <lee@isi-solutions.org> wrote:

I tried compressing it and moving the compressed file to the server, that worked.

Great.

I’d never heard of rsync before - that sounds like an elegant solution, I’ll try that one.

Absolutely - especially, if you copy the data regularly. But even for a single copy of a larger amount of data, rsync is quite useful.

Otherwise I at least have the tarball version on the server now.

True - that’s always useful.

Thanks!

Pleasure,

Cheers,

Rainer

On Thu, Jul 21, 2011 at 12:30 PM, Rainer M Krug <r.m.krug@gmail.com> wrote:

On Thu, Jul 21, 2011 at 12:12 PM, <Lee@isi-solutions.org> wrote:

OS desktop and server? permission issues? Are hidden files copied? is the server hdd full? File system on desktop and server? If the desktop allows files >4GB, does the server as well? How did you copy?

What about archiving on desktop, and extracting archive on server?

Questions over questions.

Good question questions :wink:

OS desktop is OpenSUSE 11.4, permission issues might have been the problem but I made sure by trying to copy them this time as root (this computer recognizes the folder as belonging to root, for whatever reason, so theoretically I would have had issues, although I never do with the other computers). Hidden files should be copied - I did a drag and drop operation with the file manager and that should copy hidden files contained in the copied folders (at least that’s the way it works when I test it out on my desktop, but since the command behind the copying is probably cp it should work the same when I copy it to a server). Server HDD still has lots of room, more than a TB. File system is on the desktop is Ext4, I can’t find any documentation on the NAS server but it’s a Black Armor from Seagate and I assume it’s NTFS internally. I use CIFS to talk to it. It’s definitely got files on it that are > 4 GB.

Archiving on the desktop and moving the archive to the server is a good idea, I’ll try it out and report back :slight_smile:

Or you could try rsync - usually the best for these kind of things.


Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax (F): +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: Rainer@krugs.de

Skype: RMkrug

B.Sc. Daniel Lee

Geschäftsführung für Forschung und Entwicklung

ISIS - International Solar Information Solutions

Deutschhausstr. 10

35037 Marburg

Festnetz: +49 6421 379 6256

Mobil: +49 176 6127 7269

E-Mail: Lee@isi-solutions.org

Web: http://www.isi-solutions.org


Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax (F): +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: Rainer@krugs.de

Skype: RMkrug