source: trunk/mindi/README.ia64 @ 84

Last change on this file since 84 was 30, checked in by bcornec, 15 years ago

Id property added on files to allow for better conf. management

  • Property svn:keywords set to Id
File size: 2.0 KB
1README for mondo/mindi usage on ia64
3Linux distributions on ia64 uses a different file table format than on i386, called GPT instead of MBR. The fdisk command used by mindi/mondo to determine all aspects related to the disc hasn't been adapted yet to handle GPT. Only the parted command is able to do it.
5So I've written a perl script called that will take as input all the order that mindi/mondo pass to fdisk, translate them to be given to parted and print the result in fdisk format. So this is a filter allowing fdisk replacement.
7To use it on the system to backup, please do the following as root:
9mv /sbin/fdisk /usr/local/bin/fdisk
10ln -sf /usr/share/mindi/ /sbin/fdisk
11Verify that /usr/local/bin is in your path or add it.
13The mindi.rpm package will do that automatically for you.
15Thus mindi/mondo launched by root will smoothly pass all their call to instead of the real fdisk, and be able to support the GPT format.
16The existing fdisk command on your system needs to remain accessible in your path as uses it.
18To get it on the system to restore, please do the following as root:
20make -f Makefile.parted2fdisk
21make -f Makefile.parted2fdisk install
22mv rootfs/sbin/parted2fdisk-ia64 rootfs/sbin/parted2fdisk
24This will produce a binary version that will be used by mondorestore during the restoration process on ia64 to handle the GPT format. (Note that on ia32 parte2fdisk is in fact a link to fdisk to avoid any compatibility issue)
25So in the restoration environment on ia64, /sbin/fdisk is in fact the result of the compilation of parted2fdisk, and the real ia64 fdisk is placed under /usr/local/bin (result of the previous setup on the machine to backup)
27Again the mindi.rpm package will do that automatically for you.
29Note that supports currently only the -l and -s options as well as the commands p,n,d,w,t,a,q
31Please report any problem around that tool to
342005-03-23 Explain compilation and backup/restore split
352004-09-16 Initial file
Note: See TracBrowser for help on using the repository browser.