Hallo Bernd,
Am 4. Mai 2018 11:43:52 MESZ schrieb "Lentes, Bernd"
Hi,
ich habe von einem RAID5 (1,5 TB) per dd ein Image gemacht. Damit das kleiner wird habe ich es gleichzeitig per gzip komprimiert:
dd if=/dev/sda bs=1M| gzip > /media/sdc1/ha-idg-1.dd.gz
Das hat gut 8 Stunden gedauert, was auch grob zu den geschriebenen MB/sec passt. Der RAID ist größtenteils nicht belegt so daß ein nicht allzu großes gz zu erwarten war.
Wenn ich mir aber das gezippte Image per gzip -lv anschaue stimmt da ...
Die Datei ist komprimiert größer als unkomprimiert !?! Und was ist -30262,2% für eine Kompression ?
man gzip sagt:
-l --list For each compressed file, list the following fields:
compressed size: size of the compressed file uncompressed size: size of the uncompressed file ratio: compression ratio (0.0% if unknown) uncompressed_name: name of the uncompressed file
man gzip sagt aber auch ein paar Zeilen später: With --verbose, the size totals and compression ratio for all files is also displayed, unless some sizes are unknown. With --quiet, the title and totals lines are not displayed. The gzip format represents the input size modulo 2^32, so the uncompressed size and compression ratio are listed incorrectly for uncompressed files 4 GiB and larger. To work around this problem, you can use the following command to discover a large uncompressed file’s true size: Jedenfalls steht es so auf der gnu.org Seite. Vielleicht erklärt dass diesen Effekt? Gruß Martin -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org