LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Backup/Restore - LVM, RAID (https://www.linuxquestions.org/questions/linux-general-1/backup-restore-lvm-raid-436738/)

keith ralph 04-19-2006 08:31 AM

Backup/Restore - LVM, RAID
 
Hi
I am fairly new to Linux and am trying to establish a backup/restore policy for an enterprise level system running RHEL4.2 on an IBM HS20 bladeserver with no internal discs and SAN connectivity.

My current configuration is as follows

4*25GB luns on 2 paths

/dev/sda/b/c/d (a/b on 1 path - c/d on teh other)

I have setup raid1 arrays on sda/c and sdb/d

/boot is ext3 and / /swap /data are all LVM on raid devices.

We use veritas Nebackup to take full system backups and I need to work out how we would do a full system restore.

My initial thoughts were to either kickstart or fresh install recreating the above configuration on the disks.
Split the mirrors and recover from netbackup to one side of the mirror then somehow resync the restored data .
However that as far as I've got. What would be the implications for LVM (UUIDs etc). How would I mount the broken side of teh mirror so I could restore thecomplete OS. Should I be using some other tool like tar or dd to backup the OS and use Netbackup for teh apps data.
Any help much appreciated as I am a bit stuck . Please see below for the configuration info.Thanks
-----------------------------

Disk /dev/sda: 26.2 GB, 26214727680 bytes
255 heads, 63 sectors/track, 3187 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 3187 25495155 fd Linux raid autodetect

Disk /dev/sdb: 26.2 GB, 26214727680 bytes
64 heads, 32 sectors/track, 25000 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 25000 25599984 fd Linux raid autodetect

Disk /dev/sdc: 26.2 GB, 26214727680 bytes
255 heads, 63 sectors/track, 3187 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 13 104391 fd Linux raid autodetect
/dev/sdc2 14 3187 25495155 fd Linux raid autodetect
Disk /dev/sdd: 26.2 GB, 26214727680 bytes
64 heads, 32 sectors/track, 25000 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 1 25000 25599984 fd Linux raid autodetect

Disk /dev/md0: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md2: 26.2 GB, 26214268928 bytes
2 heads, 4 sectors/track, 6399968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md1: 26.1 GB, 26106920960 bytes
2 heads, 4 sectors/track, 6373760 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md1 doesn't contain a valid partition table



ARRAY /dev/md1 level=raid1 num-devices=2 UUID=67cc0528:92117532:ee10f17e:80c60286
devices=/dev/sda2,/dev/sdc2
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=aedd478c:fae45db1:4f11e25e:d550af75
devices=/dev/sdb1,/dev/sdd1
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=0e4834ef:ee91c70a:ac08b4d8:baa2c87e
devices=/dev/sda1,/dev/sdc1


Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup01-LogVol01
24G 2.9G 20G 13% /
/dev/md0 104M 14M 86M 14% /boot
none 2.2G 0 2.2G 0% /dev/shm
/dev/mapper/VolGroup02-LogVol01
26G 5.8G 19G 24% /data


Thanks


All times are GMT -5. The time now is 07:01 AM.