11-08-2000
All,
I am using SOLARIS 7. I have formated my hard drive to consist of only 150MB of swap space. This isn't enough considering I am running Oracle. How do I create additional swap space?
Please list sources or commands.
PS mkswap doesn't work on my machine. ( I have swap and swapadd)
Thanks a bunch
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
PREP(8) System Manager's Manual PREP(8)
NAME
prep, format - prepare hard and floppy diskettes
SYNOPSIS
disk/prep [ -ra ] special [ type ]
disk/format [ -t type ] [ -f ] [ -d ] [ -b bfile ] [ -c csize ] [ -l label ] drive [ files ... ]
DESCRIPTION
A partition table is stored on a hard disk to specify the division of the physical disk into a set of logical units. On Plan 9 the parti-
tion table is a list of triples: name, starting sector, and ending sector. The kernel fabricates the first two partitions, disk and parti-
tion; the disk partition records the starting and ending sectors for the whole disk, and the partition partition, typically the last sector
on the disk, holds the partition table itself.
Special is the maximal prefix of names of the logical units on the disk, for example #w/hd0. Prep reads and prints the associated parti-
tion table and then enters a simple interactive mode to control editing the table.
The options are:
-r (read only) prohibits writing the table on disk.
-a automatically create default partitions if no partition table already exists. These include partitions for DOS, a boot kernel, an
NVRAM substitute, a kfs(4) file system, and, if room remains, a swap partition.
Format prepares for use the floppy diskette in the disk file named drive, for example /dev/fd0disk. The options are:
-f Do not physically format the disc. Used to install an MS-DOS filesystem on a previously formatted disc. With this option, drive can
be a plain file.
-t specify a density and type of disk to be prepared. The possible types are:
31/2DD 31/2" double density, 737280 bytes
31/2HD 31/2" high density, 1474560 bytes
51/4DD 51/4" double density, 368640 bytes
51/4HD 51/4" high density, 1146880 bytes
The default is the highest possible on the device, unless -f is used, in which case the default is 31/2HD.
-d add MS-DOS parameter block, file access table (FAT), and root directory to the start of the floppy.
The remaining options have effect only when -d is specified:
-b use the contents of bfile as the bootstrap block installed in sector 0.
-c use a DOS cluster size of csize sectors when creating the DOS FAT.
-l add a label when creating the DOS parameter block.
Again under -d, any files listed are added, in order, to the root directory of the MS-DOS filesytem. The files are contiguously allocated
and created with the READONLY attribute set.
The file /sys/src/boot/pc/bb is an example of a suitable bfile to make the disk a boot disk. It gets loaded by the BIOS at 0x7C00, reads
the root directory into address 0x7E00, and looks at the first root directory entry. If that file is called B.COM, it uses single sector
reads to load the file into address 0x10000 and then jumps to the loaded file image.
EXAMPLE
Create a Plan 9 boot floppy on a previously formatted diskette:
disk/format -f -b bb -d /dev/fd0disk /386/b.com
SOURCE
/sys/src/cmd/disk/prep.c
/sys/src/cmd/disk/format.c
/sys/src/boot/pc/bb.s
SEE ALSO
floppy(3), wren(3), b.com(8)
PREP(8)