How to mount hard RAID5 array with software RAID0 and GPT?
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How to mount hard RAID5 array with software RAID0 and GPT?
I couldn't post in General. It said I had insufficient permissions to post there, so, this post does have to do with Windows slightly. Sorry that it's here, but I DID read the rules (I searched, and couldn't find an answer to my problem either)
Anyways, I have a RAID5 array 2.72TB (4x1TB drives) which I used in my windows installation, initialized as GPT, and I used "span" to make the single 2TB partition, and 720GB partition into one partition. I believe that Windows created a software RAID0. Ok, so now I've made the leap away from windows, and am going 100% into Linux (Debian, to be exact) and I'm trying to figure out how to mount this array. I've only done basic web/ftp/ircd server management on Linux before, and never anything with mounting drives. I'm a complete n00b at this stuff.
Hopefully somebody understands what's going on and can help
EDIT: I forgot to mention, that this array is full, and I'd rather not lose the data.
Make sure you've set up the raids in the BIOS settings right!
Then you have the spaces and combinations you want and don't have to take care of anything.
Software then can't figure out if a raid is used - it is presented by the BIOS as one drive.
Maybe you have one or more damaged HDs in your raids.
Nevertheless if you have some spare time you can delete the BIOS raids and lowlevel format the HDs and then setup the raids in the BIOS new.
If you have experiences in linux then you can partition your HDs with fdisk.
Software raids are one big laugher, because the newer drives "raids" hard errors internal and if a drive doesn't work it's always its record heads and a software raid loses all data.
First of all: They're setup just fine for hardware RAID5, I'm just not sure if GPT is supported in Linux, and that's what all of the files are on
Secondly, ok, we've gotta move slower than this... Haha like, veryyy beginning. I know there's a way to list what all is plugged into the computer, but I forget what that command is. And then I have to edit some file, right? And then I have to "mount filesystem /media/filesystem" or something, correct?
Sorry, like I said, I really have NOOO idea what I'm doing here with mounting drives, and my Linux skills are very limited.
A hardware raid doesn't have to do something with software.
But think about if you really want a raid5.? That is interesting to DOS operating system like ms-windows but not UNIX/Linux. On Linux every resource(HDs, USB-mem, Network, Internet) is catched and added to one big system (mounted).
And like I wrote above, raid5 is also done internal on all newer HDs (8-3 years)! and if such a drive is broken then one or more of it's heads are damaged and with raid5 you will lose all data that are stored there. So if you're interested in security you would better configure them as raid1 or as raid0 if you want speediness.
And if you're interested in one big storage then linux mount functionality does that for you in etc/fstab.
What Linux does, can do:
- uses the HD caches for speediness or as main memory, what the need is more and if a swap partition is on that drive
- include every resources so that you get one big system
- do anything the system gets faster or more secure dynamically.
So Linux changes its strategy at runtime. What the user needs the most at that moment.
It is also no mistake if you don't use your drives as a raid5 with linux.
And if you don't want to lose data on a HD break down then there is only raid1.
So think about if you want to use a raid5, it is slower than 2 or more drives with swap partitions, only raid0 will be faster.
There is only one thing hard raid5 is good for: if you have very big files (greater than one of that drives - Linux can handle fils with 1.5 TB) that take more than some seconds to load and so you need the corresponding main memory, too.
I don't write my posts for fun, I want that you can find you own way with that information.
You use four 1 TB HDs - so:
/dev/sda 250 GB with 750 GB of that raid 5.
/dev/sdb 2 TB is a hard raid of two 1 TB HDs.
/dev/sdc 800 GB and with 200 GB of that raid 5 parity table.
That what fdisk prints is only what the BIOS wants to present and a operating system can work on and you can install linux on.
With this configuration you can only access 2 TB of that raid without software.
It also seams that the BIOS has been overwritten by that software.
You have 4 TB in your computer, 2950 GB in a soft raid 5 or miss configured hard raid 5 and 1050 GB non raided. Is that right?