Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-29 Thread martin f krafft
also sprach Neil Brown <[EMAIL PROTECTED]> [2008.04.28.0857 +0200]: > I would like to make mdadm work equally well with both usages, and let > system-integrators make the decisions :-) > So anything I can do to make mdadm work more nicely for you I will > seriously consider. > > --use-dev-subdir

Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-28 Thread Neil Brown
I don't have much to add... On Tuesday April 22, [EMAIL PROTECTED] wrote: > Frans, all I know is documented in > http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob;f=debian/FAQ, > item 3. > > Anything else, Neil (on Cc) will have to explain... full mail > further down, with more inline comments

Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-22 Thread martin f krafft
also sprach Frans Pop <[EMAIL PROTECTED]> [2008.04.22.1843 +0200]: > I suspect that should have read /dev/md$MD_NUM. Of course. :) -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http:/

Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-22 Thread Frans Pop
On Tuesday 22 April 2008, martin f krafft wrote: > > What we do for new RAID devices is: > > mdadm --create /dev/md/$MD_NUM --auto=yes --force -R -l > spec> > > That's the problem. You should be able to change that to md/$MD_NUM > and then just use mdX everywhere without much trouble. I suspect

Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-22 Thread martin f krafft
also sprach Frans Pop <[EMAIL PROTECTED]> [2008.04.22.1820 +0200]: > What's responsible for creating them: udev or mdadm itself? mdadm. > We do. The superblock is version-0, but mdcfg does use /dev/md/X (and has > done since its original upload in 2004). > > What we do for new RAID devices is:

Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-22 Thread Frans Pop
On Tuesday 22 April 2008, martin f krafft wrote: > > Partman currently prefers the use of /dev/md/X and uses that when > > creating new RAID devices. This results in both /dev/md/X and /dev/mdX > > block device files being created. > > The latter should be symlinks. Hmm. They are not, at least not

Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-22 Thread Frans Pop
On Tuesday 22 April 2008, Frans Pop wrote: > Here are some of the inconsistencies I've noticed: > - /dev/mdX and /dev/md/X are created with different permissions Forgot to specify that. At least in D-I I see that /dev/mdX is owned by root:root, while /dev/md/X is owned by root:disk. signature.a

Re: Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-22 Thread martin f krafft
Frans, all I know is documented in http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob;f=debian/FAQ, item 3. Anything else, Neil (on Cc) will have to explain... full mail further down, with more inline comments from me. also sprach Frans Pop <[EMAIL PROTECTED]> [2008.04.22.1725 +0200]: > Hi Marti

Please explain status/background of /dev/mdX versus /dev/md/X

2008-04-22 Thread Frans Pop
(Please reply to debian-boot; reply-to set.) Hi Martin, Over the past few weeks I've solved several issues in D-I related to the use of /dev/mdX versus /dev/md/X and I've been wondering what the official status is of both as it seems there are at least some inconsistencies. Partman currently p