Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Question About Drive Partition Post 16406 by mikek147 on Friday 1st of March 2002 05:09:59 AM
Old 03-01-2002
The swap partition is not your VM, but rather a subsystem in your VMM. The VMM manages your ram. When conditions occure that would require more ram then currently available, the least used snipits of programs are moved to swap, allowing space in ram for the program.

As a general rule, swap should be 1.5 x ram, up to ram = 1gig. At >=1 gig of ram, swap should match ram in size. But this rule of thumb is for a business environment. Generally a home user will not task their box in the same way a business box will be loaded. So matching swap size to ram, if you have >=256 meg of ram is acceptable. This swap size is just to insure that your box can handle the load if for some reason it becomes busier than normal.

Good luck. -mk
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Partition Hard drive

Hello everyone. I am new to Linux so hope some one could help me here. I have a 30 Gb HD and windows Xp is my O/S, HD is not partitioned,but I want to Partitioned it, so I could Install Knoppix(Linux)on one of the partitioned one, how could I do this? OR should I erase every thing and then... (1 Reply)
Discussion started by: amir
1 Replies

2. Filesystems, Disks and Memory

Dead partition on drive

We are still using solaris 1 with sunos 4.1.4 because nobody here knows Unix. My colleague did a backup (dump) to the wrong place (/dev/sd0h) and we lost this part of the drive. The information is still on tape but we cannot repartition the /dev/sd0h. fsck keeps on about the "wrong SUPER BLOCK"... (2 Replies)
Discussion started by: Tom Bekaert
2 Replies

3. AIX

Hard Drive Question

Good day, I have an rs/6000 server, model 7044-270. I bought a 2nd hard drive for it but im not sure its the right one. (fru:H13060) As you surely know, the 7044-270 hard drives are put in some sort of tray/carrier. There is a cable that will interface the HDD with the tray/carrier so the... (0 Replies)
Discussion started by: Netghost
0 Replies

4. AIX

Mounting Tape Drive from different partition

Dear all, I have a AIX server with logical 3 partitions and the server is connecting a tape drive. the first partition can successfully making a system backup to the tape but how can i fail to mount the tape to second and thrid partition. would anyone can help me to deal with it? what command... (3 Replies)
Discussion started by: rickhlwong
3 Replies

5. UNIX for Advanced & Expert Users

partition question

Hi I have an exam question which is below and I am looking for answer of this question: I would appreciate your help. * You are the systems administrator of a mail server that services approximately 3,000 users. 2,000 users access their email via a POP-3 service, while the remaining 1,000... (0 Replies)
Discussion started by: tjay83
0 Replies

6. Solaris

Solaris 10: Problems booting off mirror drive -- Error 22: No such partition

Solaris 10 5/08 on Ultra 40 M2 It boots fine off primary disk but having issues booting off the mirror disk. I get this error when booting off mirror disk: Booting 'Solaris 10 ... Mirror disk' root (hd1,0,a) Error 22: No such partition Press any key to continue... Any... (7 Replies)
Discussion started by: etc
7 Replies

7. Solaris

NFS- share drive question

Ok. Here is the situation, I have server A which need to access /tmp folder of server B. Can I mount NFS share (/tmp) from client (serverA)?please let me know (3 Replies)
Discussion started by: sam101
3 Replies

8. OS X (Apple)

How to access a NTFS partition on hard drive through Terminal in OSX ?

Hi , I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two (a) OSX Partition - Mac OS Extended Journaled format. Mount point: / (b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies

9. Shell Programming and Scripting

Partition script output question

Hello Everyone! I have a file called “cells” with 3 set of #'s, roughly 400+ lines. My current tool "movrcs" grabs the “cells” file, and creates one huge “mov_rcs” script which is a problem. I want the tool to grab 20 lines of the "cells" file at a time, and create separate script files for... (3 Replies)
Discussion started by: birdboyee
3 Replies

10. UNIX for Dummies Questions & Answers

How to scrub directory only if on own partition/drive?

Hi all, I've been working on a script to run a disk wipe (using Jim Garlick's scrub tool) on the filesystem in Xerox production printer RIPs. Easy enough if there's just one partition, but I need to cater for the possibility of multiple drives/partitions, and either ZFS or UFS (don't know if... (2 Replies)
Discussion started by: DavidDawesFXA
2 Replies
MD(4)							   BSD Kernel Interfaces Manual 						     MD(4)

NAME
md -- memory disk SYNOPSIS
device md DESCRIPTION
The md driver provides support for four kinds of memory backed virtual disks: malloc Backing store is allocated using malloc(9). Only one malloc-bucket is used, which means that all md devices with malloc backing must share the malloc-per-bucket-quota. The exact size of this quota varies, in particular with the amount of RAM in the system. The exact value can be determined with vmstat(8). preload A file loaded by loader(8) with type 'md_image' is used for backing store. For backwards compatibility the type 'mfs_root' is also recognized. If the kernel is created with option MD_ROOT the first preloaded image found will become the root file system. vnode A regular file is used as backing store. This allows for mounting ISO images without the tedious detour over actual physical media. swap Backing store is allocated from buffer memory. Pages get pushed out to the swap when the system is under memory pressure, otherwise they stay in the operating memory. Using swap backing is generally preferable over malloc backing. For more information, please see mdconfig(8). EXAMPLES
To create a kernel with a ramdisk or MD file system, your kernel config needs the following options: options MD_ROOT # MD is a potential root device options MD_ROOT_SIZE=8192 # 8MB ram disk makeoptions MFS_IMAGE=/h/foo/ARM-MD options ROOTDEVNAME="ufs:md0" The image in /h/foo/ARM-MD will be loaded as the initial image each boot. To create the image to use, please follow the steps to create a file-backed disk found in the mdconfig(8) man page. Other tools will also create these images, such as NanoBSD. SEE ALSO
disklabel(8), fdisk(8), loader(8), mdconfig(8), mdmfs(8), newfs(8), vmstat(8) HISTORY
The md driver first appeared in FreeBSD 4.0 as a cleaner replacement for the MFS functionality previously used in PicoBSD and in the FreeBSD installation process. The md driver did a hostile takeover of the vn(4) driver in FreeBSD 5.0. AUTHORS
The md driver was written by Poul-Henning Kamp <phk@FreeBSD.org>. BSD
October 30, 2007 BSD
All times are GMT -4. The time now is 11:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy