Configuring and checking Juke box in Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Configuring and checking Juke box in Solaris 10
# 1  
Old 06-14-2010
Configuring and checking Juke box in Solaris 10

I have been working on Windows and transitioning to Solaris 10 has been a steep learning curve.
My questions are:

1. In windows you can see Robotic arm under Medium Changer and Tape drives under Tape Drives in Device Manager if they are installed. How do you check these (Changer and tape drives) in Solaris 10?

2. In windows installing drivers is very easy for the medium changer and tape drives, how is it done in Solaris 10?

3. How do we check which tape drive is assigned to the path /dev/rmt/#cbn, if i dont know the path while using mt -f /dev/rmt/#cbn?

4. How do you install a Juke box, (starting from connecting the hardware to installing the drivers and checking the status)?

Thanks in advance.......
# 2  
Old 06-14-2010
most of your questions are depended on the hardware you are using... so the best is to read the manufactures documentation...
# 3  
Old 06-17-2010
to check the tape drives and changer device on Solaris 10 is using "cfgadm -al" command. or the detail command is "cfgadm -o show_FCP_dev -al". If you device connected already, then later you will see the line like this:

c4::500110a00094eafa,0 tape connected configured unknown
c4::500110a00094eafa,1 med-changer connected configured unknown

On solaris 10, to detect the new device is with "devfsadm" command. I think most of tape drives and tape library are supported by Solaris 10 and you don't need to install additional drives.

To check tape drives with the /dev/rmt/XX drives, you can check and compare base on its WWN and serial number. to show the S/N run the mt -f with 'config' option, exp: "mt -f /dev/rmt/0cb config"
to check the WWN on /dev/rmt/xx, try to run ls -ltr. Exp: "ls -ltr /dev/rmt/*cbn"

root@jkt-nw01 # ls -ltr /dev/rmt/*cbn
lrwxrwxrwx 1 root root 44 Mar 1 15:48 /dev/rmt/0cbn -> ../../devices/pci@8,700000/scsi@1/st@5,0:cbn
lrwxrwxrwx 1 root root 44 Mar 1 15:50 /dev/rmt/5cbn -> ../../devices/pci@9,700000/scsi@2/st@5,0:cbn
lrwxrwxrwx 1 root root 50 Mar 1 15:50 /dev/rmt/6cbn -> ../../devices/pci@9,700000/pci@3/scsi@4/st@2,0:cbn
lrwxrwxrwx 1 root root 50 Mar 1 15:50 /dev/rmt/7cbn -> ../../devices/pci@9,700000/pci@3/scsi@5/st@1,0:cbn
lrwxrwxrwx 1 root root 75 Mar 1 15:50 /dev/rmt/3cbn -> ../../devices/pci@9,600000/SUNW,emlxs@1,1/fp@0,0/st@w500104f00058a85b,0:cbn
lrwxrwxrwx 1 root root 75 Mar 1 15:50 /dev/rmt/2cbn -> ../../devices/pci@9,600000/SUNW,emlxs@1,1/fp@0,0/st@w500104f00058a85e,0:cbn
lrwxrwxrwx 1 root root 75 Mar 1 15:50 /dev/rmt/4cbn -> ../../devices/pci@9,600000/SUNW,emlxs@1,1/fp@0,0/st@w500104f00058a858,0:cbn
lrwxrwxrwx 1 root root 75 Mar 1 15:50 /dev/rmt/1cbn -> ../../devices/pci@9,600000/SUNW,emlxs@1,1/fp@0,0/st@w500104f00058a861,0:cbn


for last question, read jukebox installation guide..
This User Gave Thanks to 4ziz For This Post:
# 4  
Old 06-19-2010
Thanks Aziz,

I ran the cfgadm -al, it gives the following output


bash-3.00# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c2::273908001b80479e tape connected configured failed

i also ran show_FCP_dev -al

Ap_Id Type Receptacle Occupant Condition

c2::2100001b321aa150 unknown connected unconfigured unknown
c2::273908001b80479e med-changer connected configured unknown


If you notice, the Ap_id c2::273908001b80479e is showing as med-changer in the 2nd output and tape in the 1st output.

The library has 2 tape drives, i dont see them.

---------- Post updated at 02:56 AM ---------- Previous update was at 02:35 AM ----------

Hi Aziz,

I came across some more things.

i ran the ls -ltr /dev/rmt/*cbn command and it shows me 2 outputs

lrwxrwxrwx 1 root root 78 Jun 8 18:52 /dev/rmt/4cbn -> ../../devices/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,2:cbn
lrwxrwxrwx 1 root root 78 Jun 8 18:52 /dev/rmt/5cbn -> ../../devices/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,1:cbn

If you notice the WWN no. of both of them are similar, also cfgadm -o show_FCP_dev -al shows the medium changer with the same Ap_id.

I also checked the /etc/path_to_inst file and it shows me entries with the same WWN or the Ap_id.


"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,7" 0 "st"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,6" 1 "st"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sgen@w273908001b80479e,5" 0 "sgen"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,4" 2 "st"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,3" 3 "st"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,2" 4 "st"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/st@w273908001b80479e,1" 5 "st"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sgen@w273908001b80479e,0" 1 "sgen"
"/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/ssd@w5006016041e07120,0" 0 "ssd"


I am confused. Please Help
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Need help in configuring Password Constraints for Solaris 11.3

Hello Friends I was running Solaris 11.3 x86. Below is my configuration to set password Constraints. more /etc/default/passwd MAXWEEKS=4 MINWEEKS=1 WARNWEEKS=1 PASSLENGTH=8 NAMECHECK=YES HISTORY=4 MINDIFF=3 MINALPHA=2 (4 Replies)
Discussion started by: jebby123
4 Replies

2. UNIX for Dummies Questions & Answers

Configuring sshd server on UNIX box

I want to configure and run sshd server on my unix box. I already have that installed. # yum -y install openssh-server openssh-clients Loaded plugins: fastestmirror, presto, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.mirror.constant.com * epel:... (1 Reply)
Discussion started by: nitalchandel
1 Replies

3. Solaris

Help with configuring printer on Sun Solaris

I have tried and tried again, to get an HP 4700dn laserjet printer to work on a GI Sun Solaris BOX. I have gone through and added the Printer server and IP to the Host file in the /etc folder and also added the printer ip and printer name itself. when I go to print something the printer shows up in... (7 Replies)
Discussion started by: kane4355
7 Replies

4. Solaris

Configuring samba in solaris x-86

I just wanted to know if I can configure samba on solaris 10 x-86. I was just wondering if the samba is in-built software gets shipped with Operating System CD. I have searched a lot on many sites and forums but still not getting any way to make it. It would be really appreciable if some can... (1 Reply)
Discussion started by: naw_deepak
1 Replies

5. UNIX for Advanced & Expert Users

Configuring Linux box with the smtp mail server

Hi all, I was trying to configure SMTP server with my linux box. I made changes to the /etc/mail/sendmail.cf whereby editing the line DAEMON_OPTIONS(`Port=<port number>,Addr=<mail server name>, Name=MTA')dnl after this ive created a new sendmail.cf file by using the command m4... (4 Replies)
Discussion started by: amit_kv1983
4 Replies

6. Solaris

Configuring TP Ethernet SS5 Solaris 8

Hey. how do i configure the Lance Ethernet in my SS5 i must use DHCP to get Internet access. i have tried sys-unconfig and ifconfig le0 plumb and dhcp. but no cigar. how do i configure ? i have had some problems with the /etc/hosts dir. it says it dosent exist and when i try to create it it says... (1 Reply)
Discussion started by: mads-nielsen
1 Replies

7. Solaris

Configuring TP Ethernet in SPARCstation 5 Solaris 8

Hey. i have been trying to configure the on board Ethernet in My Sparcstation 5, i have spent a lot of time on the ifconfig man pages. but it could really be nice with some pro. help. i don't think the interface is running . i don't know what name the interface have, le0 eth0 et0, it just says no... (4 Replies)
Discussion started by: mads-nielsen
4 Replies

8. UNIX for Dummies Questions & Answers

difference between AIX box and Sun Solaris box

Hi, I need a clarification. Is there any difference between AIX box and Sun Solaris box? The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box. Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies

9. UNIX for Dummies Questions & Answers

Configuring networking interfaces on Solaris 10

Hi, I am trying to configure an ip address, netmask, and default gateway on my solaris machine. For example, in Linux I would do the following command: #ifconfig eth0 xx.xx.xx.xx netmask 255.0.0.0 #add route or route add default xxx.xxx.xxx.xxx In Solaris 10, I believe the commands are... (7 Replies)
Discussion started by: annointed3
7 Replies

10. Solaris

tftp configuring on Solaris 5.7

Hi, I need to setup a tftp facility on a Sun server. Can someone help me urgently, i need this to be up at the earliest. Regards, Vivek :( (1 Reply)
Discussion started by: vivek_scv
1 Replies
Login or Register to Ask a Question