Unsolved

This post is more than 5 years old

10002

November 14th, 2005 09:00

please i have a problem in backup tape ??????

hello

please i have a problem and i can't find a solution for it

i have server DELL (poweredgr 2800) installed on it a SCSI tape drive and the operating system is SUSE 9.0
i check in the system about the tape drive as hardware on the system and confirmed that's it loaded and ok and this is the configration for the tape drive:

68: SCSI 06.0: 10680 Storage Device
[Created at scsi.1452]
Unique ID: uOGh.43qo5KAsrW9
Parent ID: Gcmk.ey4owlXNEV6
SysFS ID: /class/scsi_generic/sg0
SysFS BusID: 0:0:6:0
Hardware Class: unknown
Model: "PE/PV 1x6 SCSI BP"
Vendor: "PE/PV"
Device: "1x6 SCSI BP"
Revision: "1.0"
Driver: "megaraid"
Device File: /dev/scanner/by-path/pci-0000:02:0e.0-scsi-0:0:6:0-generic
Device Files: /dev/sg0, /dev/scanner/by-path/pci-0000:02:0e.0-scsi-0:0:6:0-generic
Device Number: char 21:0
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #31 (RAID bus controller

The problem is when i try to mount the device by the command
mt -f /dev/sg0 status

the result is
(mt: /dev/sg0: Operation not permitted)

please can anyperson help me please and tell me what i can do

thanks a lot

marwan

6 Operator

 • 

9.3K Posts

 • 

3 Points

November 14th, 2005 10:00

I'm not sure how to 'read' that, but it looks to me like you connected the tape drive to a/the raid controller.

If so, take it off the raid controller and connected it to an appropriate scsi controller.

You didn't specify what type of tape drive (PV100/110 isn't enough, also what tape type), but most Dell tape drives require (are certified for) an Adaptec 39160 PCI card.

November 14th, 2005 11:00

thank you too much sir for your reply

the type for tape drive is ( POWER VAULT 100T DAT72 )

it's connect to a scsi with the harddisks

all that i want to know what is the mount point for it or how i can mount it to use it with the backup operation

thAnx a lot

marwan

6 Operator

 • 

9.3K Posts

 • 

3 Points

November 14th, 2005 18:00

You need to put the tape drive on it's own scsi card, not on the same card as the scsi drives. Then see if you're getting any better results.

November 15th, 2005 03:00

ok sir but it's a server and we purshase it in this configration so i didn,t want to change in any hardware installtion
also i'm sure tha backup tape is working but there is a problem with the linux operating system

all that i need how to mount the drive

thanx a lot

marwan

6 Operator

 • 

1.8K Posts

November 15th, 2005 14:00

Marwan,  Dev Mgr is 110% on the mark..like it or not you will not have a stable array until the tape unit is on it's own scsi channel. You can play with this configuration until doomsday, you will not have a stable array until you follow his advice.
.
 

November 16th, 2005 08:00

thank you sir
so can you tell me what is the steps can i do to make this???

thanx a lot

marwan

24 Posts

November 18th, 2005 15:00

OK I think that there is a little confusion...
 
First off.
68: SCSI 06.0: 10680 Storage Device
[Created at scsi.1452]
Unique ID: uOGh.43qo5KAsrW9
Parent ID: Gcmk.ey4owlXNEV6
SysFS ID: /class/scsi_generic/sg0
SysFS BusID: 0:0:6:0
Hardware Class: unknown
Model: "PE/PV 1x6 SCSI BP"
Vendor: "PE/PV"
Device: "1x6 SCSI BP"
Revision: "1.0"
Driver: "megaraid"
Device File: /dev/scanner/by-path/pci-0000:02:0e.0-scsi-0:0:6:0-generic
Device Files: /dev/sg0, /dev/scanner/by-path/pci-0000:02:0e.0-scsi-0:0:6:0-generic
Device Number: char 21:0
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #31 (RAID bus controller
 
This is not the configuration of your tape drive,  This is the configuration of the backplane on the primary channel of the RAID controller.
 
The tape drive should be attached to one of two devices. (enter cat /proc/scsi/scsi to find your tape device)
Basic options are as followed...
1. You configured your server with an add in SCSI card (adaptec 39160) when you purchased it the tape drive will be attached to that device.
2 . You configured the server without an add in scsi card.  In this configuration your tape drive would be attached to the second channel of the onboard SCSI/RAID controller.  If this is the case you need to make sure that in the F2 set up the second channel of the onboard RAID controller is set to SCSI and not to RAID.   This will enable your onboard RAID controller to support Legacy passthru. Basically make that channel act like a SCSI controller instead of a RAID controller.
 
The last part of this post that is a little off is how you are testing your tape drive.  Tape drives are not mounted, they are character devices that are written to.  The easiest way to check the status of your drive is to use MT (mt -f /dev/st0 status).  You can also check the operation of the drive using tar or dd.
tar -cvf /dev/st0 /tmp/*
 
Hope that helps. 

Message Edited by jjaymick on 11-18-2005 11:14 AM

Message Edited by jjaymick on 11-18-2005 11:27 AM

Message Edited by jjaymick on 11-18-2005 11:27 AM

November 19th, 2005 03:00

thank you too much sir for your help and the information you give to me
anyway i solved the problem that after all of this i detect the cable for the tape drive is unplugged :):):)

i connect it and the system is detect the tape drive (SEGATE Tape drive ) i was tested it and everything is ok

thank you sir and thank for all who try to help me in this problem


thanx a lot

marwan
No Events found!

Top