also sprach Erik van Konijnenburg [EMAIL PROTECTED] [2005.05.21.2310 +0200]:
The reworked patch is in wishlist #310126,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310126
You rock! Thanks a lot for your help!
--
.''`. martin f. krafft [EMAIL PROTECTED]
: :' :proud Debian
Marco, I CC'd you on this because it's about your proposed solution
to #294404, which works very well. However, Erik has pointed out
a potential problem.
Based on your suggestion, mdadm now does the following in
S25mdadm-raid:
if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then
On Sat, May 21, 2005 at 07:17:21PM +0200, Erik van Konijnenburg wrote:
On Sat, May 21, 2005 at 05:35:48PM +0200, martin f krafft wrote:
- echo Starting raid devices:
+ if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then
+echo -n Creating raid device nodes:
Let's move further discussion about mdadm --auto to #310126, please.
Steve, could you bounce your message there too, please?
--
.''`. martin f. krafft [EMAIL PROTECTED]
: :' :proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than
On Sun, May 22, 2005 at 02:58:04AM -0700, Steve Langasek wrote:
On Sat, May 21, 2005 at 07:17:21PM +0200, Erik van Konijnenburg wrote:
Mdadm is of course perfectly capable of creating it's own /dev/md0,
provided auto=md is given for the relevant device in /etc/mdadm/mdadm.conf.
Which
On May 22, martin f krafft [EMAIL PROTECTED] wrote:
Erik said that if initrd brings up /dev/md0, partitions from other
software RAID devices (e.g. /dev/md7) cannot be brought up since the
above code skips the MAKEDEV call in the case of presence of
/dev/md0.
I do not know how the initrd work,
On Sun, May 22, 2005 at 12:06:27PM +0200, Marco d'Itri wrote:
On May 22, martin f krafft [EMAIL PROTECTED] wrote:
Erik said that if initrd brings up /dev/md0, partitions from other
software RAID devices (e.g. /dev/md7) cannot be brought up since the
above code skips the MAKEDEV call in
On May 22, Erik van Konijnenburg [EMAIL PROTECTED] wrote:
If you have to pick just one device, use /dev/md15. That's generated by
MAKEDEV
but not terribly likely to be in use.
The idea was that MAKEDEV should not be called if all needed devices
have already been created by udev. OTOH now we
Thanks to Marco d'Itri's followup to #294404, I have implemented
a fix to the problem that mdadm and udev don't like each other. It
is a slighly modified version from Marco's suggestion. Patch
attached.
The idea is that mdadm checks whether /dev/md0 or /dev/md/0 is
present and if not, that it
also sprach martin f krafft [EMAIL PROTECTED] [2005.05.21.1612 +0200]:
Patch attached.
There must be a cure for this crap. Now they are attached.
--
.''`. martin f. krafft [EMAIL PROTECTED]
: :' :proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have
also sprach Erik van Konijnenburg [EMAIL PROTECTED] [2005.05.21.1917 +0200]:
- echo Starting raid devices:
+ if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then
+echo -n Creating raid device nodes:
+cd /dev WRITE_ON_UDEV=1 ./MAKEDEV md
+
On Sat, May 21, 2005 at 05:35:48PM +0200, martin f krafft wrote:
- echo Starting raid devices:
+ if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then
+echo -n Creating raid device nodes:
+cd /dev WRITE_ON_UDEV=1 ./MAKEDEV md
+echo done.
+
On Sat, May 21, 2005 at 07:29:55PM +0200, martin f krafft wrote:
also sprach Erik van Konijnenburg [EMAIL PROTECTED] [2005.05.21.1917 +0200]:
- echo Starting raid devices:
+ if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then
+echo -n Creating raid device
(taking unrelated bugs out of the loop.)
also sprach Erik van Konijnenburg [EMAIL PROTECTED] [2005.05.21.1957 +0200]:
* at S40 or so, you come along, see that /dev/md0 exists, and decide
not to do MAKEDEV
No, I come along at S25 and I do not give a flying food for whether
/dev/md0 exists or
On Sat, May 21, 2005 at 08:58:46PM +0200, martin f krafft wrote:
(taking unrelated bugs out of the loop.)
also sprach Erik van Konijnenburg [EMAIL PROTECTED] [2005.05.21.1957 +0200]:
* at S40 or so, you come along, see that /dev/md0 exists, and decide
not to do MAKEDEV
No, I come
also sprach Erik van Konijnenburg [EMAIL PROTECTED] [2005.05.21.2132 +0200]:
Quoting from the patch you mailed earlier today:
+ if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then
+echo -n Creating raid device nodes:
+cd /dev WRITE_ON_UDEV=1 ./MAKEDEV md
+
The reworked patch is in wishlist #310126,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310126
Regards,
Erik
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
17 matches
Mail list logo