linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stupid Question?
@ 2004-05-23 21:52 AndyLiebman
  2004-05-23 23:23 ` Jose Luis Domingo Lopez
  2004-05-24  2:01 ` jim
  0 siblings, 2 replies; 9+ messages in thread
From: AndyLiebman @ 2004-05-23 21:52 UTC (permalink / raw)
  To: linux-raid

Hi, 

I feel like this is a stupid question. But I actually don't know the answer 
to it. If I'm going to make a Software RAID array with a bunch of identical 
disks, do the disks have to have at least one partition on them? Or can I use 
disks with NO partitions? 

Similarly, if I have made a hardware RAID array (say, with a 3ware 8506 
card), do I have to create at least a single partition on it before I put a file 
system on it? 

If partitions aren't necessary, is there any advantage or disadvantage to 
having a single partition on a disk versus having none? Is having no partitions 
faster? 

Andy Liebman

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Stupid Question?
@ 2004-05-24  9:33 AndyLiebman
  0 siblings, 0 replies; 9+ messages in thread
From: AndyLiebman @ 2004-05-24  9:33 UTC (permalink / raw)
  To: jim; +Cc: linux-raid


>You always need to make partitions
>with fdisk before initializing the partition with a filesystem using
>mkfs.

After creating a Hardware RAID-5 with a 3ware 8506 card -- which comes up as 
/dev/sda on my machine (my system drive is a single IDE drive, /dev/hda) -- I 
have found that I AM able to put my filesystem on the RAID without making a 
partition. 

I ask this question because I have seen some discussions about some issues 
with "blockdev" and "block sizes" and how maybe you can get better throughput on 
devices if they are "higher" up the chain. I.E., /dev/sda is higher than 
/dev/sda1 and /dev/sda2. 

I didn't see any problems "formating" or "putting a file system" on a whole 
block device like /dev/sda. I ran Bonnie++ on it without issue. (I got the same 
results as with /dev/sda1 -- but I'm now looking into what I've been reading 
about blockdev and doing some tuning). But maybe I'm missing some. I'm NOT 
booting from the RAID. It's just for data storage. 

By the way, for those with 3ware 8506 cards, at the suggestion of 3ware I 
tuned the readahead value on my RAID with 'blockdev --setra 16384 /dev/sdX' 
(actually they had recommended this for their forthcoming 9500 series) and my read 
results with Bonnie++ jumped from 100 to 200 MB/sec on a 8-drive SATA RAID-5 
array. I don't yet know how the tuning will affect real world results. 

Might similar tuning make any difference for Software RAID-5 (I already get 
175 MB/sec using the same 3ware card in its JBOD mode). 

Andy Liebman

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

end of thread, other threads:[~2004-05-24 23:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-23 21:52 Stupid Question? AndyLiebman
2004-05-23 23:23 ` Jose Luis Domingo Lopez
2004-05-24  2:01 ` jim
2004-05-24  2:33   ` Neil Brown
2004-05-24  9:09     ` AW: " root
2004-05-24 22:58       ` Neil Brown
2004-05-24 23:11         ` robin-lists
2004-05-24 23:40           ` Neil Brown
  -- strict thread matches above, loose matches on Subject: below --
2004-05-24  9:33 AndyLiebman

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).