Thread (9 messages) flat view 9 messages, 5 authors, 2004-06-06

Re: ANNOUNCE: mdadm 1.6.0 - A tool for managing Soft RAID under Linux

From: David Greaves <hidden>
Date: 2004-06-05 06:36:00

I can see why you said that.

my reading is that --auto *creates the major/minor numbers* by which the 
kernel recognises partitions.
It doesn't create the partitions.

I don't have an hdg, but if I did its partitions would be addressed like so:
david@ash:~$ ll /dev/hdg3
brw-rw----    1 root     disk      34,   3 Apr 15  2001 /dev/hdg3

I'd still need cfdisk et al to set the start/end blocks for the device.

Maybe:

--auto=partition creates the device files for partitions on the array 
which may then be manipulated as normal by cfdisk et al

would be a good --help entry?

David

me@heyjay.com wrote:
I did finish, but the example seemed to show that the --auto would build the
partitions.  I know at the end of the message Neil said then you use cfdisk
but it seemed unnecessary at that point

Jay
----- Original Message ----- 
From: "Guy" <redacted>
To: <redacted>; <redacted>
Sent: Friday, June 04, 2004 9:21 AM
Subject: RE: ANNOUNCE: mdadm 1.6.0 - A tool for managing Soft RAID under
Linux


 
quoted
You must finish reading what Neil said!

< Then
<    cfdisk /dev/md/XX
< will allow you to partition the array.

He has more info you somehow skipped!
Re-read the email from Neil.


-----Original Message-----
From: linux-raid-owner@vger.kernel.org
[mailto:linux-raid-owner@vger.kernel.org] On Behalf Of me@heyjay.com
Sent: Friday, June 04, 2004 9:31 AM
To: Neil Brown; linux-raid@vger.kernel.org
Subject: Re: ANNOUNCE: mdadm 1.6.0 - A tool for managing Soft RAID under
Linux

   
quoted
The simplest way to access this functionality is with

   mdadm --create /dev/md/XX --auto=partition --level= ....

     
How does in know how big to build the partitions?
How does it know how many partitions?

Can you do it with out building the partitions automatically
and instead it will just build /dev/mdXX and then I can use
fdisk, sdisk, cfdisk... to build my partitions?

Thanks
Jay
-
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


-
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


   
-
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

 
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help