How to check number of first slot on the MO or TAPE device?

Thread Tools Search this Thread
Top Forums Programming How to check number of first slot on the MO or TAPE device?
# 1  
Old 02-11-2002
How to check number of first slot on the MO or TAPE device?

I need to discover is MO or Tape device counting slots begining on 0 or 1.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. AIX

Backup to a remote tape device. Is it possible?

Hi all The situation is as follows: We need to take an mksysb image from an AIX 6.1 server. From some reason (irrelevant to this discussion) this server does not have access to a local CD-ROM or a tape drive. We do have another server with AIX 6.1 (but different technology level) which got access... (1 Reply)
Discussion started by: abohmeed
1 Replies

3. AIX

Tape device temporarily unavailable

Hi All, After (by accident) closing a session that ran a restore command I can not access the tape drive anymore. I get the following error: # tctl -f /dev/rmt0 rewind /dev/rmt0: Resource temporarily unavailable But I cannot find any processes associated with the tape device: # ps... (2 Replies)
Discussion started by: petervg
2 Replies

4. Solaris

Tape device 1cbn path not getting created

After we upgraded one PW450 machine from (networker 7.2 & solaris 9) to (networker 7.4 and solaris 10) through scratch installation Only one of two HP tape drives is shown in inquire command And we are getting strange logs in messages file (attached) For 2nd drive 1cbn character specific file... (4 Replies)
Discussion started by: kashif_islam
4 Replies

5. UNIX for Dummies Questions & Answers

How to change tape device name.

I disconected external device which was configured as rmt0. When I connect it again and run cfgmgr device name has changed (internal drive which was rmt1 is now rmt0 and external drive was rmt0 and is rmt1) and I dont know how to back it out. The thing is that for all backups I use new modell... (2 Replies)
Discussion started by: fraydey
2 Replies

6. Solaris

flarcreate to remote tape device

Hi, Someone knows hot to create a flash archive to a remote tape device? Here is my try: $flarcreate -n nereus -S -t lisdev:/dev/rmt/1n WARNING: hash generation disabled when using tape (-t) current filter settings Creating the archive... ERROR: Unable to work archive. Regards (4 Replies)
Discussion started by: spacewalker
4 Replies

7. UNIX for Advanced & Expert Users

tape device

Hi, 1- how can I find my tape device on my server ? 2-I have a backup of a data base distributed on several file system. How using tar -x can I extract from tape to each apropriate file system ? For exemple the data base was on /d1 ; /d2 ; and /d3. Now I cd to which /dn and use tar -xvf /dev/nm0... (0 Replies)
Discussion started by: big123456
0 Replies

8. UNIX for Dummies Questions & Answers

Is it possible to ufsdump to a file instead of a tape device?

Eh... what the title says. :) (8 Replies)
Discussion started by: PSC
8 Replies

9. UNIX for Advanced & Expert Users

device - > slot

Hi all.. I have a Sun Ultra 450 with a lot of drives and scsi controllers installed and i have one bad internal disk.. How can "map" ex /dev/dsk/c3t2d0s0 to a slot in the internal cabinet? Any good ideas? I dont want to remove the wrong disk :) thanks in advance.. (3 Replies)
Discussion started by: s93366
3 Replies

10. Programming

tape device

Hi, I have problem detecting my tape drive. In SAM, once I click on the either Automated Backups or Interactive Backup and Recovery icon, the screen will prompt searching for device and ..... nothing appears in the list. In the end, I have the kill the SAM process and reboot the system and... (1 Reply)
Discussion started by: jennifer
1 Replies
Login or Register to Ask a Question
PCI_CREATE_SLOT(9)						Hardware Interfaces						PCI_CREATE_SLOT(9)

pci_create_slot - create or increment refcount for physical PCI slot SYNOPSIS
struct pci_slot * pci_create_slot(struct pci_bus * parent, int slot_nr, const char * name, struct hotplug_slot * hotplug); ARGUMENTS
parent struct pci_bus of parent bridge slot_nr PCI_SLOT(pci_dev->devfn) or -1 for placeholder name user visible string presented in /sys/bus/pci/slots/<name> hotplug set if caller is hotplug driver, NULL otherwise DESCRIPTION
PCI slots have first class attributes such as address, speed, width, and a struct pci_slot is used to manage them. This interface will either return a new struct pci_slot to the caller, or if the pci_slot already exists, its refcount will be incremented. Slots are uniquely identified by a pci_bus, slot_nr tuple. There are known platforms with broken firmware that assign the same name to multiple slots. Workaround these broken platforms by renaming the slots on behalf of the caller. If firmware assigns name N to MULTIPLE SLOTS
The first slot is assigned N The second slot is assigned N-1 The third slot is assigned N-2 etc. PLACEHOLDER SLOTS
In most cases, pci_bus, slot_nr will be sufficient to uniquely identify a slot. There is one notable exception - pSeries (rpaphp), where the slot_nr cannot be determined until a device is actually inserted into the slot. In this scenario, the caller may pass -1 for slot_nr. The following semantics are imposed when the caller passes slot_nr == -1. First, we no longer check for an existing struct pci_slot, as there may be many slots with slot_nr of -1. The other change in semantics is user-visible, which is the 'address' parameter presented in sysfs will CONSIST SOLELY OF A DDDD
bb tuple, where dddd is the PCI domain of the struct pci_bus and bb is the bus number. In other words, the devfn of the 'placeholder' slot will not be displayed. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PCI_CREATE_SLOT(9)

Featured Tech Videos