Thank you for your advice but the tape is still not working. When I try to back up /etc to tape. It seems the process has been finish from sever screen. but when I pull out the tape, I found that the tape still in original staus, it did not wind. Folloing is the info from dmesg
---------------------------------------------------------------------- [root@Milo /root]# dmesg|grep 'st0' A#tached scsi tape st0 at scsi1, channel 0, id 6,slun 0 st0: Block limits 1 - 16777215 bytes. st0: Error with sense data: Current st09:00: sense key Unit Attentiin --------------------------------------------------------------------- Can you give me some more suggestion? Thank you very much. On Mon, 27 May 2002, R.Curtis wrote: > >>>>> "jz" == Jianping Zhu <[EMAIL PROTECTED]> writes: > > jz> Thank you for your advice. > jz> mt -f /dev/st0 status > jz> and > jz> mt -f /dev/st0 rewind > > jz> both work. > > Good then everything is talking correctly. > > jz> how can I make sure that I have permission to write to /dev/st0? > > Permissions on /dev/st0 should be such that if you are trying to use > it as a user: > > crw-rw-rw- 1 root disk 9, 0 Apr 11 10:25 /dev/st0 > > > jz> how can I check that /dev/st0 are seen from dmesg ? > > > This is not important now that you are able to talk to the drive. > > Now try something like: > > mt -f /dev/st0 rewind > > then > > tar cvf /dev/st0 /etc > > > > > jz> Thank you!! > > jz> On Mon, 27 May 2002, R.Curtis wrote: > > >> >>>>> "jz" == Jianping Zhu <[EMAIL PROTECTED]> writes: > >> > jz> I have IBM iseries 230 sever with ridhat linux 7.1on it. I recently boutgh > jz> a new tape drive for IBM (20/40GB DDS/4 4mm Internal tape dirve) > >> > jz> I think I have setup the tape drive in the server. the server can detect > jz> the tape drive now. > >> > jz> But when I try to use linux command to back up a small diretory to the > jz> tape, it does not work. The tape does not even wind. > >> > jz> I used the commamd > jz> tar cvzf /dev/st0 /home/jianping > jz> I could see the tape-drive activity indicator and Catridge presence > jz> indicator on. But When the process finished, I found nothing had been > jz> done. the tape did not even wind(it was still in the original status). > >> > jz> What counld be the potential problem? > jz> Any suggestion will be greatly appreciated!! > >> > >> > >> How about trying to use some of the mt commands, such as > >> mt -f /dev/st0 status > >> or > >> mt -f /dev/st0 rewind > >> > >> These commands are part of the mt-st rpm and should at least tell > >> you if you can talk to the drive. > >> > >> Are you sure that you have permission to write to /dev/st0 and > >> that /dev/st0 are seen from dmesg ? > >> > >> > >> > >> -- > >> R. Curtis > >> mailto:[EMAIL PROTECTED] http://www.ccux.com > >> > >> > >> > >> _______________________________________________ > >> Redhat-list mailing list > >> [EMAIL PROTECTED] > >> https://listman.redhat.com/mailman/listinfo/redhat-list > >> > > > jz> -------------------------------- > jz> Jianping Zhu > jz> Department of Computer Science > jz> Univerity of Georgia > jz> Athens, GA 30602 > jz> Tel 706 5423900 > jz> -------------------------------- > > -- > R. Curtis > mailto:[EMAIL PROTECTED] http://www.ccux.com > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > -------------------------------- Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA 30602 Tel 706 5423900 -------------------------------- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list