[done] mdadm

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

[done] mdadm

Post by damNageHack »

Code: Select all

root[~]# mdadm -Es
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=3122811b:6c853b3a:b02c8dab:77ca0c55
root[~]# mdadm -As --config=partitions
[b]mdadm: No arrays found in config file[/b]
root[~]# mdadm -C /dev/md0 --assume-clean --level=1 --raid-devices=2 /dev/sdb /dev/sdc --homehost=archiv
mdadm: /dev/sdb appears to be part of a raid array:
    level=raid1 devices=2 ctime=Thu Dec 31 19:37:11 2009
mdadm: /dev/sdc appears to be part of a raid array:
    level=raid1 devices=2 ctime=Thu Dec 31 19:37:11 2009
Continue creating array? yes
mdadm: array /dev/md0 started.
Why? But ...

Code: Select all

root[~]# mdadm -As --homehost=archiv
mdadm: /dev/md/0 has been started with 2 drives.
I would like that mdadm finds the devices itself and assembles it by itself according to same homehost or uuid in each md superblock.
Last edited by damNageHack on 8. Jan 2010, 21:51, edited 1 time in total.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: mdadm

Post by damNageHack »

Nobody wants to help?

The point is that I have to provide the --homehost parameter for Assemble mode explicitly. But when I use the Examine mode, mdadm can find it by itself. Strange and confusing behaviour, isn't it?
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: mdadm

Post by JRD »

It's not that I don't want to help...I just don't have the skills, sorry.
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: mdadm

Post by Akuna »

JRD wrote:It's not that I don't want to help...I just don't have the skills, sorry.
My (and others ?) thoughts exactly! ;)
Image
What really matters is where you are going, not where you come from.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: mdadm

Post by damNageHack »

Akuna wrote:
JRD wrote:It's not that I don't want to help...I just don't have the skills, sorry.
My (and others ?) thoughts exactly! ;)
:lol: :lol: :roll:

No problem. Then I will try to get help from the mdadm developers, reasons why they did it this way (manpage says something, but not clear to me)
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
Post Reply