SUMMARY: Swap device <<unknown>> in LSM

From: Jean Dubois <j_dubois_at_analog.ca>
Date: Fri, 22 Dec 1995 11:09:04 -0500

Hi,

Quite a while ago I posted a question about having a secondary swap with
LSM. The system booted and worked fine, but I could not modify anything in
LSM, I would always get the message:
        Error checking for overlapping partitions: cannot determine swap device
        file name

Many thanks to:
"Dr. Tom Blinn, 603-881-0646" <tpb_at_zk3.dec.com>
alan_at_nabeth.cxo.dec.com

They put me on the trail of checking for overlapping partitions on my swap disk.

Finally the solution was obtained after many call with DEC's support:

Solution 1)
There must be a special device in /dev/vol (ex.: /dev/vol/swap2) which
points to the same device that is define in the disk group (ex.
/dev/vol/data_dg/swap2).
If you issue a "mknod b 99 99" (where 99 and 99 are the major/minor numbers
of the device) this will work. It must be done in single user mode with LSM
started.
HOWEVER, every time you restart LSM, it removes all the file in /dev/vol
that are not directorie or devices in rootdg .... bummer :-(

Solution 2)
The secondary swap space must be in rootdg. In this case both devices
(/dev/vol/swap2 and /dev/vol/rootdg/swap2) are created and maintained by LSM.

Hope this is usfull to someone!
/jean :>
Received on Fri Dec 22 1995 - 17:33:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT