Hi Ozkan, I’m replying on the user list so the answer may benefit other people. (and there is no private stuff in your reply)
As stated before, I suggest to inspect the file: <image dir>/<imagename>/etc/autoinstallscript.conf onb the server This xml file describes the original disk partitioning. From this file, the main install script has been generated. This mail install script will try to create the partitions using fdisk or parted. Those commands are not very respectfull of exact requested size (if you request a 4 blocks partition, fdisk will create a 5 blocks partition for example). As your backup did store the size in floating MB rounded, it is possible that you miss space by one or two blocks (if you’re using the same disk). Please: 1/ inspect you install script (the partition creation section) 2/ Check where it fails (the partitioning command that fails) 3/ Try to put 100% or 0 instead of size for this command to tell to use all the space left. If it misses one or two block it’s not impacting for the restoration process. Also make sure that the disk you’re trying to restore is at least the same size or bigger than the disk you did backup. Another solution could be to setup a centos-7 server, move the centos-5 backup there and try to restore the centos-5 system using a centos-7 initrd imager (with the si.post-action=reboot). The only problem is that I’m not sure about boot loader setup (may work as grub1 is supported) and all virtual filesystem (/dev, /proc, …). You may need to write some post-install scripts to update the fstab with those. Best regards, Olivier. De : ozkan oksuz <o.ok...@yahoo.com.tr> Date : jeudi 21 mars 2019 à 12:52 À : LAHAYE Olivier <olivier.lah...@cea.fr> Objet : Re: [sisuite-users] SystemImager on LVM Hi Olivier Thank you very much for the information you provide. We have no choice but to work with Rhel 5. With systemimager we got backups over the network. When we wanted to restore it again, there was a problem due to LVM. We've got a backup again, but we haven't restored it yet. Best Regards. 14 Mart 2019 Perşembe 18:39:31 GMT+3 tarihinde, LAHAYE Olivier <olivier.lah...@cea.fr>şunu yazdı: Hi Ozkan, RHEL-5 is a so old distro that is even not supported by redhat if I’m correct. So I’m not sure I can help you on that point. What are you trying to do when you speak of “backup”? Do you mean imaging an lvm system with an image created with si_getimage? There is a brand new beta version that work on all dracut based systems starting from rhel-6 (thus rhel-7, suse-42.3 and upcoming, fedora-27+, and soon Debian 8 and 9 (works but package is incomplete). Unfortunately, it can’t build on rhel-5 that lack dracut package. Seeing the error you provide, I would suggest to inspect <image dir>/<imagename>/etc/autoinstallscript.conf (to check the disk structure) and compare that with the matching autoinstall script that would create the lvm volumes. Cheers, Olivier. De : ozkan oksuz via sisuite-users <sisuite-users@lists.sourceforge.net> Répondre à : "sisuite-users@lists.sourceforge.net" <sisuite-users@lists.sourceforge.net> Date : jeudi 14 mars 2019 à 07:26 À : "sisuite-users@lists.sourceforge.net" <sisuite-users@lists.sourceforge.net> Cc : ozkan oksuz <o.ok...@yahoo.com.tr> Objet : [sisuite-users] SystemImager on LVM Hello. I became a new member of the group. I'm using Rhel 5.8 server edition. LVM structure. Can I get a backup of the system with systemimager 4.0.2. Other computers that are not lvm have been backed up. We can restore backup, but when installing, give the following error ( Error : The location 250057.95 is outside of the device /dev/sda ). Thanks for everyting. Regard.
_______________________________________________ sisuite-users mailing list sisuite-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-users