Herbert Graeber wrote:
> Am Dienstag, 4. Dezember 2007 13:48:46 schrieb Jim Flanagan:
>   
>> On my new 10.3 install I set up 2 drives in raid1 mirror, using software
>> raid in yast. All seems to be working fine except in Kinfocenter>memory
>> swap is shown as not available. Yast shows swap with an "*" beside it.
>> My partitions are set up as follows:
>> primary
>> /dev/md0 /boot
>> extended
>> /dev/md1 /swap
>> /dev/md2 /
>> /dev/md3 /home
>> /dev/md4 /share
>>
>> I'm not that familiar with tweaking swap and have only set it up in
>> yast>partitioner before with no previous problems. This is my first raid
>> setup so there may be an issue with that, but again, all others
>> partitions are working fine. I tried editing swap in yast to format it
>> again as /swap but it failed with an error code -3004.
>>
>> Anyone know what this problem may be?
>>     
>
> The reason is that suspend/resume from a raid swap partition does not work. 
> You have three options:
>
> 1. Do not use a swap partion on raid. This ok, if a crash and a reboot after 
> a 
> failing disk is no problem for you. May be acceptable for Notebooks and 
> desktop systems
>
> 2. Remove the resume=/dev/md1 from your kernel option line. Suspend/Resume 
> from does not work. Should be fine for servers.
>
> 3. Have two swap partions one without raid for the resume and one with raid 
> for swapping, large enough, that the first one is not really used for 
> swapping (I haven tested this).
>
> Cheers
> Herbert
>   
Most intersting. Option 3 does both un-mirrored and mirrored. I'm not
sure I want to test that one out, but sound plausible. I guess I'm good
with putting swap on an un-mirrored partition, as long as it doesn't
break the mirrors in the event of one disk failure, (see my post a few
minutes ago on this). Seems un-mirrored would be faster anyway, but I
want to keep the integrity of the mirrored partitions.

Jim F
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to