Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mondorescue - uparcie chce odtwarzać z CD zamiast NFS

71 views
Skip to first unread message

jj

unread,
May 2, 2013, 4:24:57 PM5/2/13
to
Robię backup na NFS, wykonuje się prawidłowo, na zasobie nfs powstają pliki ISO. Backup robię jak każe dokumentacja:
mount linuxnfs:/nfs -t nfs /mnt/nfs
mondoarchive -OVn linuxnfs:/nfs -I "/"
umount /mnt/nfs

Następnie nagrywam na pendrive /var/cache/mindi/mondorescue.iso, bootuję z niego i mam błąd:
/dev/loop0 on /mnt/cdrom type iso9660 (ro)
Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': No such file or directory
I don't know where the CDROM lives. Optimization cancelled.
Executing preliminary script
The mondorestore command was not found on your backup media
It may mean your device is not seen correctly.
Check driver list and error messages.
Type 'exit' to reboot the PC
sh-3.2#

Pytanie: dlaczego w ogóle próbuje sięgać do CD-ROM, skoro backup był wykonany na NFS?

Co ciekawe zasób nfs się montuje - widzę go i widzę pliki z backupem:
sh-3.2# df
Filesystem 1K-blocks Used Available Use% Mounted on
none 5120 128 4992 3% /dev
none 61454545 0 5656565 0% /dev/shm
/dev/shm 5656565 64 787878 1% /tmp
1.2.3.4:/nfs 5656576567 4545454 45454545 7% /tmp/isodir

Dokumentacja wyraźnie mówi:
6.2.5. Standard Example With Network Backup

bash# mount nfs://192.168.1.3:/home/nfs -t nfs /mnt/nfs
bash# mondoarchive -OVn nfs://192.168.1.3:/home/nfs -g -s 200m
bash# umount /mnt/nfs

The resultant ISO's can be burned to CD's if you want (which isn't a good idea unless you're a Mondo expert because they'll try to restore over a network by default, which is silly because the archives are on the CD's). Or, you can boot from the Mindi media (or mondorescue.iso) and hit ENTER a few times to restore.

Wersja mondo/mindi:
mondo-3.0.3-1.rhel5
mindi-2.1.4-1.rhel5
mindi-busybox-1.18.5-3.rhel5

Wersja OS:
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Linux daml-testold 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


Dzięki za ew. sugestie
0 new messages