[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4] Swap File
- Subject: Re: [cobalt-users] [RaQ4] Swap File
- From: "William J.A. Brillinger" <billy@xxxxxxxxxx>
- Date: Mon Mar 31 19:11:47 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
At 08:43 PM 31/03/03 -0500, you wrote:
On Monday 31 March 2003 18:46, William J.A. Brillinger wrote:
> 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??
What does /etc/fstab say?
try swapon -a if fstab has a swap entry.
ok I did this:
[root /root]# mkswap /dev/hda5
Setting up swapspace version 1, size = 41119744 bytes
[root /root]# swapon -a
[root /root]# cat /etc/fstab
/dev/hda1 / ext2 defaults 1 1
/dev/hda5 swap swap defaults 0 0
/dev/hda3 /var ext2 defaults,nosuid 2 2
/dev/hda4 /home ext2 defaults,usrquota,grpquota,grpid 3 3
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=0620 0 0
[root /root]# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 529514496 325353472 204161024 230739968 62603264 140709888
Swap: 41115648 0 41115648
MemTotal: 517104 kB
MemFree: 199376 kB
MemShared: 225332 kB
Buffers: 61136 kB
Cached: 137412 kB
SwapTotal: 40152 kB
SwapFree: 40152 kB
Now I have swap space, but not quite as much as I expected :(
- Bill
---------------------------------
William J.A. Brillinger
Precision Design Co.
E-Mail: mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net