Skip to contentSkip to conversation

partitions on software-raid

DISCUSSION Norman Schmidt 3 participants 3 messages Dec 16, 2003 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi!

Since noone has answered my last question yet:

Has anyone ever used partitions on a md device? It is possible to make them with fdisk, and fdisk shows their names as /dev/md0p1 (eg.). They are also shown in the partition table. But there are no /dev entries.

There are very few google hits, but no successful tries are documented.

Is this functionality implemented yet? I do not understand much C, so I gave up on understanding md.c in the kernel source tree. In the up-to-date list of major and minor numbers, there are no entries concerning partitions on md devices.

I think Neil Brown stated somewhere on this list that there could be up to 15 partitions for up to 16 md devices, but I don´t remember, couldn´t find it, and I don´t know wether he told how to make the devices or mount those partitions.

I am willing to test if this functionality exists, if not, I am forced to partition the underlying drives.

Thank you for the help, Norman Schmidt.

Signature · 10 lines
--

Norman Schmidt          Institut fuer Physikal. u. Theoret. Chemie
Dipl.-Chem.             Friedrich-Alexander-Universitaet
[email protected]         Erlangen-Nuernberg

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 1 line · Norman Schmidt

Is this functionality implemented yet? I do not understand much C, so I

No, the md driver does not support partitions.

Quoted 2 lines

I am willing to test if this functionality exists, if not, I am forced to partition the underlying drives.

With md, at least, that's your only option right now. You could maybe look into lvm to do (non-standard) partitioning...

--
Paul

#2 lore raw
In reply to Norman Schmidt
Quoted 5 lines · Norman Schmidt

Hi!

Since noone has answered my last question yet:

Has anyone ever used partitions on a md device? It is possible to make them with fdisk, and fdisk shows their names as /dev/md0p1 (eg.). They are also shown in the partition table. But there are no /dev entries.

I think it is possible, but it is nonstandard feature (Neil Brown maintains patches for 2.4)

Quoted 5 lines

There are very few google hits, but no successful tries are documented.

Is this functionality implemented yet? I do not understand much C, so I gave up on understanding md.c in the kernel source tree. In the up-to-date list of major and minor numbers, there are no entries concerning partitions on md devices.

I think Neil Brown stated somewhere on this list that there could be up to 15 partitions for up to 16 md devices, but I don´t remember, couldn´t find it, and I don´t know wether he told how to make the devices or mount those partitions.

see Neil's patches at
http://cgi.cse.unsw.edu.au/~neilb/patches/linux-stable/2.4.leading/2003-01-06:00/016MdPart
http://cgi.cse.unsw.edu.au/~neilb/patches/linux-stable/2.4.leading/2003-01-06:00/017MdpMajor

David Haring

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html