Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 11:18:06 -0700
From:      Michelle Weeks <michelle@newtonsecond.com>
To:        "Joe Joplin" <joejop@triad.rr.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: backup problems
Message-ID:  <38D1C71A-8EB1-11D6-9688-00039368B8EC@newtonsecond.com>
In-Reply-To: <020401c22238$5e5dbe30$2201a8c0@2kpro2>

next in thread | previous in thread | raw e-mail | index | archive | help

> Have you tried to see if you could use  the mt commands?  Like
>
> mt status (this will user the default tape device)
> or mt -f  /dev/nrsa0 status

mt -f /dev/nrsa0 status shows:

louie# mt -f /dev/nrsa0 status
Mode      Density              Blocksize      bpi      Compression
Current:  0x30                 variable       0        0x3
---------available modes---------
0:        0x30                 variable       0        0x3
1:        0x30                 variable       0        0x3
2:        0x30                 variable       0        0x3
3:        0x30                 variable       0        0x3
---------------------------------
Current Driver State: at rest.
---------------------------------



>
> Also mt rewind to test commands.  If you post your dmesg with lines
> detecting the tape drive, that would help.

mt -f /dev/nrsa0 rewind seemed to work.  i did not get any error 
messages back.  i'm sorry, i'm a newbie and don't know what you mean 
when you say post your dmesg with lines detecting the tape drive.  did 
you mean to show the output that i posted above from the mt status 
command?

thank you!!

michelle



>
> Joe
>
> ----- Original Message -----
> From: "Michelle Weeks" <michelle@newtonsecond.com>
> To: <freebsd-questions@FreeBSD.ORG>
> Sent: Tuesday, July 02, 2002 6:40 PM
> Subject: backup problems
>
>
>> i have been having trouble with backups to a scsi ait tape drive.  i
>> have tried using dump and tar and get back i/o errors as well as write
>> protected and permission errors.  the tape drive will also lock-up 
>> after
>> the i/o errors.  i thought it might be caused by a dirty tape drive 
>> so i
>> cleaned it, but am still having problems.  i just entered in the
>> following command:
>>
>> tar cfv /dev/nrsa0 var
>>
>> and this was the response:
>>
>> tar: can't write to /dev/nrsa0 : Operation not permitted
>>
>> an ls -l of the device shows:
>> crw-rw----  4 root  operator   14,   1 Jul  2 16:06 nrsa0
>>
>> i am logged in as root when trying to create the backups.
>>
>> do i possibly need to rebuild the device?  or is there something i need
>> to do to configure the ait tapes - these are brand new tapes?
>>
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D1C71A-8EB1-11D6-9688-00039368B8EC>