Torej... ne vem niti kje zacet... k vse mi je slo do zdj narobe...
U glavnem...
Pr upgrejdu masine sm dal zram se en disk pa poskusu vzpostavit raid mirroring 
(da nebi bolelo). Ker pa kolkr vem je edini nacin za to zlo destruktivn za 
obstojece podatke na disku, sm se odlocu narest arhiv... 
- zmountal zunanji usb disk na /mnt/hd
- tar -cO /home | bzip2 -cv9 > /mnt/hd/home.tar.bz2
- arhiv se ene par ostalih reci, kot npr etc, www, mysql, ...
- reboot masine, montaza druzga diska, fdisk na obeh
- mdadm --create /dev/md0 -l1 -n2 /dev/hda1 /dev/hdc1
- install base sistema na /dev/md0
- recovery podatkov...

Tle pr zadnji tocki se pa mal zakomplicira vsa stvar...
Nekje vmes mi stream crkne
Program mi predlaga da poskusim z bzip2recover
Ven dobim en kup fajlov
rec00001.home.tar.bz2
...
rec00468.home.tar.bz2

s komando bzip2 -dc rec*home.tar.bz2 > /home.tar pa se ustavi pr enem fajlu, in 
sicer

[EMAIL PROTECTED]:/mnt/hd/fsck# bzip2 -dc rec*home.tar.bz2 > ../home.tar

bzip2: Data integrity error when decompressing.
        Input file = rec00537home.tar.bz2, output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bzip2: WARNING: some files have not been processed:
bzip2:    4468 specified on command line, 3931 not processed yet.

[EMAIL PROTECTED]:/# bunzip2 -tvv rec00537home.tar.bz2
  rec00537home.tar.bz2:
    [1: huff+mtf rt+rld]data integrity (CRC) error in data

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.


Torej.. problem je verjetno vec kot ociten.. a obstaja kaksen nacin, da dobim 
ven podatke? Ce ne bom dobil ven tist kar je v teh pol mega fajla sploh ni 
panike, gre se za to, da bi rad dobu ven vseh ostalih 90% home direktorija! Kaj 
mi je tle za narditi? NUJNO!!! CASTIM PIVO!


lp, rok.


_______________________________________________
lugos-list mailing list
lugos-list@lugos.si
http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list

Одговори путем е-поште