09-07-2008
How to changed Permission on Tape
I am unable to backup file on my tape drive
[root@s01 user1]# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (45010000):
BOT WR_PROT ONLINE IM_REP_EN
[root@s01 user1]# tar -czf /dev/st0 /home
tar: Removing leading `/' from member names
tar: /dev/st0: Cannot open: Read-only file system
tar: Error is not recoverable: exiting now
Here is a capture command.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies
2. UNIX for Dummies Questions & Answers
Hi there: I'm new here
Can anyone help me:
I have DS15 Alpha server : Unix 5.1B
Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit.
What is the exact comman to mount the DLTape IV??
How do i make backuo @ copy file to the tape?
Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies
3. SCO
when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several:
Status : ready beginning-of-tape
soft errors : 0
hard errors: 2
underruns: 5
My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies
4. Solaris
Hello Guruz,
Relay bad condition :mad:
Some has changed the permission to 777 recursively for /usr/bin directory by mistake. Now all the permission looks to be 777 on /usr/bin
Hence I am so many system related errors as 1 show below.
When I am trying to change the password, I am getting... (5 Replies)
Discussion started by: bullz26
5 Replies
5. OS X (Apple)
I accidentally changed to sudo chmod a=w to my /usr/bin folder on my macbook with OS 10.5.8... Please help! I can't even get into a terminal correctly cause it displays:
-bash: uname: command not found
-bash: cut: command not found
-bash: uname: command not found
-bash: cut: command not found... (6 Replies)
Discussion started by: scaryMac23
6 Replies
6. UNIX for Dummies Questions & Answers
Can any one tell me is there any command to find out who changed the permission of a file Or is there any log file so that i can find out who has changed the permission of a file?
Thanks in Advance:) (7 Replies)
Discussion started by: Uttamnsd
7 Replies
7. HP-UX
HI all,
We had created new user using the command useradd -d /home/selva -s /usr/local/bin/bash selva. But it didnt created the home directory on /home. So i manually created, copied skel files manually and changed the owner from root to selva. At the same time i observed that so many files... (6 Replies)
Discussion started by: selvaforum
6 Replies
8. AIX
Friends,
I've tried to modify the syslogs permission by using the perm option in the syslog configuration in AIX 6.1 TL 05. But its not getting applied after the configuration. Have restarted the syslog service also.
Need your help!:wall:
The below are the conf details and os versions
>... (1 Reply)
Discussion started by: novaothers
1 Replies
9. Shell Programming and Scripting
Hi All,
I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :(
which have similar names ( /var in root and var of some other directory ).:confused:
Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies
10. Linux
Hello everybody,
I have many mount points on my virtual Redhat server, two of them lost their (write) permission, so they became read-only filesystems.
I fixed this problem.
But I want to know why it happened? What is the reason behind that to avoid it again? Where can I find related logs?... (2 Replies)
Discussion started by: Mohannad
2 Replies
MT(1) General Commands Manual MT(1)
NAME
mt - magnetic tape control
SYNOPSIS
mt [-f device] [count]
DESCRIPTION
Mt is a user interface to the magnetic tape commands described in mtio(4). It allows one to space a tape forwards or backwards, write end
of file markers, etc.
With the -f option a tape device can be named, otherwise the environment variable TAPE is used if set, otherwise the default device
/dev/nrst4 is assumed. Standard input is used if the tape name is a dash (-). The count argument is used to tell how many blocks or files
to space or how many file markers to write. It may be a C-style decimal, octal or hexadecimal constant, by default "1".
Command is the action to perform, it may be one of the following, or any unambiguous prefix (like st for status):
eof, weof Write count end-of-file markers.
fsf Forward space count file markers.
fsr Forward space count records. (The size of a record depends on the tape, and may even be variable, depending on the size of
the writes.)
bsf Backwards space count files. The count may be zero to backspace to the start of the current file. (A tape device need not
support backwards movement, or may be very slow doing it. Rewinding and forward spacing may be better.)
bsr Backwards space count records. The tape is positioned after the last block of the previous file if you hit a filemark when
spacing backwards. The block count is set to -1 to indicate that the driver has no idea where it is on the previous file.
eom Forward space to the end of media.
rewind Rewind the tape.
offline, rewoffl
Rewind and take offline. This may cause some drives to eject the tape.
status Shows the status of the drive, the sense key of the last SCSI error, current file number, current record number, residual
count if the last command that encountered end-of-file, and the current block size.
retension Removes tape tension by winding and rewinding the tape completely.
erase Erases the tape completely and rewinds it.
density Sets the density code to read or write the tape to count. Density codes supported depend on the drive. This command need
not be used if the drive senses the proper density on read and can only write one density.
blksize, blocksize
Sets the block size used to read or write the tape to count. This command may be used to select a fixed block size for a
variable block size tape. This will speed up I/O for small block sizes. Use a zero count to use variable sized blocks
again.
ENVIRONMENT
TAPE Tape drive to use if set.
FILES
/dev/nrst4 Default tape device.
SEE ALSO
mtio(4), st(4).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
MT(1)