08-11-2008
UNIX Admin asking for Swap LUN
Hello UNIX Experts.
I am responsible for our company's LAN and Clariion SAN environments. My primary responsibilities have always been on the Windows server side for disk on the SAN. I no nothing about UNIX. I think it might be a rock group.?
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
I am now being asked to provide a new disk/LUN on our Clariion, which houses all UNIX host data as well. The disk is going to provide adequate sizing for what I am told is the UNIX "swap space". I have no idea what this "swap space" acts like or does, and I would appreciate an explanation so that I can create an appropriate LUN.
On the Clariion, my options include choosing a separate bus, enclosure and physical disk drives which I might do anyway, but should I choose RAID 1 or RAID5?
In addition, what about providing this "swap space" LUN on a completely separate fiber channel adapter in the UNIX host? Will that accomplish anything? The bottom line is, I don't want to make things worse. I want to know what I am doing and why, and provide the best configuration possible to the UNIX admin.
Kurt
10 More Discussions You Might Find Interesting
1. Tips and Tutorials
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
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
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
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
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 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
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
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?
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?
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
LEARN ABOUT FREEBSD
getpeereid
GETPEEREID(3) BSD Library Functions Manual GETPEEREID(3)
NAME
getpeereid -- get the effective credentials of a UNIX-domain peer
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
int
getpeereid(int s, uid_t *euid, gid_t *egid);
DESCRIPTION
The getpeereid() function returns the effective user and group IDs of the peer connected to a UNIX-domain socket. The argument s must be a
UNIX-domain socket (unix(4)) of type SOCK_STREAM on which either connect(2) or listen(2) have been called. The effective used ID is placed
in euid, and the effective group ID in egid.
The credentials returned to the listen(2) caller are those of its peer at the time it called connect(2); the credentials returned to the
connect(2) caller are those of its peer at the time it called listen(2). This mechanism is reliable; there is no way for either side to
influence the credentials returned to its peer except by calling the appropriate system call (i.e., either connect(2) or listen(2)) under
different effective credentials.
One common use of this routine is for a UNIX-domain server to verify the credentials of its client. Likewise, the client can verify the cre-
dentials of the server.
IMPLEMENTATION NOTES
On FreeBSD, getpeereid() is implemented in terms of the LOCAL_PEERCRED unix(4) socket option.
RETURN VALUES
The getpeereid() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi-
cate the error.
ERRORS
The getpeereid() function fails if:
[EBADF] The argument s is not a valid descriptor.
[ENOTSOCK] The argument s is a file, not a socket.
[ENOTCONN] The argument s does not refer to a socket on which connect(2) or listen(2) have been called.
[EINVAL] The argument s does not refer to a socket of type SOCK_STREAM, or the kernel returned invalid data.
SEE ALSO
connect(2), getpeername(2), getsockname(2), getsockopt(2), listen(2), unix(4)
HISTORY
The getpeereid() function appeared in FreeBSD 4.6.
BSD
July 15, 2001 BSD