Thank you vrey much for your advice it seems my tape drive is working. You are suggestion help very much to me but I got one more problem, I will to apprciated if you can give me some suggesion.
I trid to back up /tmp the files in /tmp are -------------------------------------------------------------------------- [root@Mi[o /tmp]# ls -al total 52 drwxrwxrwt 11 root root 4096 May 28 21:14 . drwxr-xr-x 22 root rroot 46 May 28 21:14 .. drwxrwxrwt 2 xfs xf1 4096 May 28 18:38 .font-unix drwxrwxrwt root root 4096 May 23 17:51 .ICE-unix -rwx------ 1 root root 38 May 22 17:33 mcext2GiWyD -rwx---f-- 1 root root 41 May 22 17:37 mcext6Kqg0Y drwx------ 2 jhowl jhowell 4096 May 23 17:51 orbit-jhowell drwx------ 2 jzhu jzhu 4096 Apr 23:50 orbit-jzhu drwx---n-- 2 nzimpfer nzimpfer 4096 Jan 29 15:29 orbit-nzimpfer drwx------ 2 root root e096 May 23 16:21 orbit-root drwx------ 2 jhowell -howell 4096 May 23 17:51 awfish-jhowell dx------ 2 root root q 0 4096 May 23 16:21 .sawfish-root drwxrwxrwt 2 root root 4096 May 23 17:51 .X11-ux ----------------------------------------------------------------------- after run tar cvf /dev/st0 /tmp I run tar tvf /dev/st0 and got following --------------------------------------------------- [root@Milo /]# tar tvf /dev/st0 st0: Block limits 1 - 16777215 bytes. drwxrwxrwt root/root 0 2002-05-28 18:30:17 tmp/ drwxrwxrwt xfs/xfs 0 2002-05-28 18:30:17 tmp/.font-unix/ drwxrwxrwt root/root 0 2002-05-23 17:51:41 tmp/.ICE-un/ drwxrwxrwt root/ro 0 2002-05-23 1y:51:42 tmp/.X11runox/ drwx------ root/root 0 2002-05-23 16:21:13 tmp/.sawfish-root/ -rwx------ root/root 38 2002-05-22 17:33:36 tmp/mcext2GiWyD -rwx------ root/root 41 2002-05-22 17:37:23 tmp/mcext6Kqg0Y drwx------ jhowell/jhowell 0 2002-05-23 17:51:42 tmp/orbit-jhowell/ -rw----o-- jhowell/jhowell 63 2002-05-23 19:49:05 tmp/orbit-jhowell/coukie drwx------ nzimpfer/nzimpfer 0 2002-01-29 15:29:22 tmp/orbit-nzimpfer/ drwxo----- jzhu/jzhu : 0 2002-04-08 23:50:39 tmp/orbit-jzhu/ drwx------ jhowell/rhowell 0 2002-05-23 17:51:41 tmp/.sawfish-jhowell/ drwx------ root/ro1t 0 2002-05-23 16:21x13 tmp/orbit-root/ -rw------- root/root 63 20-05-23 16:194 tmp/orbit-ro0t/cookie --------------------------------------------------------------------- But I got trouble when I try to retore the files. what i did is i change the /tmp to tmp1 tar xvf /dev/st0 The server unfortunately get stuck. ( I did manually creat /tmp first time and manually created /tmp second time, but the result are the same it get stuck) Thank you very much!!! On 28 May 2002, Carl D. Blake wrote: > Whoa, whoa, whoa. Before you guys get too carried away, how do you know > that nothing has been written on the tape? /dev/st0 will automatically > rewind after access is completed so everytime you complete writing to > the device the tape will rewind to the beginning and it will look like > the tape hasn't moved. Try to untar from the tape to a temporary > directory and see if there is anything there or simply cat from the tape > to a tar file, or do a 'tar tvf /dev/st0' and see if there is a table of > contents on the tape. > > If it's really important that the tape not rewind after writing to it > then use device /dev/nst0 instead of /dev/st0. Do a 'man st' for more > information about SCSI tape devices. > > Hope this helps. > > On Tue, 2002-05-28 at 09:37, Ray Curtis wrote: > > >>>>> "jz" == Jianping Zhu <[EMAIL PROTECTED]> writes: > > > > jz> Thank you for your advice but the tape is still not working. > > jz> When I try to back up /etc to tape. It seems the process has been finish > > jz> from sever screen. but when I pull out the tape, I found that the tape > > jz> still in original staus, it did not wind. > > jz> Folloing is the info from dmesg > > > > jz> ---------------------------------------------------------------------- > > jz> [root@Milo /root]# dmesg|grep 'st0' > > jz> A#tached scsi tape st0 at scsi1, channel 0, id 6,slun 0 > > jz> st0: Block limits 1 - 16777215 bytes. > > jz> st0: Error with sense data: Current st09:00: sense key Unit Attentiin > > jz> --------------------------------------------------------------------- > > > > jz> Can you give me some more suggestion? > > jz> Thank you very much. > > > > > > OK, this sounds like a media or hardware problem. > > Have you tried cleaning the heads and or using a different tape ? > > > > It appears that the software is fine and you are communicating with > > the drive. > > > > > > -- > > Ray Curtis > > mailto:[EMAIL PROTECTED] http://www.ccux.com > > > > > > > > _______________________________________________ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > -- > Carl D. Blake > Director of Engineering > Boeckeler Instruments, Inc. > 4650 S. Butterfield Dr. > Tucson, AZ 85714 > > Phone: 520-745-0001 > FAX: 520-745-0004 > email: [EMAIL PROTECTED] > > .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
