*MUST* the primary swap reside on the system disk?

From: Irene A. Shilikhina (irene@alpha.iae.nsk.su)
Date: Tue Jun 10 2003 - 01:20:57 EDT


>From the swapon manual:

        Usually, the swap device number is the same as the boot device
        number, and the primary swap partition is partition b.

Well, "usually" doesn't mean "always". But in a far corner of my memory
there sits something which tells me that the root and primary swap partitions
MUST be on the same device. Unfortunately, I can't find the exact answer
in the archives.

Some explanation:

Having a problem with the system disk (confirmed with scu: Nonrecoverable
medium error, plus, for a short time, lots of error messages from uerf
concerning this target), I'm getting prepared to change the disk and going
to do that in a day or two. But meanwhile, I thought...

The matter is that a couple of times there was an error "Failed to write
initial header to primary swap". So, it's quite possible that the damaged
part of the disk falls on the primary swap space. The system has two swap
spaces. And I thought, why not to edit fstab switching swap1 to the other
disk, exclude swap2 and look at the situation further. At the same time,
I'm afraid it's not possible. Yes or no? Version 4.0D, if this matters.

Thanks,
Irene

*************************************************************************
* *
* Irene A. Shilikhina e-mail: irene@alpha.iae.nsk.su *
* System administrator, *
* Institute of Automation & Electrometry, *
* Siberian Branch of Russian Academy of Sciences, *
* Novosibirsk, Russia *
* http://www.iae.nsk.su/~irene *
*************************************************************************
* *
* The road to hell is paved with good intentions. *
* *
*************************************************************************



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:21 EDT