configure tape drive to sun solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris configure tape drive to sun solaris 10
# 8  
Old 06-17-2009
did you do a devfsadm?
# 9  
Old 06-17-2009
yes.. i tried devfsadm... it seemed to worked bec the system reads for at least 5secs but it does not show any result..
it just went to the next line..
then when i use:
ls -al /dev/rmt/*cbn
it shows some result.. wherein there is /dev/rmt/0cbn...

but after that any command is not working anymore..
i mean, when i type:
/dev/rmt/0 .. it says cannot execute

by the way, i have done reboot -- -r already
.. thats why i cannot proceed to test a backup or restore procedure bec there is no such directory
i also tried ..
cd /dev/rmt/0 (or numbers until 6)
but there is no directory..
# 10  
Old 06-18-2009
still no luck..

however, i think i know what is missing from the configuration.. i was able to find this article on the net..

Adding tape drive in solaris


Verify wether the array controller drives can be seen
# cd /dev/rmt
# ls

0 0cbn 0hn 0m 0u 0b 0cn 0l 0mb 0ub 0bn 0h 0lb 0mbn 0ubn 0c 0hb 0lbn 0mn 0un 0cb 0hbn 0ln 0n

using this command, you can see some drives being specified as 0, 0*, 0** and 0***

Note: * is recognized as some character.

FTP the SAN driver SAN_4.4.9_install_it.tar.Z
# uncompress SAN_4.4.9_install_it.tar.Z
# tar xvf SAN_4.4.9_install_it.tar
# cd SAN_4.4.9_install_it
# ./install_it


After finish installing the SAN driver then reboot the server using this command
# reboot -- -r

The array controller and media changer can be seen after rebooting the server

# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected unconfigured unknown
c0::dsk/c0t0d0 disk connected unconfigured unknown
c0::dsk/c0t1d0 disk connected unconfigured unknown
c1 scsi-bus connected unconfigured unknown
c1::dsk/c1t4d0 CD-ROM connected unconfigured unknown
c1::rmt/0 tape connected unconfigured unknown
c2 fc-fabric connected unconfigured unknown
c2::50001fe1500c7cd9 array-ctrl connected unconfigured unknown
c2::50001fe1500c7cdd array-ctrl connected unconfigured unknown
c3 fc-fabric connected unconfigured unknown
c3::100000e00223a9d1 med-changer connected unconfigured unknown
c3::50001fe1500c7cd8 array-ctrl connected unconfigured unknown
c3::50001fe1500c7cdc array-ctrl connected unconfigured unknown


The channel 2 & 3 can be seen as unconfigured. The next step is to configure it
# cfgadm -c configure c2
#cfgadm -c configure c3


Reboot the server to apply the changes
#reboot -- -r

Load the driver in the system and attach to SAN device instances
# devfsadm -c tape

The array controller and the media changer are configured now
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t4d0 CD-ROM connected configured unknown
c1::rmt/0 tape connected configured unknown
c2 fc-fabric connected configured unknown
c2::50001fe1500c7cd9 array-ctrl connected configured unknown
c2::50001fe1500c7cdd array-ctrl connected configured unknown
c3 fc-fabric connected configured unknown
c3::100000e00223a9d1 med-changer connected configured unknown
c3::50001fe1500c7cd8 array-ctrl connected configured unknown
c3::50001fe1500c7cdc array-ctrl connected configured unknown


Insert the tape into the slot and test wether it can work
# mt -f /dev/rmt/1 stat

--- This is a step by step process wherein i was able to do some..
but the second step:


FTP the SAN driver SAN_4.4.9_install_it.tar.Z
# uncompress SAN_4.4.9_install_it.tar.Z
# tar xvf SAN_4.4.9_install_it.tar
# cd SAN_4.4.9_install_it
# ./install_it


On this process, I think the reason why /dev/rmt/0 (or 1,2,3,4,5,6) is not found is because I did not install this driver.. or driver similar to it..
Am I really missing a driver?

or devfsadm -c should be enough..?
Bec i think if have the /dev/rmt/*** then maybe i can start ufsdum or restore command already... im not really sure though... Smilie
# 11  
Old 06-18-2009
Quote:
Originally Posted by graboid888
but after that any command is not working anymore..
i mean, when i type:
/dev/rmt/0 .. it says cannot execute
And what do you expect ? Executing a tape is meaningless.
Try "mt status" instead.
Quote:
.. thats why i cannot proceed to test a backup or restore procedure bec there is no such directory
i also tried ..
cd /dev/rmt/0 (or numbers until 6)
but there is no directory..
The files are neither executable nor directories.
# 12  
Old 06-19-2009
oh i see..
thanks ...
i tried mt status but no information also..

anyway, im trying the tar and cpio command to check if i can try to copy a file instead.. but unfortunately after trying some commands, the tape drive keeps ejecting.. so, ill try to read more..

ill be back for an update..thanks...

---------- Post updated at 10:15 PM ---------- Previous update was at 01:49 AM ----------

thank you guys..
i was able to work on detecting the tape drive connected to an scsi card.
i was also able to use the mt status command to verify the status..

i have a question though..Smilie in sun solaris, i had read that you can remove the tape drive without restarting the system using:
devfsadm -C -c tape -v
how is this exactly works? Smilie
- is it before i removed the tape drive, i will just type this command?
then just disconnect the tape drive and replace it with a new one?
then use
devfsadm again to rebuild the device tree after reconnecting?
sorry guys.. just really new to this one..
thanks a lot..

---------- Post updated 06-19-09 at 01:39 AM ---------- Previous update was 06-18-09 at 10:15 PM ----------

-----------
hello again..
i have found out that i can use:
# cfgadm -x remove_device c1

to remove my tape drive connected to scsi

and i can also use:

# cfgadm -x insert_device c1

to add another device..
thanks all..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Install ext DLT Sun Tape drive on V445 Solaris 10

I have a SunFire V445 running Solaris 10 and am adding a Sun DLT tape drive. From the OK prompt the probe-scsi-all does see the drive and it is the proper target of 4. When I do the boot -- -r it does build the /dev/rmt directories correctly and the links to /devices appear correct as well. When I... (8 Replies)
Discussion started by: chastings
8 Replies

2. Solaris

Sun E220R + HP (SCSI) LTO Ultrium Tape Drive

Hi all, this time I'd need a help from an advanced Solaris system admin :rolleyes: I attached a HP StorageWorks Ultrium 215 Tape Drives - Overview - c00059530 - HP Business Support Center to my Sun E220R and it got recognized immediately (probe-scsi-all). Now the operating system boot process... (8 Replies)
Discussion started by: pseudocoder
8 Replies

3. AIX

SUN StorageTek tape drive with AIX 5.1

Hi, I have recently purchase a SUN Storage Tek desktop LTO 4 HH tape drive and connected to a IBM AIX 5.1 server. The server can detect the tape device. Can someone please advice urgently. Thanks (4 Replies)
Discussion started by: Caully
4 Replies

4. Solaris

Configure New LTO-2 Tape Drive

Can I do this live? Or, do I need to do a probe-scsi-all after doing a stop/A? (10 Replies)
Discussion started by: jgordon
10 Replies

5. AIX

How to mount internal tape drive of sun machine in AIX 5.3

Hi, Help required! How to mount internal tape drive of sun machine in AIX 5.3 (0 Replies)
Discussion started by: ashwin.krishna
0 Replies

6. Solaris

how to install tape drive on sun ver 5.9

hi, need your help mentors I have external SCSI tape DRIVE COmpaq 15/30 GB DLT and I dont know how to install these and how to view if it is working. I'm also have another disk taken form my old sun and I want to use these also but my problem how I able to mount. hope anyone can help me ... (9 Replies)
Discussion started by: eykyn17
9 Replies

7. UNIX for Dummies Questions & Answers

DDS-2 Sun tape drive

Hey guys, I'm trying to mount a SUN DDS-2 tape drive on a SUN Ultra 80 machine running Solaris 9. I had the SCSI drive connected at time of install, I'm very new to Solaris so I don't know if Solaris would detect the drive like that and install some form of device driver. But, what im posting... (2 Replies)
Discussion started by: kingdbag
2 Replies

8. Filesystems, Disks and Memory

help installing Sun 8mm unipack scsi tape drive

Hi all, please help I am stuck. I have installed a external unipack scsi tape drive. The tape drive is Exabyte Eliant 820. All I did was connected scsi cable and power it on. When issued "probe-scsi-all" command, the tape is correctly identified. However, when issued "dmesg | more" command, the... (4 Replies)
Discussion started by: dennis
4 Replies

9. Filesystems, Disks and Memory

Tape Drive Connected to a Sun Ultra 10/Solaris 2.7

I have a Sun Ultra 10/Solaris 2.7 with a differential SCSI card connected to a Supter DLt1 Tape Drive. When I boot the machine, and I do a probe-scsi-all in the very beginning of the boot process. It shows up correctly. If I wait for the boot process to proceed and then I do a probe-scsi-all, I get... (1 Reply)
Discussion started by: brv
1 Replies

10. UNIX for Advanced & Expert Users

How to configure tape drive on SUN

I am trying to configure DAT Tape drive on SUN E220 system but I don't have SUN keyboard. I am using a tty terminal k/b. What are my alternavtives? Is there any way to send interupts to the system on OK prompt using tty kb for probe SCSI. Thanks in advance. (2 Replies)
Discussion started by: s_aamir
2 Replies
Login or Register to Ask a Question