Backing up data to tape WAS [SunHELP] mt and ufsdump problem

wayne schmieder sunhelp at
Wed Feb 14 02:40:29 CST 2001

For starters try mt -t /dev/rmt/0 status.  Thiis can retun a variety of 
messages, some are quite self explanitory, i.e.

 21 % mt -t /dev/rmt/0 status
/dev/rmt/0: no tape loaded or drive offline


mt -t /dev/rmt/1 status
Quantum DLT4000 tape drive:
sense key(0x0)= No Additional Sense   residual= 0   retries= 0
file no= 10   block no= 0

The man pages for mt, mtio, and st are quite informative and provide enough 
info to permit you to break out these messages.   More than most care to 
know about tape devices.

For serious troubles you may want to look at some of the diags such as VTS 
-----Original Message-----
From:	Bran Tregare [SMTP:tregare at]
Sent:	Sunday, February 11, 2001 5:54 PM
To:	sunhelp at
Subject:	Backing up data to tape WAS [SunHELP] mt and ufsdump problem

Shouldn't you be using TAR to get your data onto the tape drive?

  tar cvf /dev/rmt/0 *the path of the data you want to back up*

  for my box here (under solaris8) it is
         tar cvfE /dev/rmt/0 /export/home/*

that backs up all the user directories from my machine.

At 12:03 PM 2/11/01 +0000, you wrote:
>I am trying to make a backup of my data on my Sun box. I  puted a tape
>in the
>backup device.
>when I tape the command:
>  #mt -f /dev/rmt/0 fsf
>I get this error message:
>/dev/rmt/0 fsf 1 failed: I/O error
>I have change the tape. and I have shutdown the machine and restart it
>but there
>is no change.
>Could you help me. I am using solaris 2.6 on Sun Sparc Server 20
>SunHELP maillist  -  SunHELP at

SunHELP maillist  -  SunHELP at

More information about the SunHELP mailing list