LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mt command doesnt work properly in RHEL 5.3 (https://www.linuxquestions.org/questions/linux-server-73/mt-command-doesnt-work-properly-in-rhel-5-3-a-936849/)

sree.m 03-28-2012 05:40 AM

mt command doesnt work properly in RHEL 5.3
 
hi,

I have installed the command 'mt' in my rhel server and was trying to take the backup the filesystems to tape using 'dump' utility.After every successful backup the tape files are being appended correctly.But i am afraid i cant use mt fsf command to move the tape head to desired position.

Code:

[root@htbdb1 ~]# mt -f /dev/nst0 fsf 1

[root@htbdb1 ~]# mt -f /dev/nst0 stat
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x42 (unknown).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN

Still the tape position is at BOT.

What can be done to move the tape head to file number 1 ??

thanks in advance

Sree

TenTenths 03-28-2012 05:46 AM

Are you sure your tape drive supports the fsf command?

sree.m 03-28-2012 06:02 AM

No idea about that. How can we find that out ??? Tape drive which i am using is HP Ultrium 448 external LTO.

TenTenths 03-28-2012 06:16 AM

Quote:

Originally Posted by sree.m (Post 4638589)
No idea about that. How can we find that out ??? Tape drive which i am using is HP Ultrium 448 external LTO.

In my (limited!!!!) experience with tape drives I've found that HP drives don't really support much of the SCSI command set.

sree.m 03-30-2012 06:38 AM

Issue resolved.'bsfm' and 'fsfm' are the only commands works with this tape drive.

thanks for your help.

regards,
Sree


All times are GMT -5. The time now is 02:02 PM.