linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* partitions on software-raid
@ 2003-12-16 15:44 Norman Schmidt
  2003-12-16 16:02 ` Paul Clements
  2003-12-16 21:29 ` David Haring
  0 siblings, 2 replies; 3+ messages in thread
From: Norman Schmidt @ 2003-12-16 15:44 UTC (permalink / raw)
  To: linux-raid

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.

-- 
--

Norman Schmidt          Institut fuer Physikal. u. Theoret. Chemie
Dipl.-Chem.             Friedrich-Alexander-Universitaet
schmidt@naa.net         Erlangen-Nuernberg

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: partitions on software-raid
  2003-12-16 15:44 partitions on software-raid Norman Schmidt
@ 2003-12-16 16:02 ` Paul Clements
  2003-12-16 21:29 ` David Haring
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Clements @ 2003-12-16 16:02 UTC (permalink / raw)
  To: schmidt; +Cc: linux-raid

Norman Schmidt wrote:

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

No, the md driver does not support partitions.


> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: partitions on software-raid
  2003-12-16 15:44 partitions on software-raid Norman Schmidt
  2003-12-16 16:02 ` Paul Clements
@ 2003-12-16 21:29 ` David Haring
  1 sibling, 0 replies; 3+ messages in thread
From: David Haring @ 2003-12-16 21:29 UTC (permalink / raw)
  To: schmidt; +Cc: linux-raid

Norman Schmidt wrote:
> 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)

> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-16 21:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-16 15:44 partitions on software-raid Norman Schmidt
2003-12-16 16:02 ` Paul Clements
2003-12-16 21:29 ` David Haring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).