1752800 Members
5632 Online
108789 Solutions
New Discussion юеВ

Mount Tape

 
SOLVED
Go to solution
Khalid Shakoor
Regular Advisor

Mount Tape

Hi
I am new in this forum and I am unable to mount tape.
Can some one help me?

Thanks in Advance
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Mount Tape

Shalom Khalid,

Normally you don't mount the tape like a filesystem.

You use utilities to read the tape.

Lets say the tape has a tar file on it.

tar xvf /dev/rmt/0m

This will extract a tar file on the tape.

First lets check and see if there is a tape drive.

ioscan -fnC tape.

If not, go to sam kernel and put the stape driver in the kernel, this will require a reboot.

Tell me more about the tape and I'll tell you how to attack the issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jollyjet
Valued Contributor

Re: Mount Tape

Khalid,

ioscan -fnC tape will show whether the tape driver is connected or not.
to check whether the tape is there in the disk use diskinfo -v /dev/rmt/0mn

it gives a result if a tape is loaded.

if you need to take a ignite backup (only os back up not data backup)

use make_tape_recovery.

this will take nearly 30 mins you os will get backup in tape. if you need to push your data in tape use the tar command.
Khalid Shakoor
Regular Advisor

Re: Mount Tape

Thanks SEP/ Jollyjet

Dear if I have 4 number of tapes two are OS backup of different Machine and 2 are data back up of different machine and by mistake all tape mixed and not mention on tape that its OS back up or its Data Backup. How can I check that this is OS backup and this is Data Backup?
In this Scenario I need to manually check and restore data or OS one by one?

Torsten.
Acclaimed Contributor

Re: Mount Tape

For the ignite tapes check the content:

# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn


For the data backups, try to read the tapes with your backup software.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: Mount Tape

The answer to the last question depends on how the backups were done.

It's possible to recovery any individual file from an Ignite tape but its easier to get files off the normal tape backup.

At this point since the tapes are not properly labeled, you'll need to follow the previous post and dump the contents of the tape to screen to see what is on each one.

Label them as you go.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Khalid Shakoor
Regular Advisor

Re: Mount Tape

Thank you.