LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-19-2006, 08:31 AM   #1
keith ralph
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advisability of using LVM on backup HDD's? haertig Linux - Software 0 12-28-2005 08:43 PM
ext2 ext3 lvm restore Shade00 Linux - Hardware 0 10-20-2005 02:58 PM
Linux Raid system backup and restore ron4linux Red Hat 1 08-29-2003 12:57 PM
RH 7.3 Backup and Restore MrJoshua Linux - General 1 06-18-2003 11:39 AM
Help with backup on an lvm system wlfdgcrkz Linux - Software 1 05-09-2003 11:38 PM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration