1825764 Members
2057 Online
109687 Solutions
New Discussion

read tape drive

 
shiuhrong
New Member

read tape drive

hi, how could i read my dds4 tape media in my Linux? I try tar xvf /dev/nst0, it give me some error.
5 REPLIES 5
Joseph Loo
Honored Contributor

Re: read tape drive

hi,

did u try:

# tar tf /dev/nst0
to list files in directory
# tar tf filename.tar
to list files in tar archive

regards.
what you do not see does not mean you should not believe
shiuhrong
New Member

Re: read tape drive

tar tf /dev/nst0 not working for me.
Joseph Loo
Honored Contributor

Re: read tape drive

may i know the error message? tar tf or tar tvf should list content of the tape.

unless the device name of the tape drive is wrong??

regards.
what you do not see does not mean you should not believe
Shaikh Imran
Honored Contributor

Re: read tape drive

Hi,
Assuming that you are using DDS4 drive only.
What does this give
# mt -f /dev/nst0 status

Regards,

I'll sleep when i am dead.
Stuart Browne
Honored Contributor

Re: read tape drive

How did you create the tape?

With the tape in the drive, use:

file -s /dev/nst0; echo $?

what does it return?
One long-haired git at your service...