Re: swap on raid 1

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

 



On Tue, 14 Oct 2003 skopel@english.fsu.edu wrote:

> I have been following the discussion of swap on raid 1 and I just want to
> clarify something... I have my swap on /dev/md1, which is a raid1 device
> consisting of /dev/hda2 and /dev/hdc2.
> If one of the drives fails (either hda or hdc), I think the swap will be
> duplicated on the other and the box will continue merrily on, right?

Thats the general idea, and exactly what I have here... (although I'd use
the term 'mirrored' rather than 'duplicated' as that appears more often in
the documentation about RADI1, but it's a minor point)

gordon @ unicorn: cat /proc/swaps
Filename                        Type            Size    Used    Priority
/dev/md1                        partition       499896  53272   -1

gordon @ unicorn: cat /proc/mdstat

...

md1 : active raid1 hdc2[1] hda2[0]
      499904 blocks [2/2] [UU]

...

Gordon
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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