LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-08-2013, 01:25 PM   #1
the_zone
Member
 
Registered: Nov 2008
Distribution: Slackware
Posts: 38

Rep: Reputation: 0
move raid


I have an old server with 2 x 500G in sw raid1, slackware 12.1, on a promise PCI card and a new server with 2 x 1T SATA in sw raid1, slackware 14.
I have moved the disks and promise card from the old server to the new server.
Once booted the they took the place of the original raid array on the new server.

How can it be that the mdadm.conf can be used in combination with other disks ?

How can I take care that, while retaining the data, I have an additional raid array ?

grtz

ST

Last edited by the_zone; 03-08-2013 at 01:27 PM.
 
Old 03-08-2013, 04:47 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,999

Rep: Reputation: Disabled
Quote:
Originally Posted by the_zone View Post
Once booted the they took the place of the original raid array on the new server.
Do you mean that the server booted the old Slackware 12.1 installation on the array attached to the Promise controller? If so, that's a BIOS issue. Look for the Boot Order settings.
 
Old 03-08-2013, 05:31 PM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,165

Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
It depends on how the machine recognizes the disks. I assume your boot partition is RAIDED as well.

What I think that happens is that your Promise attached disks are recognized as sda/sdb. That is something you cannot control easily, it is taken care of by initramfs. No matter what you specify in udev or related tools. initramfs recognizes the disks, assembles the array and continue booting.

The old mdadm.conf is recognized by mdadm in initramfs and hence being assembled.

I assume your new disks are assembled as well and visible?

jlinkels
 
Old 03-12-2013, 07:47 AM   #4
the_zone
Member
 
Registered: Nov 2008
Distribution: Slackware
Posts: 38

Original Poster
Rep: Reputation: 0
[SOLVED] move raid

@Ser Olmy
Quote:
Do you me an that the server booted the old Slackware 12.1 installation on the array attached to the Promise controller? If so, that's a BIOS issue. Look for the Boot Order settings
The drives are not visible in the BIOS

@jlinkels
My new disks where note visible.

The old disks showed in the new server as "Linux Raid Autodetect" type while executing fdisk.
The new drives do not and have been detected as fs type 83.

I stopped all raid arrays and umounted them.
The I ran
> mdadm --assemble --scan

and used that output to create a new mdadm.conf

That seemed to work.
 
  


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
Software RAID 5--Possible to move to different distro? sailor420 Linux - Software 4 05-03-2010 05:37 PM
Is it possible to move a RAID set from one machine to another horde Linux - Server 3 02-17-2008 04:01 AM
Missing RAID volume(s) after server move/update pfizur Linux - Hardware 4 03-27-2007 03:05 PM
Move from ATA RAID to native RAID Nalfeshnee Linux - Hardware 1 02-16-2004 07:46 AM


All times are GMT -5. The time now is 08:40 AM.

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