10-04-2012
Off the top of my head:
Is this VG part of a HACMP resource group? If yes, it most certainly is varied on in EC mode and "chvg -g" will not work then.
Is hdisk9 available? "bootinfo" will fail if the disk is only in defined state.
I hope this helps.
bakunin
9 More Discussions You Might Find Interesting
1. Linux
Hi
I have a linux box attched to a SAN storage from EMC with RAID 5 .I understand that it has 3g cache howver a 20gb file creation takes too much time here are my results any ideas why
time dd if=/dev/zero of=disk.img bs=1048576 count=20000
20000+0 records in
20000+0 records out
997.59s... (2 Replies)
Discussion started by: xiamin
2 Replies
2. AIX
Hi
I am a bit green to AIX - but when our backup operator tries to do a restore from one AIX box to another, he get's the error:
'A file cannot be larger than the value set by ulimit'
I am wondering what is the impact of increasing the AIX filesize limit of 2 gb to unlimited. And how would... (1 Reply)
Discussion started by: Rosie C
1 Replies
3. AIX
This may sound like an absolute rookie question, and it is.
I have been working on Migrating our HP and Solaris servers to the new EMC SAN and know the routines backwards.
Now we've suddenly got a new IBM server and I don't even know how to check if it is connected to the switch.
Can someone... (1 Reply)
Discussion started by: ronellevan
1 Replies
4. Solaris
Good morning to one and all :-) Thank god its Friday, as its bee na rubbish week for me !
So, a quick question. Disks ! Ive got a few local disks, and a few SAN disks used on my solaris server. Whats confusing me, and Im not sure if there's an issue at the SAN end, or my end, regarding the... (3 Replies)
Discussion started by: sbk1972
3 Replies
5. AIX
Hi,
Is there a way to dynamically increase the size of virtual disk on the LPAR. The virtual disk is coming from my VIO Server. From my SAN I have allocated a disk to VIO Server and from VIO Server to my LPAR....If I increase the space of the logical SAN DISK (DS 4700 using IBM TotalStorage... (0 Replies)
Discussion started by: filosophizer
0 Replies
6. Filesystems, Disks and Memory
Hi,
I'm new to SAN storage so I was wondering if someone can assist me with a problem. I have a solaris 10 OS with 3 SAN devices attached. We are trying to troubleshoot performance so I was asked to get the WWN of each SAN disk and show what it's attached to via the SVM mount in the metastat... (1 Reply)
Discussion started by: rkruck
1 Replies
7. UNIX for Dummies Questions & Answers
Hello everybody,
I'm using the binary inqraid (Linux RHEL) in order to retrieve information about SAN disks. The questions are:
Given an LDEV, how do I know if the SAN disk related to this LDEV is being used by the OS? I mean, how can I demonstrate to "Storage department" that all disks of... (4 Replies)
Discussion started by: asanchez
4 Replies
8. Red Hat
Hello,
How can I identify SAN disks not in use by the OS?
Thank you. (8 Replies)
Discussion started by: asanchez
8 Replies
9. AIX
Hi,
This is follow up to the post https://www.unix.com/aix/233361-san-disk-appearing-double-aix.html
When I connected Pseries Machine HBA Card ( Dual Port ) directly to the SAN Storage DS4300 , I was able to see Host Port Adapter WWN numbers , although I was getting this message... (2 Replies)
Discussion started by: filosophizer
2 Replies
LEARN ABOUT MOJAVE
getpriority
GETPRIORITY(2) BSD System Calls Manual GETPRIORITY(2)
NAME
getpriority, setpriority -- get/set program scheduling priority
SYNOPSIS
#include <sys/resource.h>
int
getpriority(int which, id_t who);
int
setpriority(int which, id_t who, int prio);
DESCRIPTION
The scheduling priority of the process, process group, or user as indicated by which and who is obtained with the getpriority() call and set
with the setpriority() call. Which is one of PRIO_PROCESS, PRIO_PGRP, or PRIO_USER, and who is interpreted relative to which (a process
identifier for PRIO_PROCESS, process group identifier for PRIO_PGRP, and a user ID for PRIO_USER). A zero value of who denotes the current
process, process group, or user. prio is a value in the range -20 to 20. The default priority is 0; lower priorities cause more favorable
scheduling.
The getpriority() call returns the highest priority (lowest numerical value) enjoyed by any of the specified processes. The setpriority()
call sets the priorities of all of the specified processes to the specified value. Only the super-user may lower priorities.
Additionally, the current thread or process can be placed in a background state by specifying PRIO_DARWIN_THREAD or PRIO_DARWIN_PROCESS for
which. Only a value of zero (the current thread or process) is supported for who when setting or getting background state. prio is either 0
(to remove current thread from background status) or PRIO_DARWIN_BG (to set current thread into background state). When a thread or process
is in a background state the scheduling priority is set to the lowest value, disk IO is throttled (with behavior similar to using
setiopolicy_np(3) to set a throttleable policy), and network IO is throttled for any sockets opened after going into background state. Any
previously opened sockets are not affected. The getpriority() call returns 0 when current thread or process is not in background state or 1
when the current thread is in background state. Any thread or process can set itself into background state.
RETURN VALUES
Since getpriority() can legitimately return the value -1, it is necessary to clear the external variable errno prior to the call, then check
it afterward to determine if a -1 is an error or a legitimate value. The setpriority() call returns 0 if there is no error, or -1 if there
is.
ERRORS
getpriority() and setpriority() will fail if:
[EINVAL] Which is not one of PRIO_PROCESS, PRIO_PGRP, PRIO_USER, PRIO_DARWIN_THREAD, or PRIO_DARWIN_PROCESS.
[EINVAL] Who is not a valid process, process group, or user ID.
[EINVAL] Who is not 0 when which is PRIO_DARWIN_THREAD or PRIO_DARWIN_PROCESS.
[ESRCH] No process can be located using the which and who values specified.
In addition to the errors indicated above, setpriority() will fail if:
[EACCES] A non super-user attempts to lower a process priority.
[EPERM] A process is located, but neither its effective nor real user ID matches the effective user ID of the caller.
LEGACY SYNOPSIS
#include <sys/types.h>
#include <sys/resource.h>
The include file <sys/types.h> is necessary.
int
getpriority(int which, int who);
int
setpriority(int which, int who, int value);
The type of who has changed.
SEE ALSO
nice(1), fork(2), setiopolicy_np(3), compat(5), renice(8)
HISTORY
The getpriority() function call appeared in 4.2BSD.
4th Berkeley Distribution June 4, 1993 4th Berkeley Distribution