06-27-2007
Thank you for the great information, i have a question regarding the mkdev command.
Venatorm wrote:
mkvdev the target device "mkvdev -vdev hdisk10 -vadapter vhost2 -dev lpar1_hdisk1"
End of his comments:
How do i find the vhost2 information? or what command shows a list of all the hosts.
Thanks
Last edited by pagink; 06-27-2007 at 05:05 PM..
Reason: Mispelled Venatorm
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
Here we have a requirement like move some oracle data in to flat files and store it in Tape drives. On request these needs to be put back in tables.
The total Database is around 800 GB.
Now I must have to move around 40 GB in to Tape.
Can some help me what is the MAX tape... (2 Replies)
Discussion started by: reddyb
2 Replies
2. AIX
hi all,
i have an p620 server. it has 2 scsi 18gb disks for aix4.3 OS and 3 ssa disks for database and an serialRAID adapter. 3 ssa disks configured raid level 5.
to increase capacity of the datavg, i buy 2 ssa 18gb disks. but i can not add them to the existing datavg. i did the following... (1 Reply)
Discussion started by: tinhlx
1 Replies
3. AIX
Hi All,
What do you usually use for capacity planning on AIX?
Any idea will do?
Thanks in advance,
itik (1 Reply)
Discussion started by: itik
1 Replies
4. Solaris
Hi All,
What do you usually use for capacity planning tool on solaris 8 or later?
Thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies
5. Solaris
how to know for a particular solaris machine whether i am having a 64 bit or 32 bit processor???
like for machine with details
SunOS 5.8 Generic_108528-20 sun4u sparc SUNW,Sun-Blade-100 (3 Replies)
Discussion started by: mobydick
3 Replies
6. Shell Programming and Scripting
Good morning.
I have been attempting to find a way to monitor the capacity of a directory so that when it reaches 80% or higher I can send an event.
I was able to find a script that does this for the whole drive by I can not seem to figure out how to do this for just a single directory.
... (1 Reply)
Discussion started by: LRoberts
1 Replies
7. Shell Programming and Scripting
i need to write a shell script for printing the list of filesystems whose disk utilization is more than 75%...i tried using df -h along with awk but cud'nt make the combination work.....:wall:
when we do df -h then the filesystems which are using more than 75% capacity shud be printed according to... (11 Replies)
Discussion started by: xtatic
11 Replies
8. AIX
Dears,
The TSM storage that we have is already configured to backup some Application,directories & logs or let's say backup different path from 15 servers, I want to add more Items to be backuped by this storage, how to be confirmed if that possible or not? I mean how do we know the capacity of... (7 Replies)
Discussion started by: arm
7 Replies
9. AIX
I am new to using AIX but ive ran into issues with 100% full and then rebooting and having a socket error repeating over and over. My question is, what can I do besides just monitoring to ensure I dont run into these issues? Scripts? anything? Thanks (3 Replies)
Discussion started by: terry.berger
3 Replies
10. AIX
can anyone tell me how to reduce Fs capacity by using echo zero. (3 Replies)
Discussion started by: nkchand
3 Replies
LEARN ABOUT MINIX
getmajor
getmajor(9F) Kernel Functions for Drivers getmajor(9F)
NAME
getmajor - get major device number
SYNOPSIS
#include <sys/types.h>
#include <sys/mkdev.h>
#include <sys/ddi.h>
major_t getmajor(dev_t dev);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
dev Device number.
DESCRIPTION
getmajor() extracts the major number from a device number.
RETURN VALUES
The major number.
CONTEXT
getmajor() can be called from user or interrupt context.
EXAMPLES
Example 1: Using getmajor()
The following example shows both the getmajor() and getminor(9F) functions used in a debug cmn_err(9F) statement to return the major and
minor numbers for the device supported by the driver.
dev_t dev;
#ifdef DEBUG
cmn_err(CE_NOTE,"Driver Started. Major# = %d,
Minor# = %d", getmajor(dev), getminor(dev));
#endif
SEE ALSO
cmn_err(9F), getminor(9F), makedevice(9F)
Writing Device Drivers
WARNINGS
No validity checking is performed. If dev is invalid, an invalid number is returned.
SunOS 5.10 11 Apr 1991 getmajor(9F)