LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2011, 11:55 PM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 14.2, SARPI, arch
Posts: 348

Rep: Reputation: 32
md devices have odd names


I have some raid devices named md127 and md126 when I created them as md2 and md3 or so. Why does it do that? It works fine, it's just irritating because then I have to go and redo fstab, etc.

Last edited by hedron; 08-10-2011 at 09:35 PM.
 
Old 08-11-2011, 08:53 PM   #2
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 14.2, SARPI, arch
Posts: 348

Original Poster
Rep: Reputation: 32
How am I supposed to write my fstab if they keep changing?
 
Old 08-11-2011, 10:51 PM   #3
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 14.2, SARPI, arch
Posts: 348

Original Poster
Rep: Reputation: 32
I guess they got rid of preferred minor variable in metadata 1.2. I don't understand this because I could just imagine the headaches this would cause in large setups. I'm reading there is no way to go from 1.2 back to 0.90. Ugh!

I guess the only solution I can think of, is to copy my data over to another hard drive. Then recreate the array using --metadata=0.90 option and then reformat the drive. I just wish there was an easier way.

Last edited by hedron; 08-11-2011 at 10:58 PM.
 
Old 08-14-2011, 12:54 AM   #4
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 14.2, SARPI, arch
Posts: 348

Original Poster
Rep: Reputation: 32
OK, I set this in mdadm.conf:

Code:
HOMEHOST <uname -n>
...or so...

And it mounts the correct name properly. Although, I did do something like this:

Code:
mdadm /dev/md3 --hostname=<uname -n>:3 /dev/sda1 /dev/sdb1
...or so... before that. I think. I'm a little drunky that's why I'm not exactly sure what I did. lol ...

At least, for now anyway...

Last edited by hedron; 08-14-2011 at 12:56 AM.
 
  


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
environment variable names containing odd characters dgwsoft Linux - Software 5 03-28-2010 01:49 PM
gnu tar creates multiple odd directories with numeric names when extracting froff Linux - Software 2 02-05-2010 09:12 AM
LXer: Persistent names for devices LXer Syndicated Linux News 0 04-19-2008 06:51 AM
Question about floppy devices names tongzhi Solaris / OpenSolaris 1 05-25-2004 11:21 AM
names of all block devices, web links if possible. oldstinkyfish Linux - Hardware 0 11-11-2003 09:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 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