Sponsored Content
Operating Systems Linux SuSE Tape Loader Device /dev/sgN is altering after each reboot Post 302355925 by xunil321 on Thursday 24th of September 2009 05:39:47 AM
Old 09-24-2009
Tape Loader Device /dev/sgN is altering after each reboot

Dear all,
we are running SLES 11 where an iscsi tape library is
attached. To load the tape in a slot we are using for
instance the command #mtx -f /dev/sg1 load 2 which is doing
very well.
But after a server's reboot the device name of the loader is now
/dev/sg4 or /dev/sg5 I mean it is dynamic. Is there any way to
have a fixed device name for all times?

THX for any solution!
Rainer
 

10 More Discussions You Might Find Interesting

1. Solaris

mount: /dev/dsk/c0t6d0s0 no such device

I've searched through unix.com and google for this issue I am having on one particular Sun E280R with installing netbackup software from CD. I know the cd is good because i installed the software on 4 other servers right before this one. This is the issue I am seeing. vold does not mount the CD... (2 Replies)
Discussion started by: dangral
2 Replies

2. UNIX for Dummies Questions & Answers

mt command shows /dev/tape: inappropriate ioctl for device

Hello guys, on my Red Hat machine the /bin/mt status command gives the output dev/tape: inappropriate ioctl for device. This messages comes up after the Server has been rebooted. Anybody an idea? Thx masterofdesaster (8 Replies)
Discussion started by: masterofdesaste
8 Replies

3. AIX

Piping to /dev/rmt0 tape ?

I am trying to find a way to do the following on an AIX 4.2 with Korn: tar cvfpdl - . | compress > /dev/rmt0 The /dev/rmt0 is the device we use when we tar directly to it. I want to compress a folder's content to tape. Our current TAR does not have compression at all. We only have... (5 Replies)
Discussion started by: Browser_ice
5 Replies

4. Shell Programming and Scripting

ssh, bash, and /dev/stderr: no such device

Hello, When I run the following program: ssh 192.168.1.4 bash -l <<EOF > echo foo >/dev/stderr > EOF I get the following confusing error. bash: line 1: /dev/stderr: No such device or address Does anyone know why and how to fix it? I'm capturing stdout in a variable, but I... (2 Replies)
Discussion started by: brsett
2 Replies

5. IP Networking

Confirming Successful Server/Device Reboot

Hello I've created a list with IP address to servers/devices I would like to reboot and have logged the following to the /tmp before: -netstat -nrv -/etc/rc2.d/netmask -/etc/rc2.d/defaultrouter -ifconfig -a I would like to confirm that nothing changed after the reboot. I know this can be... (0 Replies)
Discussion started by: ravzter
0 Replies

6. Hardware

/dev/ttyS0: Device or resource busy

hello to everybody I have Ubuntu Lucid 10.04 installed on my Desktop and I have a PCI serial card in my computer and it has only one serial port. Actually I want to use this serial port for the serial communication and for that I executed this command : $ setserial -g /dev/ttyS and I... (0 Replies)
Discussion started by: piyush011
0 Replies

7. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

8. UNIX for Advanced & Expert Users

/dev not updated on usb device removal

Hello all :-) i'm not sure if its a beginner or advanced question but i have the following problem - now for some months after building a kernel from source (2.6.36 and now 2.6.38) the /dev/sd* entries are not removed if a remove the corresponding usb disk, sd card, what ever. i'm pretty sure... (0 Replies)
Discussion started by: apfelkuchen
0 Replies

9. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

10. Solaris

Can't find a device under /dev

Hi all, I am trying to see /dev/hwrng but can not find it. There are /dev/random and /dev/urandom but not the hwrng. Works the same config at other os. Any idea what might be happening ? Thanks (2 Replies)
Discussion started by: t35t
2 Replies
LOADERINFO(1)						      General Commands Manual						     LOADERINFO(1)

NAME
loaderinfo - report SCSI tape device info SYNOPSIS
loaderinfo -f <scsi-generic-device> DESCRIPTION
The loaderinfo command reads various information from SCSI tape loaders. Its intended use is for high-level programs that are trying to decide what the capabilities of a device are. The following are printed: Element Address Assignment Page: This tells how many elements are in the loader, and what their raw hardware addresses are. Transport Geometry Descriptor Page: Will display whether media is invertible or not (usable with some optical jukeboxes for detirmining whether to "flip" media after writing to the first side). Device Capabilities Page Currently will only display whether we can transfer between slots (i.e. whether 'mtx transfer' works). Inquiry Page Aside from the normal inquiry info, will also print out whether we have a bar code reader (for loaders that support the Exabyte extension for reporting presense of said reader). OPTIONS
The first argument, given following -f , is the SCSI generic device corresponding to your tape loader. Consult your operating system's documentation for more information (for example, under Linux these are generally start at /dev/sg0 under FreeBSD these start at /dev/pass0). Under FreeBSD, 'camcontrol devlist' will tell you what SCSI devices you have, along with which 'pass' device controls them. Under Linux, "cat /proc/scsi/scsi" will tell you what SCSI devices you have. Under Solaris 8, find /devices -name '*changer*' will display the device names for your attached changers. Make sure to configure your 'sgen' driver first. BUGS AND LIMITATIONS
This program has only been tested on Linux with a limited number of loaders (Ecrix Autopack, Exabyte 220). AVAILABILITY
loaderinfo is currently being maintained by Robert Nelson <robertnelson@users.sourceforge.net> as part of the 'mtx' suite of programs. The 'mtx' home page is http://mtx.sourceforge.net and the actual code is currently available there and via SVN from http://source- forge.net/projects/mtx. SEE ALSO
mt(1),tapeinfo(1),mtx(1) LOADERINFO1.0 LOADERINFO(1)
All times are GMT -4. The time now is 07:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy