mkdev tape problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mkdev tape problem
# 1  
Old 09-25-2007
mkdev tape problem

SCO 5.0.5

Our system hiccuped last week during mkdev tape command.
Actually was at the point where it generated a kernel to reflect the new scsi tape I was trying to add and the system appeared to hang and we aborted the process.

starting fresh no tape devices defined.
run mkdev tape define 1 scsi tape device
regen the kernel and reboot
and 3 tape devices appear (0,1,2).
Can not delete device 1 or 2 but deleting device 0 deletes all 3.

Must be value stuck somewhere in the system anyone know where to look or how to fix this ? THANK YOU
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX: mkdev is waiting in kernel at et_wait

Hi All, bash-3.2# ps -eaf | grep mkdev root 4378752 1548526 0 03:27:04 - 0:00 /usr/sbin/mkdev -c disk -s vscsi -t xyz -l virtualdev bash-3.2# Here we are trying to create a virtual device using mkdev and the device is already populated in the namespace and the corresponding ODMs... (1 Reply)
Discussion started by: Muppana Prasad
1 Replies

2. AIX

AIX 4.2.1 Tape Drive Problem

Hi, The problem I have is I want to restore my AIX machine. I have created a mksysb tape from my tape drive rmt0 and I changed the bootlist using this command "bootlist -m normal rmt0 hdisk0". However, when I display the bootlist "bootlist -om normal", it shows '-' hdisk0. I googled and... (2 Replies)
Discussion started by: AixNoob87
2 Replies

3. Shell Programming and Scripting

Restoring problem on tape!

hi all , a messages appeared to me when i was checking my /var/adm/messages and the below code was in it Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1): Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies

4. AIX

Tape Drive problem

Hi, I'm at AIX 5.3. My EOD program is giving following error while writing to tape: Can't write output cpio: Media Surface error Failed on Shell-script cd /; cpio -ocB 2 >> /autoline/misc/logs/bk.CopyToTape < /autoline/work/BACKUP.01022 1>/dev/rm0 I have tried with several new tapes,... (2 Replies)
Discussion started by: tayyabq8
2 Replies

5. UNIX for Dummies Questions & Answers

Dynix/ptx equivalents of lsdev, mkdev etc.

I am familiar with the AIX commands lsdev, mkdev, rmdev and so on. Have been asked to look at a very old Sequent Quad box running Dynix/ptx - believed to be version 2.4.1 ! These commands don't appear to be present. Can anyone please identify the equivalent Dynix commands? I've been handed the... (0 Replies)
Discussion started by: itboss
0 Replies

6. AIX

Tape Drive Problem.

Dear all, I have ultriam3 tape. It is connected my LPAR. I have that the Sl.Nos. and slot number. but run the cfmgr i am not getting the tape drive. I have fired the command lsdev -Cc tape but no reply. how will i configure the tape in LPAR? Please suggest. It is very urgent. (3 Replies)
Discussion started by: pernasivam
3 Replies

7. SCO

Tape drive problem

I replaced a HP Superstore Dat 40 with another HP Superstore Dat 40, but my backupedge software keeps putting up error code 1 (device not found) I have tried reinstaling the drive as DAT Alad stp 0 6 0 0. I'm not a computer expert but willing to have a go. I went into Backupedge to try and format a... (2 Replies)
Discussion started by: James Zwecker
2 Replies

8. UNIX for Advanced & Expert Users

Problem With Tape Backup in Solaris

Hi, OS: Solaris9, SPARC. Commands (and their outputs) that I use to backup two files of size 4GB and 10GB (respectively) are shown below: # cd /backup/daily/ # mt -f /dev/rmt/0m rew # tar -cvf /dev/rmt/0m * a Mails.bkf 4680454 tape blocks a backup.bkf too large to archive # The... (3 Replies)
Discussion started by: mahatma
3 Replies

9. AIX

Tape problem !!!!!!!!

HI !! I have problem with my tape LTO 3 on Aix o/S Into tape i have tar files the first one is /casa/immobili , the second one is /casa/giardini by shell i put command : 1) tar -xvf /dev/rmt0 2) mt -f /dev/rmt0 rewind 3) mt -f /dev/rmt0 fsf 1 4) tar -xvf /dev/rmt0 the problem is that i... (1 Reply)
Discussion started by: tt155
1 Replies

10. UNIX for Dummies Questions & Answers

Tape Backup Problem?

Hi. Can someone please tell what the following tape error message means: Read end of medium on output If you want to go on, type device/file name when ready This message comes after the terminal displays a few files from the directory I'm trying to backup. The command I'm running is: ... (1 Reply)
Discussion started by: cstovall
1 Replies
Login or Register to Ask a Question
MT(1)							      General Commands Manual							     MT(1)

NAME
mt - magnetic tape manipulating program SYNOPSIS
mt [ -f tapename ] command [ count ] DESCRIPTION
Mt is used to give commands to a magnetic tape drive. If a tape name is not specified, the environment variable TAPE is used; if TAPE does not exist, mt uses the device /dev/rmt12. Note that tapename must reference a raw (not block) tape device. By default mt performs the requested operation once. Operations may be performed multiple times by specifying count. The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. eof, weof Write count end-of-file marks at the current position on the tape. fsf Forward space count files. fsr Forward space count records. bsf Back space count files. bsr Back space count records. rewind Rewind the tape (Count is ignored). offline, rewoffl Rewind the tape and place the tape unit off-line (Count is ignored). status Print status information about the tape unit. cacheon Enable the readahead/writebehind cache on the tape unit. cacheoff Turn off the readahead/writebehind cache on the tape unit. Mt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed. The cacheon and cacheoff commands currently only apply to the TMSCP driver and then only for certain drives such as the TU81+. No error is produced by the TMSCP driver if the cache commands are used. Other drivers will return an error code since they do not recognize the MTCACHE and MTNOCACHE functions codes. See mtio(4). FILES
/dev/rmt* Raw magnetic tape interface SEE ALSO
mtio(4), tmscp(4), dd(1), ioctl(2), environ(7) 4th Berkeley Distribution December 22, 1995 MT(1)