Re: !!!! My tape drive is not working, it has cost me several days
I'm not sure what is happening here. /tmp is not a great directory to try to back up since the system is changing it all the time. If you're just running some tests, I would try backing up /etc rather than /tmp. When it hangs when you try to extract from the tape does the entire system hang? Are you able to Ctrl-C the command and get back to a prompt? I was a little confused as to whether you were extracting into /tmp or into a different directory. Try extracting into a different directory other than /tmp if you didn't do that before. On Tue, 2002-05-28 at 18:45, Jianping Zhu wrote: > 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 rootrroot 46 May 28 21:14 .. > drwxrwxrwt2 xfs xf14096 May 28 18:38 .font-unix > drwxrwxrwtroot 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 04096 May 23 16:21 .sawfish-root > drwxrwxrwt2 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/root38 2002-05-22 17:33:36 tmp/mcext2GiWyD > -rwx-- root/root41 2002-05-22 17:37:23 tmp/mcext6Kqg0Y > drwx-- jhowell/jhowell 0 2002-05-23 17:51:42 tmp/orbit-jhowell/ > -rwo-- 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/root63 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, channe
Re: !!!! My tape drive is not working, it has cost me several days
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 rootrroot 46 May 28 21:14 .. drwxrwxrwt2 xfs xf14096 May 28 18:38 .font-unix drwxrwxrwtroot 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 04096 May 23 16:21 .sawfish-root drwxrwxrwt2 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/root38 2002-05-22 17:33:36 tmp/mcext2GiWyD -rwx-- root/root41 2002-05-22 17:37:23 tmp/mcext6Kqg0Y drwx-- jhowell/jhowell 0 2002-05-23 17:51:42 tmp/orbit-jhowell/ -rwo-- 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/root63 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://l
Re: !!!! My tape drive is not working, it has cost me several days
> "cdb" == Carl D Blake <[EMAIL PROTECTED]> writes: cdb> Whoa, whoa, whoa. Before you guys get too carried away, how do you know cdb> that nothing has been written on the tape? /dev/st0 will automatically cdb> rewind after access is completed so everytime you complete writing to cdb> the device the tape will rewind to the beginning and it will look like cdb> the tape hasn't moved. Try to untar from the tape to a temporary cdb> directory and see if there is anything there or simply cat from the tape cdb> to a tar file, or do a 'tar tvf /dev/st0' and see if there is a table of cdb> contents on the tape. cdb> If it's really important that the tape not rewind after writing to it cdb> then use device /dev/nst0 instead of /dev/st0. Do a 'man st' for more cdb> information about SCSI tape devices. cdb> Hope this helps. q I should have suggested that myself, I was only assuming that he knew it didn't write to the tape or move the tape by what he had said: /quote 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. quote/ -- Ray Curtis mailto:[EMAIL PROTECTED] http://www.ccux.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: !!!! My tape drive is not working, it has cost me several days
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
Re: !!!! My tape drive is not working, it has cost me several days
> "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
Re: !!!! My tape drive is not working, it has cost me several days
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 [root@Milo ]# mt -f /dev/st0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 512 bytes. Density codem0x26 (unknown to this mt)S Soft error count since last statusb0 General status bits on (4101): BOT ONLINE IM_REP_EN - 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 > 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
Re: !!!! My tape drive is not working, it has cost me several days
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
Re: !!!! My tape drive is not working, it has cost me several days
> "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
Re: !!!! My tape drive is not working, it has cost me several days
Thank you for your advice. mt -f /dev/st0 status and mt -f /dev/st0 rewind both work. how can I make sure that I have permission to write to /dev/st0? how can I check that /dev/st0 are seen from dmesg ? Thank you!! 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 > 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
Re: !!!! My tape drive is not working, it has cost me several days
> "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
!!!! My tape drive is not working, it has cost me several days
I have IBM iseries 230 sever with ridhat linux 7.1on it. I recently boutgh a new tape drive for IBM (20/40GB DDS/4 4mm Internal tape dirve) I think I have setup the tape drive in the server. the server can detect the tape drive now. But when I try to use linux command to back up a small diretory to the tape, it does not work. The tape does not even wind. I used the commamd tar cvzf /dev/st0 /home/jianping I could see the tape-drive activity indicator and Catridge presence indicator on. But When the process finished, I found nothing had been done. the tape did not even wind(it was still in the original status). What counld be the potential problem? Any suggestion will be greatly appreciated!! 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