05-24-2007
You can easily find the block size with the following commands.
#Change the block size to variable
chdev -l rmt0 -a block_size=0
#Read one huge block
dd if=/dev/rmt0 of=/tmp/testblock bs=128k count=1
#Find the block size with wc
wc -c /tmp/testblock
And there you have the blocksize.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Thanks for checking in.
We have this script that does a backup called Ignite on HP-UX
in this script it does everything it supposed to do accept one thing
Script
#########################################
echo
clear
cd /
echo " Please ensure there is a DLT tape in Slot 6 of the Tape... (2 Replies)
Discussion started by: nemex
2 Replies
2. AIX
Hello all,
I have just installed an HP dat72 external tape drive to an IBM 275 Intellistation (AIX 5L). It was installed as an Other SCSI Tape Drive (rmt1). I am using the Web Based System Manager at this point to do an initial backup
of a journaled file system. I am getting an error and am... (1 Reply)
Discussion started by: joeweisser
1 Replies
3. AIX
I am experimenting with one of my TSM processes, and I am trying to write something to a 4mm tape.
I tried to use the tctl command, but, I was unsuccessful.
what AiX command can I run in order to see if my output is on the tape ?
Thank You ! (0 Replies)
Discussion started by: DATDANGGADUDE
0 Replies
4. SCO
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
5. AIX
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
6. Solaris
Hi all,
I have solaris 10 sparc running and working very well
but i have problem with external SCSI tape drive DAT 72 problem
it seems to me the tape drive is manufactured by SUN microsystems
when i ran ls -l /dev/rmt/0
it reveals the following output
bash-3.00# mt -f /dev/rmt/0... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies
7. HP-UX
Hello All,
I have HP Openview storage data protector version 5.5. When I am going to write my backup I have an error message saying "Connot Open Device /dev/rmt/0mn"
Follownig is my output:
# ls -l /dev/rmt/0mn
crw-rw-rw- 2 bin bin 205 0x080140 Jan 17 16:41 /dev/rmt/0mn
# uname -a... (2 Replies)
Discussion started by: hellozishan
2 Replies
8. AIX
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
9. Hardware
I've had a scsi hard drive, scsi tape drive, and cd rom working off an adaptec 29160 controller. Everything worked great until a few days ago. I begin getting tar format errors (running sco 5.0.6) on the tape drive and occasionally the entire system would hang up while trying to access data on... (0 Replies)
Discussion started by: powwm
0 Replies
10. AIX
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
tms(7) Miscellaneous Information Manual tms(7)
NAME
tms - TMSCP magnetic tape interface
SYNOPSIS
For XMI/KDM on Alpha-based systems:
bus xmi0 at iop0 vector xmierror
controller uq0 at xmi? port kdm vector uqintr
device tape tms0 at uq0 drive 0
For MSI Bus: only MIPS-based DECsystem 5500
bus msi0 at ibus? vector msi_isr
controller dssc1 at msi0 msinode 1
device tape tms3 at dssc1 drive 3
For XMI/CI/HSC on Alpha-based systems:
bus xmi0 at iop0 vector xmierror
bus ci0 at xmi? port np vector cimna_isr
controller hsc6 at ci0 cinode 6
device tape tms3 at hsc6 drive 3
For tms devices dual ported between two controllers:
device tape tms2 at * drive 2
DESCRIPTION
The TMSCP driver provides a standard tape drive interface, as described in mtio(7). This is a driver for any controller that adheres to
the Tape Mass Storage Control Protocol (TMSCP). The TMSCP controllers communicate with the host through a packet-oriented protocol termed
the Tape Mass Storage Control Protocol.
Tape Support - Alpha-based systems
TA78, TA79, TA81, TA90, TA90E, TA91
Diagnostics
All diagnostic messages are sent to the error logger subsystem.
FILES
/dev/rmt???
/dev/nrmt???
SEE ALSO
mtio(7), MAKEDEV(8), uerf(8), tapex(8) delim off
tms(7)