LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2007, 05:52 PM   #1
1qaz
LQ Newbie
 
Registered: May 2006
Location: Virginia
Posts: 8

Rep: Reputation: 0
Will raid under rhel3 have to be recreated under rhel4


A RHEL3 machine (containing this RAID) won't get changed physically, but the workstation will be wiped out by reloading it with RHEL4. Planning question: Although RAID disks won't be touched by the reload(different disk for boot device, etc), will the RAID have to be recreated then data restored under RHEL4. Do I just have to migrate this file?

Prior to system reload, everthing will be fully backed up as a precaution.

# cat /etc/raidtab
raiddev /dev/md0
raid-level 0
nr-raid-disks 4
persistent-superblock 1
chunk-size 64
#
# when formatting, use the following rules
# for ext3, use -R stride=chunk-size/block-size
# so, for 64k chunk-size and 4k block, stride=16
# mke2fs -j -b 4096 -R stride=16 /dev/md0
#
#
device /dev/sdb1
raid-disk 0
#
device /dev/sdc1
raid-disk 1
#
device /dev/sdd1
raid-disk 2
#
device /dev/sde1
raid-disk 3
#
Thanks in advance...
 
Old 12-11-2007, 12:23 PM   #2
complich8
Member
 
Registered: Oct 2007
Distribution: rhel, fedora, gentoo, ubuntu, freebsd
Posts: 104

Rep: Reputation: 16
Assuming it's mdadm with normal superblocks and your raid is healthy, there's no reason that you'd need to recreate it.

Similarly, if you have your raidtab, you should be able to drop it in and mdadm should just kinda magically see the raid and assemble it.

If it doesn't (ie: if the different kernel version labels the disks differently for some inexplicable reason or something bad happens), you should probably familiarize yourself with the "assemble" mode of mdadm by reading mdadm's man page.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how t use compat libs to run rhel3 binaries on rhel4 wastingtime Linux - Enterprise 0 05-16-2007 01:12 AM
RHCE exam: RHEL4 vs. RHEL3 RHELL Linux - Certification 3 04-23-2007 08:25 AM
RHEL3 vs RHEL4 Shaka999 Red Hat 0 11-03-2006 11:17 AM
urgent..upgrade from RHEL3 to RHEL4 kumarnine Linux - Enterprise 1 10-30-2006 09:12 AM
RHEL4 much different then RHEL3? ltam Red Hat 3 05-02-2006 05:22 AM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration