Next Previous Contents

3.3 Linux swap manager usage

All swap parameters are controlling very important parameters of swap. Generally their wrong settings can cause inaccessible and unusable swap partition. Fortunately if you are running Partition Surprise on the machine (platform) where you want to finally use the wap partition, all parameters should be properly detected automatically.

Linux swap parameters

header

Version 1 if possible|Version 1|Version 2, import, export. Selects the header version used for swap filesystem. Partition Surprise will choose Version 1 header for partitions satisfying the Version 1 maximal partition limit, Version 2 header otherwise. For advantages of both header versions please check the section Swap Version header parameter warning below.

endian

little endian|big endian, import, export. This parameter is purely platform dependent. You must choose the endianity of the machine which will be finally using the swap partition. Default chosen by Partition Surprise is the endianity of the current machine.

pagesize

number 4096|8192, import, export. This parameter is purely platform dependent. You must choose the page size of the machine which will be finally using the swap partition. Default chosen by Partition Surprise is the page size of the current machine.

Swap Version header parameter warning

The basic swap partitions problem is that Version 1 header can be used only for partitions of maximal size around 128MB (512MB for 8KB page size platforms). Partition with Version 2 header doesn't have this maximal size limit but on the other side it is supported only by Linux kernel versions from 2.1.117 and up. Partition Surprise will choose Version 1 header for partitions sized below the Version 1 limit, Version 2 header otherwise. Please note that chosen (or detected) Version 2 header will not be compatible with older Linux kernel versions, warning from Partition Surprise will be given only when your current kernel version is inappropriate. This warning decision can be bad when the hard disk will be transfered to other computer or booted with different (old) kernel version.


Next Previous Contents