Re: [OSM-talk] osm2pgsql import failed, no more space on device

2013-09-07 Thread Frederik Ramm
Hi,

On 09/07/2013 08:48 AM, Torsten Mohr wrote:
> I think --flat-nodes needs a parameter, but i'm not sure what to give there. 

A file name.

> I can't imagine that 480 Gb is not enough, can anybody tell me what went 
> wrong?

Are you *sure* that your PostgreSQL table space is actually on the 480
GB disk? Have you monitored disk usage during the import?

Bye
Frederik


-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] osm2pgsql import failed, no more space on device

2013-09-06 Thread Torsten Mohr
Hello,

i have set up PostgresQL on a 480 Gb SSD, so there should be heaps of space 
for the database and the import.

The commented log of the import is at the end of this mail.

The import was running for less than a day and stopped sometime in the night.

I think --flat-nodes needs a parameter, but i'm not sure what to give there.  
But also, in another mail it was said it saves ~ 20Gb.


I can't imagine that 480 Gb is not enough, can anybody tell me what went 
wrong?

I think the import stopped quite early, maybe this is a hint on what went 
wrong?

I don't know how to further analyse the problem, maybe somebody has a hint?
 

Thanks for any hints
Torsten


postgres@schleim:/local/ftp/osm3> osm2pgsql -c -d postgis --flat-nodes 
planet-130904.osm.bz2
osm2pgsql SVN version 0.83.0 (64bit id space)

Usage error. For further information see:
osm2pgsql -h|--help

=> --flat-nodes does not seem available though it is mentioned
in the examples of osm2pgsql -h

postgres@schleim:/local/ftp/osm3> osm2pgsql -c -d postgis -s 
planet-130904.osm.bz2
osm2pgsql SVN version 0.83.0 (64bit id space)

Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
HINWEIS:  Tabelle »planet_osm_point« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_point_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_line
HINWEIS:  Tabelle »planet_osm_line« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_line_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_polygon
HINWEIS:  Tabelle »planet_osm_polygon« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_polygon_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_roads
HINWEIS:  Tabelle »planet_osm_roads« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_roads_tmp« existiert nicht, wird übersprungen
Using built-in tag processing pipeline
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=800MB, maxblocks=102401*8192, allocation method=11
Mid: pgsql, scale=100 cache=800
Setting up table: planet_osm_nodes
HINWEIS:  Tabelle »planet_osm_nodes« existiert nicht, wird übersprungen
HINWEIS:  CREATE TABLE / PRIMARY KEY erstellt implizit einen Index 
»planet_osm_nodes_pkey« für Tabelle »planet_osm_nodes«
Setting up table: planet_osm_ways
HINWEIS:  Tabelle »planet_osm_ways« existiert nicht, wird übersprungen
HINWEIS:  CREATE TABLE / PRIMARY KEY erstellt implizit einen Index 
»planet_osm_ways_pkey« für Tabelle »planet_osm_ways«
Setting up table: planet_osm_rels
HINWEIS:  Tabelle »planet_osm_rels« existiert nicht, wird übersprungen
HINWEIS:  CREATE TABLE / PRIMARY KEY erstellt implizit einen Index 
»planet_osm_rels_pkey« für Tabelle »planet_osm_rels«

Reading in file: planet-130904.osm.bz2
Processing: Node(2013050k 165.2k/s) Way(0k 0.00k/s) Relation(0 0.00/s)COPY_END 
for COPY planet_osm_nodes FROM STDIN;
 failed: FEHLER:  konnte Datei »base/16384/19767.5« nicht erweitern: Auf dem 
Gerät ist kein Speicherplatz mehr verfügbar
HINT:  Prüfen Sie den freien Festplattenplatz.
CONTEXT:  COPY planet_osm_nodes, Zeile 123372446: »166865452465558107   
-931871821  \N«

Error occurred, cleaning up
postgres@schleim:/local/ftp/osm3> 


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk