One of our clients with a dedicated system noticed today after nearly a year with the server that it doesn't have a swap partition. Now I am pretty sure that we installed it with a partition so my intuition tells me that this is a recent developement because he should be seeing a lot more load problems if he had no swap partition before now I think. At any rate can anyone think of what might cause the swap partition to dissappear. I'm not talking just about it being unmounted either, as it doesn't even register the /dev/sda3 partition in fdisk -l
Here's the listing out of top so you see what I mean:
Mem: 2074892k total, 1747268k used, 327624k free, 60540k buffers
Swap: 0k total, 0k used, 0k free, 1040040k cached
here's fdisk -l:
root [~]# fdisk -l
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 36483 292945275 fd Linux raid autodetect
Disk /dev/sdb: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 36470 292945243+ fd Linux raid autodetect
Disk /dev/md0: 299.9 GB, 299975835648 bytes
2 heads, 4 sectors/track, 73236288 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
So if you know a way to create a partition for swap after the fact or know of anyway to that it could have dissappeared I'd appreciate the assistance.
I should also add that he said he upgraded the kernel recently to 2.6.9-42.0.2ELsmp, might that effect this?
Here's the listing out of top so you see what I mean:
Mem: 2074892k total, 1747268k used, 327624k free, 60540k buffers
Swap: 0k total, 0k used, 0k free, 1040040k cached
here's fdisk -l:
root [~]# fdisk -l
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 36483 292945275 fd Linux raid autodetect
Disk /dev/sdb: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 36470 292945243+ fd Linux raid autodetect
Disk /dev/md0: 299.9 GB, 299975835648 bytes
2 heads, 4 sectors/track, 73236288 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
So if you know a way to create a partition for swap after the fact or know of anyway to that it could have dissappeared I'd appreciate the assistance.
I should also add that he said he upgraded the kernel recently to 2.6.9-42.0.2ELsmp, might that effect this?