11-10-2000
I GOT IT!!!!
I did a little research regarding this issue.
It turns out that it is very simple...
first, create a file with a size in megabytes of the swap space you wish. I did this in the root directory for simplicity.
mkfile 1024 /swapfile
second, manually add the file as swap space
swap -a /swapfile
this is it!!
Now it gets interesting. To have the swap space mounted everytime you machine boots, you need to edit /etc/vfstab.
You'll have to look at vfstab(4) for the syntax of the file, but as I have learned---It's there if you read it
Thanks for all your help
SmartJuniorUnix......UNTIL NEXT TIME
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I would like to know if there is any difference between the pageing space and the swap space.
Thank you in advance. (1 Reply)
Discussion started by: VeroL
1 Replies
2. UNIX for Dummies Questions & Answers
I checked the server and issued various command to investigated. but from teh output of swap -s and swap -l,
i received the following
swap -l
swapfile dev swaplo blocks free
/dev/vx/dsk/swapvol 197,7 16 4194800 4127696
/dev/vx/dsk/swap2 197,8 16 12582896... (3 Replies)
Discussion started by: TRUEST
3 Replies
3. AIX
how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies
4. UNIX for Dummies Questions & Answers
Plz I need to know how much swap mem free and used i have.
I'm using Compaq Tru64 UNIX V5.1A (rev 1885)
Thanx (1 Reply)
Discussion started by: Lestat
1 Replies
5. Linux
Hi,
I want to know how can i free the swap space if it is completely full,
0 mb remaining, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
6. Solaris
Could someone please explain how you know how much swap space you have on your system. See below:
# swap -s
total: 8225048k bytes allocated + 4863488k reserved = 13088536k used, 4008032k available
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c3t0d0s1 32,25 16... (2 Replies)
Discussion started by: jamba1
2 Replies
7. Linux
Hi,
i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :-
1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
1057 ls -l /root/myswapfile
1058 chmod 600 /root/myswapfile
1059 mkswap /root/myswapfile
1060 swapon /root/myswapfile
... (1 Reply)
Discussion started by: apm
1 Replies
8. Solaris
Dear All,
I have a swap space of 16G available in Sol 10. I have allocated it as a seperate file system. But when the RAM Is full used , the system gets rebooted and the swap is not being used,.
Any reasons for this.
Rgds
Rj (5 Replies)
Discussion started by: jegaraman
5 Replies
9. Red Hat
CENT OS 5.8 server running with a huge java application which uses up all my ram (4GB) and requires excess of atleast 2GB.But the swap is not getting used up((8GB) of swap space left unused) leading a wierd error and stopping application to stop working.
Any one here dealt with the same kind of... (2 Replies)
Discussion started by: shiek.kaleem
2 Replies
10. Red Hat
I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this.
# parted -s /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 38.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
... (1 Reply)
Discussion started by: Mukul Sharma
1 Replies
RL(4) Kernel Interfaces Manual RL(4)
NAME
rl - RL-11/RL01, RL02 moving-head disk
SYNOPSIS
/sys/conf/SYSTEM:
NRL rl_drives # RL01/02
/etc/dtab:
#Name Unit# Addr Vector Br Handler(s) # Comments
rl ? 174400 160 5 rlintr # rl-01/02
major device number(s):
raw: 16
block: 7
minor device encoding:
bits 0007 specify partition of RL drive
bits 0070 specify RL drive
DESCRIPTION
The block files access the disk via the system's normal buffering mechanism and may be read and written without regard to physical disk
records. There is also a `raw' interface which provides for direct transmission between the disk and the user's read or write buffer. A
single read or write call results in exactly one I/O operation and therefore raw I/O is considerably more efficient when many words are
transmitted. The names of the raw files conventionally begin with an extra `r.'
In raw I/O the buffer must begin on a word (even) boundary, and counts should be a multiple of 512 bytes (a disk sector). Likewise seek
calls should specify a multiple of 512 bytes.
DISK SUPPORT
The RL01 drives are each 10240 blocks long and the RL02 drives are 20480 blocks long.
On a RL02 there is room for a full sized root ('a') partition and a reasonable sized swap ('b') partition. The RL01 can only (realisti-
cally) have a single 5mb partition.
FILES
/dev/rl[0-3][a-h] block files
/dev/rrl[0-3][a-h] raw files
/dev/MAKEDEV script to create special files
/dev/MAKEDEV.local script to localize special files
SEE ALSO
hk(4), ra(4), ram(4), rk(4), rp(4), rx(4), si(4), xp(4), dtab(5), autoconfig(8)
DIAGNOSTICS
rl%d: hard error sn%d cs=%b da=%b. An unrecoverable error occurred during transfer of the specified sector of the specified disk. The
contents of the two error registers are also printed in octal and symbolically with bits decoded. The error was either unrecoverable, or a
large number of retry attempts could not recover the error.
rl%d: hard error sn%d mp=%b da=%b. An unrecoverable drive error occured during transfer of the specified sector of the specified disk.
The contents of the two error registers are also printed in octal and symbolically with bits decoded. The error was either unrecoverable,
or a large number of retry attempts could not recover the error.
rl%d: write locked. The write protect switch was set on the drive when a write was attempted. The write operation is not recoverable.
rl%d: can't get status. A ``get status'' command on the specified drive failed. The error is unrecoverable.
BUGS
In raw I/O read and write(2) truncate file offsets to 512-byte block boundaries, and write scribbles on the tail of incomplete blocks.
Thus, in programs that are likely to access raw devices, read, write and lseek(2) should always deal in 512-byte multiples.
DEC-standard error logging should be supported.
A program to analyze the logged error information (even in its present reduced form) is needed.
3rd Berkeley Distribution August 20, 1987 RL(4)