LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-13-2011, 11:32 AM   #1
10knots
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
mdadm drive enumeration/nameing troubles


Hi!

I would really appreciate any hint how to tackle the following

I recently installed a new ubuntu server on a blank sata disk, previously it was running on an ide disk in the same machine.
In this machine sits a 4 disk raid5 array.
I now wish to activate this array in the new installation.
Unfortunately the drive names changed. So, I changed mdadm.conf accordingly.
However, it doesnt work:
When I examine the drives, it reports sda1,sdb1,sdd1,sdf1 having valid superblocks, but IN the superblock the array is described as sdc1,sdd1,sde1,sdf1

When I first booted the new installation, the info in the superblocks corresponded with the drive naming(cdef) and also managed to assemble and mount manually.

So two questions:
- where is the drive naming configured (is this done by grub2 ?) The only info i found was regarding grub, but device.map seems to be gone.
- how to get the naming consistent with the superblock info?

Many thanks in advance for any hint!

best regards,
knots
 
Old 09-13-2011, 02:12 PM   #2
10knots
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hm.

For whatever reason another examine on /dev/sd* brought up the old config sda1-sdd1, I put it into /etc/mdadm.conf, rebooted and it worked ...

So, I want to use this space for forum praises> This forum rocks!

best regards,
knots
 
Old 10-25-2011, 07:28 PM   #3
azzzaboy
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
hi, i am not so good in linux, i know the basics. I have a problem with our centos 2.6 server RAID 5, the previous administrator cannot be located after he resigned. We dont have the password for root, and the GRUB password. How can we reset the root password?
 
Old 10-26-2011, 02:19 AM   #4
10knots
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
While this has almost no relation to my post, I can tell you what I did in a similar situation: Boot Linux from a CD or USBStick, mount the systemdrive and remove the password file. Upon next boot from the original systemdrive, it should ask for a new root pw.

I did this several years ago and linux system security policies might have changed significantly in the meantime. I strongly recommend a websearch before trying this!!
 
  


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
mdadm cannot remove failed drive, drive name changed. touser Linux - Newbie 4 08-26-2012 06:39 PM
mdadm troubles bbking Linux - Software 1 12-05-2010 04:13 AM
Nameing of core dump Linux_Kid_ Linux - General 3 06-03-2009 02:37 AM
Linux USB Enumeration Vs Windows USB Enumeration rajasekarpadmanaban Linux - Software 1 05-02-2007 03:36 AM
variable at 0x0000 possibly nameing error? Four Programming 7 02-18-2006 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:45 PM.

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