Sponsored Content
Top Forums UNIX for Dummies Questions & Answers UNIX Admin asking for Swap LUN Post 302223960 by zaxxon on Tuesday 12th of August 2008 01:25:38 AM
Old 08-12-2008
Swap space is like in Windows your RAM on hard disks where stuff that normally resides in your RAM is swapped/paged out so it is not lost. Needless to say, that this is many times slower than getting your data from RAM.
For you as Clariion admin you should take Raid 1, which is a bit faster than Raid 5 and absoluteley sufficient. If the box crashes, everything is in swap space is useless after a reboot anyways afaik.
If a Unix/Linux box and also a Windows box starts to swap, there is either a bad tuned system or just too few RAM, so it doesn't matter that much, how much effort you put in creating the fastest swap space you can provide with separate FC adapters etc.

Short version - if a box starts to swap, it's performance is degrading very bad and it will need tuning or more physical RAM. A fast or big swap space on disk is usually not as fast as real RAM.

Nevertheless, you just bind a LUN, Raid 1 as usual, assign it to a storage group as usualy and have you LUN masking with Access Logix, that's all. The Unix host will see new physical volume and the swap space can be created on it.

I hope this helped a bit.
 

10 More Discussions You Might Find Interesting

1. Tips and Tutorials

Read this if you are serious about being a Unix Admin...

Okay someone posted this as a response to a newbie question about books and resources and the ever popular "What should I read to be a good unix admin " newbie question... I feel this should be a sticky, because after having read a good portion of it since yesterday, I noticed the... (0 Replies)
Discussion started by: Kelam_Magnus
0 Replies

2. HP-UX

Lost both Unix Admin's ....need help

Hi all, I know nothing about unix. Both of our unix guys left for greener pastures. I have been given the task of tring to get 10,000 accounts on a hp ux system into active directory. The accounts don't need to be moved, but they need to be in active directory for a couple of applications. Even if... (0 Replies)
Discussion started by: Bob D
0 Replies

3. UNIX for Dummies Questions & Answers

UNIX Admin Careers

I wish to transition from Mainframe to Open Systems Storage Administration. How much training would I need in order to meet requirements for an AIX Administrator position? (3 Replies)
Discussion started by: ednan171
3 Replies

4. UNIX for Advanced & Expert Users

Guide for Unix admin

Hi guys, I believe most of you guys are guru here. I'm actually linux/unix programmer and understand some of linux language (sh, bash, perl). I would like to jump into more technical role which is sys admin which I need to do something like : - Veritas backup and clustering (I heard our... (14 Replies)
Discussion started by: peac3
14 Replies

5. Advertise with Us

Where are the UNIX Admin Jobs?

Greetings.... I have asked this question before, and gotten the "go to school response" and the "help desk job" response, the problem is, these positions require experience, and I have not found a company willing to hire me. I have complete a Unix Fundamentals course, and I plan to continue my... (24 Replies)
Discussion started by: chlordane
24 Replies

6. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

7. Advertise with Us

Windows to Unix Admin

Hi, I'm looking a bit of advice on a job offer I've been made. I'm currently a Microsoft Windows Administrator, with good experience in this and also in Novell. I've just been offered a job to re-train as a UNIX Administrator. I'm not sure whether to take it or not. It's more... (4 Replies)
Discussion started by: horhif
4 Replies

8. Solaris

Can't see Newly created LUN by SAN admin

hello, i am an oracle DBA and trying to scan a newly created LUN of 200 GB on fiber channel by SAN admin.we have solaris 10 and SANtoolkit is installed.i tried following to get the new LUN at my machine. go /opt/Netapp/Santoolkit/bin and then ./sanlun lun show but i see only the existing... (12 Replies)
Discussion started by: janakors
12 Replies

9. What is on Your Mind?

Jr UNIX Admin Position

Hello. I have worked in a desktop support role for the past 2 years. I was approached at my place of work and offered a job as a junior Unix administrator. All training would be provided. The only experience I have is what I have read about Unix in my free time. Nothing more. I had a... (1 Reply)
Discussion started by: tentex87
1 Replies

10. What is on Your Mind?

Regarding Admin life either as DBA or UNIX Linux admin

I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that. Can we get "DAY" shifts in any one of the admin Job ? Can't we have shift timings in any company ? Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies
swap(1M)						  System Administration Commands						  swap(1M)

NAME
swap - swap administrative interface SYNOPSIS
/usr/sbin/swap -a swapname [swaplow] [swaplen] /usr/sbin/swap -d swapname [swaplow] /usr/sbin/swap -l /usr/sbin/swap -s DESCRIPTION
The swap utility provides a method of adding, deleting, and monitoring the system swap areas used by the memory manager. OPTIONS
The following options are supported: -a swapname Add the specified swap area. This option can only be used by the super-user. swapname is the name of the swap file: for example, /dev/dsk/c0t0d0s1 or a regular file. swaplow is the offset in 512-byte blocks into the file where the swap area should begin. swaplen is the desired length of the swap area in 512-byte blocks. The value of swaplen can not be less than 16. For example, if n blocks are specified, then (n-1) blocks would be the actual swap length. swaplen must be at least one page in length. The size of a page of memory can be determined by using the pagesize command. See pagesize(1). Since the first page of a swap file is automatically skipped, and a swap file needs to be at least one page in length, the minimum size should be a multiple of 2 pagesize bytes. The size of a page of memory is machine dependent. swaplow + swaplen must be less than or equal to the size of the swap file. If swaplen is not specified, an area will be added starting at swaplow and extending to the end of the designated file. If neither swaplow nor swaplen are specified, the whole file will be used except for the first page. Swap areas are normally added automatically during system startup by the /sbin/swapadd script. This script adds all swap areas which have been specified in the /etc/vfstab file; for the syntax of these specifications, see vfstab(4). To use an NFS or local file-system swapname, you should first create a file using mkfile(1M). A local file-system swap file can now be added to the running system by just running the swap -a command. For NFS mounted swap files, the server needs to export the file. Do this by performing the following steps: 1. Add the following line to /etc/dfs/dfstab: share -F nfs -o rw=clientname,root=clientname path-to-swap-file 2. Run shareall(1M). 3. Have the client add the following line to /etc/vfstab: server:path-to-swap-file - local-path-to-swap-filenfs --- local-path-to-swap-file -- swap --- 4. Have the client run mount: # mount local-path-to-swap-file 5. The client can then run swap -a to add the swap space: # swap -a local-path-to-swap-file -d swapname Delete the specified swap area. This option can only be used by the super-user. swapname is the name of the swap file: for example, /dev/dsk/c0t0d0s1 or a regular file. swaplow is the offset in 512-byte blocks into the swap area to be deleted. If swaplow is not specified, the area will be deleted starting at the second page. When the command completes, swap blocks can no longer be allocated from this area and all swap blocks previously in use in this swap area have been moved to other swap areas. -l List the status of all the swap areas. The output has five columns: path The path name for the swap area. dev The major/minor device number in decimal if it is a block special device; zeroes otherwise. swaplo The swaplow value for the area in 512-byte blocks. blocks The swaplen value for the area in 512-byte blocks. free The number of 512-byte blocks in this area that are not currently allocated. The list does not include swap space in the form of physical memory because this space is not associated with a particular swap area. If swap -l is run while swapname is in the process of being deleted (by swap -d), the string INDEL will appear in a sixth column of the swap stats. -s Print summary information about total swap space usage and availability: allocated The total amount of swap space in bytes currently allocated for use as backing store. reserved The total amount of swap space in bytes not currently allocated, but claimed by memory mappings for possi- ble future use. used The total amount of swap space in bytes that is either allocated or reserved. available The total swap space in bytes that is currently available for future reservation and allocation. These numbers include swap space from all configured swap areas as listed by the -l option, as well swap space in the form of physical memory. USAGE
On the 32-bit operating system, only the first 2 Gbytes -1 are used for swap devices greater than or equal to 2 Gbytes in size. On the 64-bit operating system, a block device larger than 2 Gbytes can be fully utilized for swap up to 2**63 -1 bytes. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of swap: LC_CTYPE and LC_MESSAGE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
pagesize(1), mkfile(1M), shareall(1M), getpagesize(3C), vfstab(4), attributes(5), largefile(5) WARNINGS
No check is done to determine if a swap area being added overlaps with an existing file system. SunOS 5.10 20 Jan 2004 swap(1M)
All times are GMT -4. The time now is 08:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy