LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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: 83

Rep: Reputation: 7
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: 3,340

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
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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: 83

Original Poster
Rep: Reputation: 7
[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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:47 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
Open Source Consulting | Domain Registration