LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 07-06-2009, 08:41 AM   #1
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, 09:45 AM   #2
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, 12:48 PM   #3
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, 03:35 PM   #4
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.

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

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


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
RAID1 software - 1 disk DEAD cferron Linux - Software 1 05-12-2008 03: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 01:40 AM
add a new disk to raid1 array retrev Linux - General 1 04-08-2007 02:57 AM
raid1 disk status dindome Linux - Enterprise 2 02-24-2007 02:35 PM
How to boot from the 3rd disk while RAID1? Chowroc Linux - Software 1 11-07-2005 08:56 AM

All times are GMT -5. The time now is 12:05 PM.

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