Re: RAID1: What happens when one half of a mirror fails?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



with current version 2.6 kernels there are no problems known to me not
to have swap and system raid partitions built out of partitions of the
same physical disks.
i didn't catch what you mean by "the kernel that removes the bad disk
from the operating system". if it means that it will trigger a swapoff
for the partition on the failed disk it is near to useless since at that
time already a irreversible data loss has happened which causes the
system to crash.
the only possibility to prevent a system crash during failure of a
harddisk is swapping to raid partitions.

raz ben jehuda wrote:
> i had a "system hanging" when both swap and root file system were on the
> raid. for that i added line in the kernel that removes the bad disk from
> the operating system. 
> On Thu, 2005-06-30 at 22:53, Frank Wittig wrote:
> 
>>Eric Pretorious wrote:
>>
>>>On Thursday 30 June 2005 12:03 pm, Laurent CARON wrote:
>>>
>>>
>>>>is the swap partition on raid?
>>>
>>>
>>>No. swap both swap partitions are formatted as standard swap partitions and mounted via /etc/fstab.
>>>
>>
>>That's no good idea. If a disk fails which contains a swap partition to
>>which data has been swapped the system will crash.
>>Therefor it is important to use mirrored partitions for swap.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux