10 More Discussions You Might Find Interesting
1. HP-UX
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
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
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
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
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
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
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
Eh... what the title says. :) (8 Replies)
Discussion started by: PSC
8 Replies
9. UNIX for Advanced & Expert Users
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
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
strmod_add(2) System Calls Manual strmod_add(2)
NAME
strmod_add - Adds STREAMS modules and drivers
SYNOPSIS
#include <sys/stream.h> dev_t strmod_add ( dev_t devno, struct streamtab *streamtab, struct streamadm *streamadm);
PARAMETERS
The device number (cdevsw slot) to use when adding a driver. If NODEV is supplied, the first available slot is used. This parameter is
ignored for modules. A pointer to the streamtab structure that contains the entry points. The actual streamtab structure has to be allo-
cated permanently in the driver's data space (as specified by System V Release 3.2). A pointer to the streamadm structure that contains
the administration parameters for the STREAMS module or driver. The actual streamadm structure is needed only for the duration of the
call. It does not have to be allocated permanently by the caller.
DESCRIPTION
The strmod_add() interface is used to configure STREAMS modules and drivers into the kernel. Specifically, it allows STREAMS drivers to
add entry points in character device switch tables. Modules are added to the STREAMS modules switch.
When adding a driver only, strmod_add() takes a device number, which is used to determine the device switch slot for the entry points. A
STREAMS driver can supply NODEV instead of a device number. In this case, strmod_add() finds the first available device switch slot and
returns the number actually used. If a device switch slot is already in use or if there are no slots available, NODEV is returned.
The streamtab parameter is a pointer to a traditional (System V Release 3.2) streamtab structure. The structure contains pointers to entry
points for the module's read and write queue routines.
The streamadm points to a streamadm structure. The streamadm structure provides additional information that is required under Tru64 UNIX.
NOTES
The device number can be constructed from the major number through the makedev macro, which is defined in /usr/include/sys/types.h.
RETURN VALUES
Upon successful completion, strmod_add() returns the device number associated with the device switch table. Otherwise, it returns NODEV.
RELATED INFORMATION
Data Structures: streamadm(4)
Routines: strmod_del(2) delim off
strmod_add(2)