[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [RaQ4] Swap File



Today I used partition magic to resize my swap partition and it had appeared to go ok. (up to ~512 from ~256mb)

When I got back to my office (1.5 hours from my co-lo) I discovered that the swap was gone! The server is running normally but I need my swap back.

Is it possible to delete old swap and recreate it from the command line, the disk space is there waiting. Perhaps I only need to turn it on??

- Bill

[root /root]# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1               956142    578494    338130  64% /
/dev/hda3               194286     27104    157142  15% /var
/dev/hda4              7888557   1914366   5728156  26% /home


[root /root]# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  529514496 301535232 227979264 229584896 56377344 125153280
Swap:        0        0        0
MemTotal:    517104 kB
MemFree:     222636 kB
MemShared:   224204 kB
Buffers:      55056 kB
Cached:      122220 kB
SwapTotal:        0 kB
SwapFree:         0 kB




---------------------------------
William J.A. Brillinger
Precision Design Co.

E-Mail:   mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net