* Whole drives or Only partitions for mdadm software RAIDs?
@ 2008-06-30 19:19 thomas62186218
2008-06-30 19:50 ` Justin Piszcz
0 siblings, 1 reply; 5+ messages in thread
From: thomas62186218 @ 2008-06-30 19:19 UTC (permalink / raw)
To: linux-raid, thomas62186218
Hi all,
I have a simple question:
Is there any problem using the full hard drive (/dev/sdb, /dev/sdc,
etc) as opposed to partitions (/dev/sdb1, /dev/sdc1, etc) when creating
software RAIDs? I'd rather commit the full device to the RAID since I
am certain I won't use it for anything else, and I am scripting this so
I don't want to have to fdisk every drive before creating a RAID...that
would take far too much time. Most mdadm documentation always refers to
partitions rather than full devices, so I wanted to make sure it was
indeed OK to use full devices.
Please let me know. Thank you all!
Thanks!
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Whole drives or Only partitions for mdadm software RAIDs?
2008-06-30 19:19 Whole drives or Only partitions for mdadm software RAIDs? thomas62186218
@ 2008-06-30 19:50 ` Justin Piszcz
2008-06-30 19:58 ` thomas62186218
0 siblings, 1 reply; 5+ messages in thread
From: Justin Piszcz @ 2008-06-30 19:50 UTC (permalink / raw)
To: thomas62186218; +Cc: linux-raid
On Mon, 30 Jun 2008, thomas62186218@aol.com wrote:
> Hi all,
>
> I have a simple question:
>
> Is there any problem using the full hard drive (/dev/sdb, /dev/sdc, etc) as
> opposed to partitions (/dev/sdb1, /dev/sdc1, etc) when creating software
> RAIDs? I'd rather commit the full device to the RAID since I am certain I
> won't use it for anything else, and I am scripting this so I don't want to
> have to fdisk every drive before creating a RAID...that would take far too
> much time. Most mdadm documentation always refers to partitions rather than
> full devices, so I wanted to make sure it was indeed OK to use full devices.
>
> Please let me know. Thank you all!
>
> Thanks!
> Thomas
> --
> 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
>
Best to use partitions, so if you over-write the MBR of the drive it
won't mess up the RAID (e.g., run LILO on a raid volume => oops! but if
its a partition, no problems)..
Justin.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Whole drives or Only partitions for mdadm software RAIDs?
2008-06-30 19:50 ` Justin Piszcz
@ 2008-06-30 19:58 ` thomas62186218
2008-06-30 20:14 ` David Greaves
0 siblings, 1 reply; 5+ messages in thread
From: thomas62186218 @ 2008-06-30 19:58 UTC (permalink / raw)
To: jpiszcz; +Cc: linux-raid
Thanks Justin. If that's the only risk, I'll go with full devices. This
will ultimately be a headless system with a separate boot drive and
only administered by me and used internally, so I'll be careful. :-)
Many thanks!
-Thomas
-----Original Message-----
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: thomas62186218@aol.com
Cc: linux-raid@vger.kernel.org
Sent: Mon, 30 Jun 2008 12:50 pm
Subject: Re: Whole drives or Only partitions for mdadm software RAIDs?
On Mon, 30 Jun 2008, thomas62186218@aol.com wrote:
> Hi all,
>
> I have a simple question:
>
> Is there any problem using the full hard drive (/dev/sdb, /dev/sdc,
etc) as
> opposed to partitions (/dev/sdb1, /dev/sdc1, etc) when creating
software
> RAIDs? I'd rather commit the full device to the RAID since I am
certain I
> won't use it for anything else, and I am scripting this so I don't
want to
> have to fdisk every drive before creating a RAID...that would take
far too
> much time. Most mdadm documentation always refers to partitions
rather than
> full devices, so I wanted to make sure it was indeed OK to use full
devices.
>
> Please let me know. Thank you all!
>
> Thanks!
> Thomas
> --
> 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
>
Best to use partitions, so if you over-write the MBR of the drive it
won't mess up the RAID (e.g., run LILO on a raid volume => oops! but if
its a partition, no problems)..
Justin.
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Whole drives or Only partitions for mdadm software RAIDs?
2008-06-30 19:58 ` thomas62186218
@ 2008-06-30 20:14 ` David Greaves
2008-06-30 22:57 ` NeilBrown
0 siblings, 1 reply; 5+ messages in thread
From: David Greaves @ 2008-06-30 20:14 UTC (permalink / raw)
To: thomas62186218; +Cc: jpiszcz, linux-raid
Also, if you ever replace a drive there is a distinct chance that the drive will
be a different size (even if it is the same model).
After being bitten by this I always make partition a few Mb smaller than the device.
David
thomas62186218@aol.com wrote:
>
> Thanks Justin. If that's the only risk, I'll go with full devices. This
> will ultimately be a headless system with a separate boot drive and only
> administered by me and used internally, so I'll be careful. :-)
>
> Many thanks!
> -Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Whole drives or Only partitions for mdadm software RAIDs?
2008-06-30 20:14 ` David Greaves
@ 2008-06-30 22:57 ` NeilBrown
0 siblings, 0 replies; 5+ messages in thread
From: NeilBrown @ 2008-06-30 22:57 UTC (permalink / raw)
To: David Greaves; +Cc: thomas62186218, jpiszcz, linux-raid
On Tue, July 1, 2008 6:14 am, David Greaves wrote:
> Also, if you ever replace a drive there is a distinct chance that the
> drive will
> be a different size (even if it is the same model).
>
> After being bitten by this I always make partition a few Mb smaller than
> the device.
If you are concerned by this (and it is a valid concern) then you can still
use the whole device, and give the --size option to mdadm --create to
tell it to use a little bit less than the whole device.
You give a size in kilobytes (I really should change that to
accept M or G suffixes I guess).
Personally, I prefer to use whole devices.
NeilBrown
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-30 22:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 19:19 Whole drives or Only partitions for mdadm software RAIDs? thomas62186218
2008-06-30 19:50 ` Justin Piszcz
2008-06-30 19:58 ` thomas62186218
2008-06-30 20:14 ` David Greaves
2008-06-30 22:57 ` NeilBrown
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).