Hello everybodyI have connected an external tape drive onto my Sun Spark station running Sun OS 4.1.3.
since am in the basic elementary stage in Sun OS, can someone answer the below questions pls
1) after connecting the tape drive to a server and rebooting does /dev/st0 show up automatically?
2) how do i find the list of files in the tape. (tar tvf /dev/st0 ???)
3) how can i retrieve files from the tape and put it on my server (tar xvf /dev/st0 ??)
Thanks very much
karthik
- Load the tape in to the drive
- Check to see if the tape is in
mt -f /dev/rmt/0 noret
- Rewind the tape
mt -f /dev/rmt/0 rewind
- Tar the files to the tape dev with the no rewind option set .
tar -cvf /dev/rmt/0n /opt
mt -f /dev/rmt/0 rewind
- Now check to see if the tar was successfull. ( What is on the Tape )
- tar -tvf /dev/rmt/0n
tar ( old vertion ) you can use tar tvf as well

Now to find your tape device
cd /dev
look at all the st device files
the tape device should have a lot of diffrent file name eg st0 st0.1
this is to allow for the no rewind device so depending on the drive you have you will have difftent devices
Thanks very much for ur reply.