Sponsored Content
Operating Systems AIX Help with virtual optical device Post 302676979 by kah00na on Wednesday 25th of July 2012 11:10:22 AM
Old 07-25-2012
You need to find the parent device of the CD drive (vscsi0), then find vscsi0's slot number, then query your HMC to find that slot number. I use a "lshwres" command in this example. You could also look at your VIO servers' properties and figure it out as well. The example below shows that cd0 is being supported by the VIO server "vio0".
Code:
hostname:/:$ lsdev -Cc cdrom
cd0 Available  Virtual SCSI Optical Served by VIO Server
hostname:/:$ lsdev -l cd0 -F parent
vscsi0
hostname:/:$ lscfg -vl vscsi0
  vscsi0           U8205.E6B.11111111-V1-C9-T1  Virtual SCSI Client Adapter

        Hardware Location Code......U8205.E6B.11111111-V1-C9-T1

hostname:/:$ /usr/bin/ssh -q hscroot@hmcconsole lshwres -r virtualio -m managed_system_name --rsubtype scsi --level lpar --filter "lpar_names=hostname"
lpar_name=hostname,lpar_id=1,slot_num=10,state=1,is_required=0,adapter_type=client,remote_lpar_id=40,remote_lpar_name=vio1,remote_slot_num=11
lpar_name=hostname,lpar_id=1,slot_num=9,state=1,is_required=0,adapter_type=client,remote_lpar_id=39,remote_lpar_name=vio0,remote_slot_num=11
hostname:/:$

These 2 Users Gave Thanks to kah00na For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Magneto-Optical drive for SCO Openserver 5.0.5

Hi, I tried to install Magneto-Optical (MO) drive Fujutsu to COMPAQ Proliant ML350 with SCO Openserver 5.0.5. Harddisk and MO are connected to Adaptec UW-SCSI-3 (driver ad160). During boot process system shows me that MO is connected to host adapter 1, bus 0, SCSI ID 1 and LUN 0. But when I... (2 Replies)
Discussion started by: yurist
2 Replies

2. UNIX for Dummies Questions & Answers

trying to set up an optical drive

Trying to get my unix system to recognize an optical drive, it was delivered to us, so we assumed it worked, in the 2 years since no one ever has used it, we want to now. However, even running probe-scsi-all doesn't bring up that drive. It's a scsi address of 3, at the end of the chain, all... (1 Reply)
Discussion started by: kymberm
1 Replies

3. Solaris

V-5-1-663 Duplicate virtual device number

hi folks here is my case Storage XP24K Business copy setup OS Solaris 10 Verital 4.1 Business copy is running between a production server and backup server using xp24k when the disk groups are imported back on backup server after BC from the prduction server following error is reported... (0 Replies)
Discussion started by: ajays
0 Replies

4. AIX

connect optical cable to HBA

Hi guys, I have not connected optical cable to the Dual port HBA before. My integrator used to do that for me all the time. Can someone explain to me how can I physically connect optical cable to the HBA port in P570. The optical cable has two connectors and right now the HBA port has just a... (7 Replies)
Discussion started by: solaix14
7 Replies

5. UNIX for Dummies Questions & Answers

Have to log out of a virtual terminal twice in order to exit virtual terminals

Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it. I have to log out of a virtual terminal by typing exit, then exit again as in: woodnt@toshiba-laptop ~ $ exit logout woodnt@toshiba-laptop ~ $ exit logout I DON'T have to do this when I'm... (1 Reply)
Discussion started by: Narnie
1 Replies

6. Red Hat

How to configure mini optical mouse ?

hello, someone gave me a set of electronic gadgets 'Brookstone' which has mini optical mouse. This mouse label doesn't have model or etc. Mouse does not work properly i.e. pointer is moving right but left/right buttons work opposite and not always could open or close controls. I suggest it might... (3 Replies)
Discussion started by: susja
3 Replies

7. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

8. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 04:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy