LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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

Reply
 
Search this Thread
Old 11-03-2007, 03:05 AM   #1
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Rep: Reputation: 0
RAID like implementation on a single disk


is there anyway(point in general) to implement RAID on a single disk by making partitions. what iam trying to do is tat iam implementing RAID for testing purposes meanwhile and afterwaeds ill go on purchasing a new disks to implement RAID6. so is there a way....plz respond.
 
Old 11-03-2007, 03:31 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
Generally I would say that you cannot create a RAID set with only one hard disk.

Having said that I reconsidered.

If you have virtualisation software (example VMWare Server) you can create multiple virtual disk files on the host machines single disk and can try to create a RAID on a guest operating system.

This would only be worth doing as a training exercise (if then)

Additionally (apart from not protecting against a single drive failure) you will suffer performance issues as the "RAID set" is using the same physical disk and therefore your disk head is going to be very busy.


I have not tried this myself and do not guarantee success.

Last edited by Disillusionist; 11-03-2007 at 03:32 AM.
 
Old 11-03-2007, 04:07 AM   #3
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Original Poster
Rep: Reputation: 0
thanks for the respond Disillusionist.
i will reconsider wat i was going to do.
 
Old 11-03-2007, 08:03 AM   #4
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 38
Actually you will configure Raid on single disks in most Linux class rooms for test purposes.

You will not get a productive functionality but you could train the usage of the raid toolset.
 
Old 11-03-2007, 08:26 AM   #5
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
Wouldn't that classify as a training exercise?
 
Old 11-03-2007, 10:15 AM   #6
complich8
Member
 
Registered: Oct 2007
Distribution: rhel, fedora, gentoo, ubuntu, freebsd
Posts: 104

Rep: Reputation: 15
mdadm will let you create arbitrary raid types out of arbitrary member partitions.

It's not entirely uncommon to have several disks (say, 4 drives) that have a couple partitions each, with each partition participating in some different sort of raid (eg: raid-1 across 4 disks for the really really important stuff, raid5 for the fairly important stuff, raid0 for the performance-sensitive but otherwise unimportant stuff ...).

Similarly, it's not at all uncommon to do exactly what you're doing, and mdadm supports just that precisely for that purpose.
 
Old 11-05-2007, 06:28 AM   #7
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Original Poster
Rep: Reputation: 0
thanks for the tips all.guess i will have to wait for the new disks to be bought till i implement raid6 meanwhile i maybe test raid by tat virtualisation software.

Last edited by Tahir Saleh; 11-05-2007 at 06:31 AM.
 
Old 11-06-2007, 06:44 AM   #8
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Original Poster
Rep: Reputation: 0
ok now i have one new drive, can raid be implemented on linux installation disk and a separate new disk?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Single drive to RAID howto fw12 Linux - General 1 10-11-2007 06:08 PM
Ubuntu Raid 1, can't boot after Single Disk Failure elliotfuller Linux - General 7 06-05-2007 10:05 PM
single user mode with Raid-1 sunhui Linux - Software 1 12-15-2006 08:30 AM
Migrating single drive to RAID / LVM? joadoor Linux - Hardware 3 10-14-2005 07:01 AM
mouting a single disk of a RAID jdt Linux - General 1 12-22-2003 01:16 PM


All times are GMT -5. The time now is 04:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration