Package: mount Version: 2.20.1-5.5 Severity: critical File: /sbin/swapon Here swapon -s reports the SIZE of the partition (sda11) FOLLOWING the one we gave swapon -a (sda10)!
# swapon /dev/sda10 # swapon -s Filename Type Size Used Priority /dev/sda5 partition 272124 33056 -1 /dev/sda10 partition 7839684 0 -2 # fdisk -l /dev/sda Disk /dev/sda: 40.0 GB, 40007761920 bytes 240 heads, 63 sectors/track, 5168 cylinders, total 78140160 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xcccdcccd Device Boot Start End Blocks Id System /dev/sda1 63 650159 325048+ 83 Linux /dev/sda3 650160 70716239 35033040 5 Extended /dev/sda5 650223 1194479 272128+ 82 Linux swap / Solaris /dev/sda6 1194543 9873359 4339408+ 83 Linux /dev/sda7 9873423 20729519 5428048+ 83 Linux /dev/sda8 20729583 33747839 6509128+ 83 Linux /dev/sda9 33747903 48943439 7597768+ 83 Linux /dev/sda10 48943503 52859519 1958008+ 82 Linux swap / Solaris /dev/sda11 52859583 68538959 7839688+ 83 Linux /dev/sda12 * 68539023 70716239 1088608+ 83 Linux # cfdisk -P s Partition Table for /dev/sda First Last # Type Sector Sector Offset Length Filesystem Type (ID) Flag -- ------- ----------- ----------- ------ ----------- -------------------- ---- 1 Primary 0 650159 63 650160 Linux (83) None 3 Primary 650160 70716239 0 70066080 Extended (05) None 5 Logical 650160 1194479 63 544320 Linux swap / So (82) None 6 Logical 1194480 9873359 63 8678880 Linux (83) None 7 Logical 9873360 20729519 63 10856160 Linux (83) None 8 Logical 20729520 33747839 63 13018320 Linux (83) None 9 Logical 33747840 48943439 63 15195600 Linux (83) None 10 Logical 48943440 52859519 63 3916080 Linux swap / So (82) None 11 Logical 52859520 68538959 63 15679440 Linux (83) None 12 Logical 68538960 70716239 63 2177280 Linux (83) Boot Pri/Log 70716240 78140159 0 7423920 Free Space None Perhaps it is some Logical / Primary partition problem..., but I swear it scares one into thinking it is about to write into my root partition (Data Loss!) # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda11 1071468 368440 648600 37% / ... I will check how one can use cfdisk to create such a partition table and report back later. Also top(1) shows swapon has got the wrong partition too! KiB Mem: 505196 total, 402284 used, 102912 free, 16932 buffers KiB Swap: 8111808 total, 31732 used, 8080076 free, 266808 cached -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org