LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-06-2009, 07:41 AM   #1
bipinkdas
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat,Trustix,Fedora
Posts: 52

Rep: Reputation: 15
Thumbs up How can I use hotspare Disk in RAID1


Hello everybody

I have server with 3 harddisk of 300Giga. I have did it with RAID1 and the third harddisk as a hotspare. My /var partition is 200Giga and the hotspare is 300GB. How can I extend my /var with this Hotspare ?

Thanks in advance.
 
Old 07-06-2009, 08:45 AM   #2
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
I'm assuming your RAID 1 consists of 2x300GB drives and there is one hotspare of 300GB?
You can't just insert another 300GB into a RAID 1. If you had another, you could configure a second RAID 1 and if you had used LVM in our original partitioning scheme, you could grow your LVM by this 300GB.
 
Old 07-06-2009, 11:48 AM   #3
gael
Member
 
Registered: Aug 2008
Posts: 41

Rep: Reputation: 15
The reason why you have a hot spare is in the case of a failure of one of the 2 disks in the RAID1 mirror. So do not use it or you will break the fail over it provides.

Instead, you can configure another RAID10 by adding 2 x 300GB disks. Or as suggested nowonmai, add 1 disk and do another RAID1 but in this case you are losing the benefits of the hot spare.
 
Old 07-06-2009, 02:35 PM   #4
cyclegar
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 1
Hot spares for not for use with existing volumes.

This disk only is a backup disk for the 2 disks used in the volume.

it will kick in only if one of the disks fails and takes the failed disks position on the raid.


You cannot use a hot spare on an existing volume , to use a hot spare you need to remove it as a hot spare first before being used.

Once removed there wont be any host spare disk for failures.

Thanks
MC
 
Old 07-06-2009, 03:48 PM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Moved: This thread is more suitable in Hardware and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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
RAID1 software - 1 disk DEAD cferron Linux - Software 1 05-12-2008 02:14 PM
RAID1 array down to one disk with bad blocks, clone to good disk with dd noerror? ewolf Linux - Server 2 05-10-2008 12:40 AM
add a new disk to raid1 array retrev Linux - General 1 04-08-2007 01:57 AM
raid1 disk status dindome Linux - Enterprise 2 02-24-2007 01:35 PM
How to boot from the 3rd disk while RAID1? Chowroc Linux - Software 1 11-07-2005 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:09 AM.

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