FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-18-2008, 03:40 PM
"David Hláčik"
 
Default create raid /dev/md2

Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added 2 new disks, fdisked , created 2 primary partitions with type fd (linux raid autodetect)
Now i want to create raid from them
*
root@vmhost1 ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1 /dev/sdd1
mdadm: error opening /dev/md2: No such file or directory
*
will return that error, what shouldi do?

Thanks!
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-18-2008, 04:02 PM
"S.Tindall"
 
Default create raid /dev/md2

David Hlcik" wrote on Friday, April 18, 2008 11:40 AM:
Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added
2

new disks, fdisked , created 2 primary partitions with type fd (linux raid
autodetect)
Now i want to create raid from them

root@vmhost1 ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1
/dev/sdd1
mdadm: error opening /dev/md2: No such file or directory

will return that error, what shouldi do?


Not familiar with that error, but try specifying the number of devices:

# mdadm -C /dev/md2 -l1 -n2 /dev/sd[cd]1

Steve Tindall


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-18-2008, 04:10 PM
"S.Tindall"
 
Default create raid /dev/md2

David Hlcik" wrote on Friday, April 18, 2008 11:40 AM:
Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added
2
new disks, fdisked , created 2 primary partitions with type fd (linux
raid autodetect)

Now i want to create raid from them

root@vmhost1 ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1
/dev/sdd1
mdadm: error opening /dev/md2: No such file or directory

will return that error, what shouldi do?


Not familiar with that error, but try specifying the number of devices:

# mdadm -C /dev/md2 -l1 -n2 /dev/sd[cd]1

Steve Tindall


Forgot to ask, does /dev/md2 exists in /dev?

If not, you can still use makedev to generate it:

# cd /dev
# MAKEDEV md

Undocumented, but it still works.

Steve Tindall


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-18-2008, 04:35 PM
Toby Bluhm
 
Default create raid /dev/md2

S.Tindall wrote:

David Hlcik" wrote on Friday, April 18, 2008 11:40 AM:
Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have
added 2
new disks, fdisked , created 2 primary partitions with type fd
(linux raid autodetect)

Now i want to create raid from them

root@vmhost1 ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1
/dev/sdd1
mdadm: error opening /dev/md2: No such file or directory

will return that error, what shouldi do?


Not familiar with that error, but try specifying the number of devices:

# mdadm -C /dev/md2 -l1 -n2 /dev/sd[cd]1

Steve Tindall


Forgot to ask, does /dev/md2 exists in /dev?

If not, you can still use makedev to generate it:

# cd /dev
# MAKEDEV md

Undocumented, but it still works.



man mdadm

-a, --auto{=no,yes,md,mdp,part,p}{NN}

Instruct mdadm to create the device file if needed, possibly
allocating an unused minor number . . . . .



--
Toby Bluhm
Alltech Medical Systems America, Inc.
30825 Aurora Road Suite 100
Solon Ohio 44139
440-424-2240


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-18-2008, 04:35 PM
"David Hláčik"
 
Default create raid /dev/md2

I just figured out , mdadm --auto=yes , will autocreate /dev/md2 if does not exists.
*
Regards,
*
D.

On Fri, Apr 18, 2008 at 6:10 PM, S.Tindall <tindalls.gr9x@osccc.com> wrote:



David Hlácik" wrote on Friday, April 18, 2008 11:40 AM:

Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added 2
new disks, fdisked , created 2 primary partitions with type fd (linux raid autodetect)

Now i want to create raid from them

root@vmhost1 ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1
/dev/sdd1
mdadm: error opening /dev/md2: No such file or directory

will return that error, what shouldi do?


Not familiar with that error, but try specifying the number of devices:

# mdadm -C /dev/md2 -l1 -n2 /dev/sd[cd]1

Steve Tindall

Forgot to ask, does /dev/md2 exists in /dev?


If not, you can still use makedev to generate it:

# cd /dev
# MAKEDEV md

Undocumented, but it still works.




Steve Tindall
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org