AIX physical DVD/CD drive


 
Thread Tools Search this Thread
Operating Systems AIX AIX physical DVD/CD drive
# 1  
Old 06-13-2019
AIX physical DVD/CD drive

Hello,
I have some doubts about the dvd/cd physical on power machine and AIX.
I see on my AIX lpar and see there is 1 DVD drive and its physical location
Code:
bash-4.4#  lsdev | grep cd0
cd0        Available 03-00-00    SATA DVD-RAM Drive
bash-4.4# lscfg -vpl cd0
  cd0              U78CB.001.WZS0GY4-P2-D15  SATA DVD-RAM Drive

        Manufacturer................IBM.
        Machine Type and Model......RMBO0140532
        ROS Level and ID............RA64
        Device Specific.(Z0)........058002028F000030
        Part Number.................00RW610
        EC Level....................N99020
        FRU Number..................00RW611
        Hardware Location Code......U78CB.001.WZS0GY4-P2-D15

  PLATFORM SPECIFIC
  Name:  disk
    Node:  disk
    Device Type:  block

I check on the managed system IO tab. See the screenshot.

I didn't find the location code of DVD drive above in the list (screenshot attached)
Code:
U78CB.001.WZS0GY4-P2-D15

I'm surprised that on power machine did not have any optical device. Please correct if I'm wrong for this case.

Try to mount the DVD to see its content but not success. But the status of DVD drive is available, it should mean that DVD media is loaded. I'm not sure.
Code:
bash-4.4# mount -v cdrfs -o ro /dev/cd0  /cd
mount: 0506-324 Cannot mount /dev/cd0 on /cd: The device is not ready for operation.

AIX physical DVD/CD drive-dvdpng
# 2  
Old 06-13-2019
Quote:
Originally Posted by Phat
I have some doubts about the dvd/cd physical on power machine and AIX.
I see on my AIX lpar and see there is 1 DVD drive and its physical location
OK, first: WHERE do you see the DVD drive? From the below output i cannot see which system the output is from. The LPAR? The VIOS? Something else?

Second:
Quote:
Originally Posted by Phat
Code:
        Hardware Location Code......U78CB.001.WZS0GY4-P2-D15

Note that the "-P2-" in the location code means "Planar 2". Your screenshot below only shows items from Planar 1. It is either wrong or incomplete.

Quote:
Originally Posted by Phat
But the status of DVD drive is available, it should mean that DVD media is loaded. I'm not sure.
No. The status "Available" means that a device which was configured once is indeed connected and working - the "device", not a media in it. To understand how this works, here is an example: attach a harddisk to a system. Run cfgmgr and the harddisk device will be created. It will be "available". Now disconnect the harddisk again. It will become "defined", because its definition in the ODM (you remember from the other thread?) is still there but the disk is not. If you now use rmdev on it the ODM definitions will be removed and the device will vanish, but if you don't it will stay there. If you would reattach the disk it will go from "defined" to "available" again.

Usually you create a CD-device with a certain SMITty-panel, smitty mkdvd (or maybe smitty mkcd, i am not entirely sure) or something such. Then you attach the physical DVD drive via a DLPAR-operation and remove it the same way again. Once the drive is available you can mount/umount media until you remove the drive via another DLPAR-operation again.

I hope this helps.

bakunin
# 3  
Old 06-14-2019
Hi Bakunin,
Quote:
OK, first: WHERE do you see the DVD drive? From the below output i cannot see which system the output is from. The LPAR? The VIOS? Something else?
--> I see the DVD drive on the AIX lpar, not VIOS

Quote:
Note that the "-P2-" in the location code means "Planar 2". Your screenshot below only shows items from Planar 1. It is either wrong or incomplete.
--> sorry my fault. Please see full screenshots attached zip.

We don't have VIOS here. So any I/O devices have to be physical ones and assigned directly to the LPAR.

The strange here is I cannot find the location of DVD drive on hardware list of managed system.
# 4  
Old 06-14-2019
Quote:
Originally Posted by Phat
--> sorry my fault. Please see full screenshots attached zip.
Sorry, but still: no. Your first output showed a location code of:

Code:
U78CB.001.WZS0GY4-P2-D15

"U78CB.001.WZS0GY4" is a certain enclosure (probably the main one), "P2" means "Planar 2" and "D15" is the slot where the hardware is attached. The drive should be in this enclosure, but attached to the other planar.

The screen shots in the zip-file show the enclosures:

Code:
U5877.001.9K8J244
U5877.001.9K8G410
U5877.001.9K8G349
U5877.001.9K8G801
U5802.001.9K83626
U5802.001.9K83627
U5802.001.9K83628
...

At first: which hardware is this? It looks like a very big (and old) 570 with a lot of additional RIOs (I/O drawer?) added over time. Still, the second planar of the (main?) unit doesn't show up, neither as unassigned slots nor as adapter cards in the list. So, the list is still incomplete or wrong.

It would be interesting if you could tell us a bit more about your hardware, though: what nightmare of system is this and why in Hell don't you have any VIOS on it? It would make life so much easier!

Regarding the CD-drive directly: start by trying to mount it with:

Code:
mount /cd

which should work if the drive and everything else is defined correctly. Chances are your (Linux-inspired?) command did not work because several automatisms stood on their respective toes.

If this doesn't work, proceed:

Quote:
Originally Posted by Phat
The strange here is I cannot find the location of DVD drive on hardware list of managed system.
OK, maybe you (or whoever?) created the DVD device wrong. I remember that often being a problem.

First, make sure the /cd directory over which you want to mount later is really there (yes, i know, but i have seen stranger things).

Second, remove the DVD drive entirely (rmdev -Rdl, then run cfgmgr. Next, you open smitty storage and allocate the drive.

Here is a page describing the process. Notice that things can go wrong if you don't follow this procedure. This way it has always worked for me.

I hope this helps.

bakunin

Last edited by bakunin; 06-14-2019 at 04:36 AM..
# 5  
Old 06-14-2019
Hi Bakunin,

apology for my mistake. I take screenshot of the wrong system mentioned. The first screenshot is the correct one, I uploaded here again.

That is the complete list of hardware I have now.

The info of managed system
Code:
bash-4.4# prtconf
System Model: IBM,8284-22A
Machine Serial Number: 846F8BW
Processor Type: PowerPC_POWER8
Processor Implementation Mode: POWER 8
Processor Version: PV_8_Compat
Number Of Processors: 2
Processor Clock Speed: 3891 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 3 abcxxxxx
Memory Size: 6144 MB
Good Memory Size: 6144 MB
Platform Firmware level: SV840_087
Firmware Version: IBM,FW840.11 (SV840_087)
Console Login: enable
Auto Restart: true
Full Core: false
NX Crypto Acceleration: Capable and Enabled

Hardware list seen on AIX lpar
Code:
INSTALLED RESOURCE LIST

The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
*   = Diagnostic support not available.

  Model Architecture: chrp
  Model Implementation: Multiple Processor, PCI bus

+ sys0                                                         System Object
+ sysplanar0                                                   System Planar
* vio0                                                         Virtual I/O Bus
* vsa0             U8284.22A.846F8BW-V2-C0                     LPAR Virtual Serial Adapter
* vty0             U8284.22A.846F8BW-V2-C0-L0                  Asynchronous Terminal
* pci3             U78CB.001.WZS0GY4-P1                        PCI Express Bus
+ usbhc0           U78CB.001.WZS0GY4-P1                        Integrated USB 3.0 xHCI Adapter (4c1041821410b204)
* pci2             U78CB.001.WZS0GY4-P1                        PCI Express Bus
+ sissas1          U78CB.001.WZS0GY4-P1-C6-T1                  PCI Express x8 Ext Dual-x4 3Gb SAS Adapter
* sas1             U78CB.001.WZS0GY4-P1-C6-T1                  Controller SAS Protocol
* sfwcomm1                                                     SAS Storage Framework Comm
* sata1            U78CB.001.WZS0GY4-P1-C6-T1                  Controller SATA Protocol
* pci1             U78CB.001.WZS0GY4-P1                        PCI Express Bus
+ sissas0          U78CB.001.WZS0GY4-P1-C14-T1                 PCIe3 x8 SAS RAID Internal Adapter 6Gb
* sas0             U78CB.001.WZS0GY4-P1-C14-T1                 Controller SAS Protocol
* sfwcomm0                                                     SAS Storage Framework Comm
+ ses0             U78CB.001.WZS0GY4-P2-Y1                     SAS Enclosure Services Device
+ pdisk0           U78CB.001.WZS0GY4-P2-D7                     Physical SAS 4K Disk Drive
+ pdisk1           U78CB.001.WZS0GY4-P2-D8                     Physical SAS 4K Disk Drive
+ pdisk2           U78CB.001.WZS0GY4-P2-D9                     Physical SAS 4K Disk Drive
* hdisk0           U78CB.001.WZS0GY4-P1-C14-T1-L206DF9A300-L0  SAS 4K RAID 0 Disk Array
* hdisk1           U78CB.001.WZS0GY4-P1-C14-T1-L606DF9A300-L0  SAS 4K RAID 0 Disk Array
* hdisk2           U78CB.001.WZS0GY4-P1-C14-T1-L406DF9A300-L0  SAS 4K RAID 0 Disk Array
* sata0            U78CB.001.WZS0GY4-P1-C14-T1                 Controller SATA Protocol
+ cd0              U78CB.001.WZS0GY4-P2-D15                    SATA DVD-RAM Drive
* pci0             U78CB.001.WZS0GY4-P1                        PCI Express Bus
+ ent0             U78CB.001.WZS0GY4-P1-C11-T1                 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
+ ent1             U78CB.001.WZS0GY4-P1-C11-T2                 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
+ ent2             U78CB.001.WZS0GY4-P1-C11-T3                 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
+ ent3             U78CB.001.WZS0GY4-P1-C11-T4                 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
+ L2cache0                                                     L2 Cache
+ mem0                                                         Memory
+ proc0                                                        Processor
+ proc8                                                        Processor

AIX physical DVD/CD drive-dvdpng

Last edited by Phat; 06-14-2019 at 06:03 AM..
# 6  
Old 06-14-2019
--- corrected some info.

You can see the cd device and physical location in the code, but you don't find it on the screenshot attached.
# 7  
Old 06-14-2019
Ok so from the LPAR you are trying to find the CDROM run a
lsdev -Cl cd0 -F parent


On one of my S824-42A's this is the path to the CD drive:
Code:
# lscfg -vpl cd0
  cd0              U78C9.001.WZS01PX-P2-D27  SATA DVD-RAM Drive

        Manufacturer................IBM.
        Machine Type and Model......RMBO0140512
        ROS Level and ID............RA65
        Device Specific.(Z0)........058002028F000030
        Part Number.................74Y7346
        EC Level....................N23938
        FRU Number..................74Y7341
        Hardware Location Code......U78C9.001.WZS01PX-P2-D27


  PLATFORM SPECIFIC

  Name:  disk
    Node:  disk
    Device Type:  block
# lsdev -Cl cd0 -F parent
sata0

# lscfg -vpl sata0
  sata0            U78C9.001.WZS01PX-P1-C14-T1  Controller SATA Protocol

  PLATFORM SPECIFIC

  Name:  sata
    Node:  sata
    Device Type:  sata_ioa

So, when you look at the HMC, the optical drive is hanging off P1-C14-T1.


This is why bakunin was saying VIO's make this easier. You could virtualize the optical drive and dynamically add it to any lpar. The above example I gave was from a box with no VIO. 100% of resources of the frame given to the lpar.

Last edited by RecoveryOne; 06-14-2019 at 10:11 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mount the cd/dvd drive

· Next, you will need to install the software package that provides DHCP services (a.k.a. the DHCP daemon software). It is located on the installation DVD ISO image for the CentOS Linux Distribution. Associate the (Disc 1 of 2) DVD ISO with the virtual machine's CD/DVD optical drive, create a... (1 Reply)
Discussion started by: beerpong1
1 Replies

2. Solaris

Solaris 10 install with no DVD drive

Hi Guys, I think i probably know the answer to this question, but ill put it out there. I have access to one, and only one SunFire v240 with no DVD drive. I have been tasked with installing Solaris 10 on there (Solaris 8 is on at the moment). The obvious thing was to try a USB DVD... (4 Replies)
Discussion started by: Sol-nova
4 Replies

3. HP-UX

LV and/or physical drive problems HP9000

I'm a technician who has been called upon to troubleshoot an ancient HP9000 K260, running HP UX 11.11. After a power sag/crash/restart FSCK gave multiple error/warning messages about logical volumes and groups. I have some modest experience with Unix servers, but not on such an old and... (2 Replies)
Discussion started by: patrick.scalia
2 Replies

4. Solaris

#1 added to directory on rmount DVD drive

Currently have an issue were we use a script to load a security .dat key. The script was failing to load stating "Unable to open directory". I ssh'd into the server and performed an ls -la on the /cdrom directory. I show the usual cdrom0 but the directory on the cd should be key but is showing... (0 Replies)
Discussion started by: hypp1e
0 Replies

5. AIX

AIX 5.3 on p275 - DVD-ROM drive not recognized

I was having problems with the DVD-ROM drive not being recognized. I thought it was a configuration issue, but it appears to be a hardware problem. Now the system hangs at boot. This last time I tried it, it said: At which point, it hangs. (1 Reply)
Discussion started by: smithfarm
1 Replies

6. AIX

dvd media in drive

Hello, It's some tool in AIX to check what kind of media (DVD+RW DVD-RW DVD-RAM) is inserted in drive? In linux there is very nice tool called dvd+rw-mediainfo. (0 Replies)
Discussion started by: vikus
0 Replies

7. UNIX for Dummies Questions & Answers

dvd in drive how to check

is there some tools(not graphical) command to reconnoiter what kind of cd/dvd is on drive (dvd+rw/dvd-rw/etc)? (1 Reply)
Discussion started by: vikus
1 Replies

8. Solaris

external DVD-ROM drive for our datacentre

Hi there In our Data centre we have a mixture of SPARCS running from v100 and ultra10's to v800 and v1250 boxes we also have a large amount of x86 X2100 and X4100 boxes I am looking to purchase an external DVD-ROM drive that we can plug into the back of any of the boxes if we need to (I... (2 Replies)
Discussion started by: hcclnoodles
2 Replies

9. AIX

Check for media in DVD drive

I would like to check for the existance of media in a DVD drive prior to running a mkcd. Is this possible? I have accomplished this in the past with tctl, but that was with a tape drive. Any help is appreciated. Thanks (0 Replies)
Discussion started by: dmjoen
0 Replies

10. Solaris

DVD drive problem after upgrade to Solaris 10

After upgrading to solaris 10 (from sol 8) on a SUN Blade 1500, it seems that the dvd/cd-rom does not accept dvds nor cds in the dvd drive. After I insert a dvd/cd in the drive, the disk is simply ejected (!) Is it possible that the upgrade made the system not being able to recognize these... (2 Replies)
Discussion started by: miket
2 Replies
Login or Register to Ask a Question