LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


View Poll Results: Do you partition RAID Array's?
Yes 0 0%
No 5 100.00%
Other 0 0%
Voters: 5. You may not vote on this poll

Reply
  Search this Thread
Old 10-26-2014, 05:41 PM   #1
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Rep: Reputation: Disabled
Do You Partition Your RAID array


Just curious if any of you put a partition on your RAID array (/dev/md0)?

What are the pro's and con's of using of using a partition or not using a partition on a RAID array?

Last edited by Soapm; 10-26-2014 at 05:43 PM.
 
Old 10-26-2014, 07:09 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,150

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
I guess somewhere in the world there are people who put broccoli on ice cream. md on partitions, never partitions on md. It just wouldn't feel right. All of my scripts would break.
 
Old 10-26-2014, 07:27 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I answered "No" because I feel like the question was directed toward software raid (given the md0 example). For software RAID, I partition the disks, and then assemble the partitions into the RAID array. For hardware RAID, however, since the card interfaces with the raw disks, I build the RAID first and then partition it as necessary (99% of the time it's just one big partition though).
 
Old 12-02-2014, 07:08 AM   #4
marXtevens
LQ Newbie
 
Registered: Jan 2008
Location: Midwest USA
Distribution: Slackware, Fedora, RHEL, ...
Posts: 16

Rep: Reputation: 0
Partitioning RAID

1. Depends on which RAID, 0, 1, ...
2. Reason for RAID is for stability of data, and access. Order of those 2 varies by need.
3. Assume RAID 1 or 5. Then you could (I do this) after RAID 5 assembly, partition the new "disk" to your needs.
4. Discussions will abound about how good software RAID is to hardware RAID. Again, it depends. Hobbyist, software is "good enough." Business or speed critical, then hardware is "good enough."

... Mark
 
Old 12-03-2014, 10:43 PM   #5
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by marXtevens View Post
1. Depends on which RAID, 0, 1, ...
2. Reason for RAID is for stability of data, and access. Order of those 2 varies by need.
3. Assume RAID 1 or 5. Then you could (I do this) after RAID 5 assembly, partition the new "disk" to your needs.
4. Discussions will abound about how good software RAID is to hardware RAID. Again, it depends. Hobbyist, software is "good enough." Business or speed critical, then hardware is "good enough."

... Mark
What are your thoughts on the hardware raids included with consumer mother boards? Are they sufficiently better than software raids?
 
Old 12-03-2014, 10:53 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by Soapm View Post
What are your thoughts on the hardware raids included with consumer mother boards? Are they sufficiently better than software raids?
Those aren't hardware raids, they're just a convenient front end for software raid. Go ahead and configure it using the low level utility after the BIOS, but you'll find that once you boot into Linux it's running under mdadm.
 
Old 12-04-2014, 12:19 AM   #7
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Those aren't hardware raids, they're just a convenient front end for software raid. Go ahead and configure it using the low level utility after the BIOS, but you'll find that once you boot into Linux it's running under mdadm.
What I suspected, I didn't plan to try it since it seems to limit your options in the event of a mobo failure. It seems (in my view) you have to go buy the same mobo just to reassemble the raid.
 
Old 12-07-2014, 02:56 PM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
It seems (in my view) you have to go buy the same mobo just to reassemble the raid.
Good luck with that. It seems that m'board models come and go almost as quickly as new cellphones. You could always buy a spare to keep on the shelf in case the one in use decides to develop a bad capacitor. Just MHO, but I'd just go with the mdadm tools. And document the heck out of your configuration. (It limits the level of excitement when a RAIDset goes belly up from being "Argh! The world is ending!" to something like "Well, that's annoying".)

--
Rick
 
Old 12-08-2014, 03:48 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
We don't partition md devices but we commonly use them as LVM physical volumes hence they are part of a volume group in which we create logical volumes which are arguably equivalent to partitions.
 
Old 12-11-2014, 09:23 PM   #10
marXtevens
LQ Newbie
 
Registered: Jan 2008
Location: Midwest USA
Distribution: Slackware, Fedora, RHEL, ...
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by Soapm View Post
What are your thoughts on the hardware raids included with consumer mother boards? Are they sufficiently better than software raids?
I have an "old" ASUS mobo where the RAID on the mobo also needs (gak) Windows drivers to work. Given I'm a *nix geek, that's not going to happen. So I went with software RAID.

Since the RAID configurations are supposed to be standard, you should "technically" be able to replace the borken mobo with an un-borken one and after reconfiguring the BIOS settings, have the drives come up correctly. Yes, broken is intentionally misspelled.

You did ...
1. Mark all the cables (each end).
2. Mark the drive that goes with each cable.
3. Document your RAID configuration from the BIOS.
4. Document it all, somewhere NOT on the hard drives.

Something else to consider, a RAID PCI card or two (or however many backup cards you think you need). They are less expensive to replace than a mobo.

... Mark
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Misaligned partition on replacement drive in RAID 5 array, Fedora 14 Ta-mater Linux - Hardware 5 06-05-2013 03:16 PM
[SOLVED] mounting a partition in raid 0 array Cyrolancer Linux - General 3 12-16-2012 03:04 AM
NTFS Partition Problems on HW Raid 5 Array Absolute Zero Linux - Hardware 5 05-17-2009 10:10 PM
Shrink NTFS partition in RAID 1 array pwc101 General 4 11-15-2008 03:51 PM
RAID help restoring a degraded array partition jahlewis Linux - Hardware 2 10-17-2006 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration