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

Henry Buford III sunhelp at sunhelp.org
Wed Feb 14 07:33:28 CST 2001


I would recommend using NetBackup, but then you might think I was biased.

Henry Buford, III 
MCP, MCP+I, MCSE, Sun Certified Solaris Admin I

VERITAS Software
NetBackup DataCenter/BusinessServer Technical Support
Senior Technical Support Analyst 
VERITAS Technical Services
Tech Support: 1-800-634-4747 
http://support.veritas.com 
"Ask me about SupportNOW!" -> http://supportnow.support.veritas.com"


-----Original Message-----
From: wayne schmieder [mailto:wschmied at san-carlos.rms.slb.com]
Sent: Wednesday, February 14, 2001 3:40 AM
To: 'sunhelp at sunhelp.org'
Subject: RE: Backing up data to tape WAS [SunHELP] mt and ufsdump problem

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

or

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
ect.
-----Original Message-----
From:   Bran Tregare [SMTP:tregare at rit.com]
Sent:   Sunday, February 11, 2001 5:54 PM
To:     sunhelp at sunhelp.org
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:
>Hi
>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
>
>regards,
>Souleymane
>
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list