Topic: Resizing of XFS partitions???(& bare-metal-restore) [SOLVED->feedback]
Hello everybody
I am a n(.)(.)b with Linux...I have built an AMD64 system, running 64bit openSUSE 10.1 to use a CFD package, openFOAM, (and remember my old UNIX days almost 15 years back, on SGI Indigos...). Having set-up the system, I considered it to be a good idea to take a backup image of the hard disk in order to be able to do a bare-metal-restore in case something going wrong. In this area I had experience only with Norton Ghost in Windows and taking into account Ghost does not support XFS (my file system of choice...), I had to find another solution.
I am using an 80GB HD with:
a) an ~20GB system partition (XFS)
b) an ~50GB user partition (XFS)
c) the usual swap
I discovered Clonezilla LiveCD that supported XFS and seemed to facilitate inexperienced users by providing a GUI. I used it to take a backup of the entire hard disk (everything: both partitions and MBR
info...) on an external USB2.0 hard disk. The image (with compression...) fits nicely on a single DVD5. My main question after that was how to proceed in case a bare-metal-restore was necessary with the critical detail being what should be the proper procedure if the new target disk was of different (bigger) size. After some discussions with Steven Shiau from the Clonezilla team, he suggested the easiest route was to do a total restore using Clonezilla and then use GParted to resize the partitions as necessary by the new disk size.
If it is not too much to ask, I would like to ask for advice on this. My main questions are:
1. Can I use GParted LiveCD to resize the partitions on an XFS set-up disk (keeping the data intact...)
2. If it is possible, are there any specifics or distinct options I must be careful with in order to proceed??
3. If during the restore or resizing procedure the GRUB installation is damaged, is there an easy way to repair it (and how???)????
Many Thanks in advance
Best Regards
JR