07-01-2007
1 Remove the tape drive and see if the problem disappears.
2 Check to see if there are any processes running that use files on homeSIX
# get a new keyboard for me<
2 Check to see if there are any processes still running that use files on home6 when you try to unmount it.
3 If the problem disappears after the tape drive is removed, see if the SCSI ID of the tape is the same as one of the disk drives, and that the SCSI system is terminated properly.
Last edited by jgt; 07-01-2007 at 03:12 PM..
10 More Discussions You Might Find Interesting
1. SCO
Dear all,
i am running SCO unix 7.1, and i had a problem with the system file that was full thus some application wasn't able to be executed; then i've done the following:
- move some core files from / directory
- Increase the system parameter FLCKREC, then rebuild the system.
- after... (1 Reply)
Discussion started by: Athos19
1 Replies
2. Shell Programming and Scripting
I have my Mac OS X program executing a shell script (a script that copies files to a drive). I want to make it so that the shell script automatically kills itself if it finds that the host .app is not running OR kill itself if the drive that it is copying files to has been unmounted. Right now what... (2 Replies)
Discussion started by: pcwiz
2 Replies
3. Shell Programming and Scripting
Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting.
basically having worked out how to mount and unmount disks using:
disktool -m *device* & disktool -e *device*
- and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies
5. Solaris
Hi guys!
Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both.
I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys.
Thanks! (4 Replies)
Discussion started by: arah
4 Replies
6. AIX
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
7. Red Hat
Hi ,
Our one of VMguest all lvm got unmounted once the machine is rebooted
when in repair state dmesg its showing an error out of memory killed process 22289 (lvm)
please refer screen shots attached
when i look the lvscan its showing all lvm are inactive
i checked throuh top there... (0 Replies)
Discussion started by: venikathir
0 Replies
8. AIX
Please help me to find or how the filesystem got unmounted without our(Admin) knowledge? :confused::confused:
It was an Application filesystem and server was not rebooted.
Customer is asking the RCA that how their filesystem got umounted?
bash-3.2# uptime
02:49PM up 193 days, 18:59, 7... (3 Replies)
Discussion started by: Thala
3 Replies
9. How to Post in the The UNIX and Linux Forums
Hi,
I making a script to check nfs mount and unmount options.
After various findings, i didn't get any solution for that.
Can you please help me in making the script.
1) I have used,
if grep -qs '/var/JETSHARE' /proc/mounts; then
echo "It's mounted."
else
echo "It's not mounted.
... (2 Replies)
Discussion started by: Santosh101
2 Replies
10. AIX
Hi Guys
I'm new here, and I need urgent help.
This my first steps to be Aix admin and I have this task
-instal Oracle database on Aix machine and create mounting point /u02 of size 100GB for Oracle Standalone database installation.
-download and install the following OS patches
- IV42025... (5 Replies)
Discussion started by: khaled_ly84
5 Replies
mt(1) General Commands Manual mt(1)
Name
mt - magnetic tape manipulating program
Syntax
mt [-f tapename] command [count]
Description
The command permits the operation of a magnetic tape drive.
Options
The -f flag option uses the specified tape device (next argument) in place of either that tape device defined by your TAPE environment
variable (.login or .profile) or /dev/nrmt0h.
Some operations may be performed multiple times by specifying count. By default, performs the requested operation once.
The command argument defines the operation to be performed. Only as many characters as are required to uniquely identify a command need be
specified.
The following is a list of commands:
bsf Backspace count files.
bsr Backspace count records.
cache Allows to use the cache buffer on a tape drive that has the cache buffer feature.
clhrdsf Clear hardware/software problem. Works with tape drives which use the TMSCP tape controller interface This command is
restricted to root access only.
clserex Clear serious exception. Works with tape drives which use the TMSCP tape controller interface
clsub Clear subsystem. Works with tape drives which use the TMSCP tape controller interface This command is restricted to
root access only.
eof, weof Write count end-of-file marks at the current position on the tape.
eotdis Disable end-of-tape detection. When the end of tape is reached, the tape will run off the reel. Only the superuser
can issue this command. The command remains in effect for the device until end-of-tape detection is enabled with the
eoten command.
eoten Enable end-of-tape detection. When the end-of-tape markers are reached, the tape is halted on the reel, between the
two end-of-tape markers. Only the superuser can issue this command. The command remains in effect for the device
until end-of-tape detection is disabled with the eotdis command. This is the default mode after a system boot.
fsf Forward-space count files.
fsr Forward-space count records.
nocache Disables the use of the cache buffer for any tape drive that has the cache buffer feature.
offline, rewoffl Rewind the tape and place the tape unit off-line.
retension Retensions the tape. Retension means moving the tape one complete pass between EOT and BOT.
rewind Rewind the tape.
status Print status information about the tape unit.
Examples
This example shows how to rewind the tape
mt -f /dev/rmt0l rewind
This example shows how to backspace the tape nmt1h three files:
mt -f /dev/nrmt1h bsf 3
This example shows how to write two end-of-file marks at the current position on tape nmt6h:
mt -f /dev/nrmt6h eof 2
Return Values
In shell scripts, returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation
failed.
Files
/dev/rmt?h or /dev/rmt?l
Raw magnetic tape interface with rewind when closed
/dev/nmt?h or /dev/nmt?l
Raw magnetic tape interface with no rewind when closed
See Also
dd(1), tar(1), ioctl(2), mtio(4), tms(4), environ(7)
mt(1)