1753543 Members
5575 Online
108795 Solutions
New Discussion юеВ

Re: Mounting DLT Tape...

 
Hazem Mahmoud_3
Respected Contributor

Mounting DLT Tape...

I'm having trouble mounting a DLT tape to perform a Veritas restore, can someone give me the syntax. A bunny for whoever helps me here! Here is the error I get:
# mount /dev/rmt/0mn /tmp_mnt
mount: /dev/rmt/0mn is an invalid operand

Below is the ioscan output:

# ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/2/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0DDS
/dev/rmt/0mb /dev/rmt/c2t3d0BESTb /dev/rmt/c2t3d0DDSb
/dev/rmt/0mn /dev/rmt/c2t3d0BESTn /dev/rmt/c2t3d0DDSn
/dev/rmt/0mnb /dev/rmt/c2t3d0BESTnb /dev/rmt/c2t3d0DDSnb
tape 1 0/6/2/0.3.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/1m /dev/rmt/1mnb /dev/rmt/c6t3d0BESTn
/dev/rmt/1mb /dev/rmt/c6t3d0BEST /dev/rmt/c6t3d0BESTnb
/dev/rmt/1mn /dev/rmt/c6t3d0BESTb
8 REPLIES 8
Todd McDaniel_1
Honored Contributor

Re: Mounting DLT Tape...

mount -ro dev


I bet.
Unix, the other white meat.
Hazem Mahmoud_3
Respected Contributor

Re: Mounting DLT Tape...

Here is what i get:
# mount -ro /dev/rmt/1mn /tmp_mnt
mount: /tmp_mnt was either ignored or not found in /etc/fstab


-Hazem
Todd McDaniel_1
Honored Contributor

Re: Mounting DLT Tape...

Depends on how the tape was created...what tool created it? Netbackup/omniback/fbackup?


fbackup/frecover
frecover -rNv -f /dev/rmt/0m > /tmp/listing


or Use Omniback if you have that tool can tell you a lot about the tape
Unix, the other white meat.
Hazem Mahmoud_3
Respected Contributor

Re: Mounting DLT Tape...

Netbackup.

-Hazem
Todd McDaniel_1
Honored Contributor

Re: Mounting DLT Tape...

Then you can use the Netbackup gui or command line to restore the data you wish...

Of course you must have Netbackup loaded on your server.
Unix, the other white meat.
Hazem Mahmoud_3
Respected Contributor

Re: Mounting DLT Tape...

Thanks, I'm just going to use fbackup/frecover instead of Veritas. It's too complicated for what I need to do:) Thanks for your help though!

-Hazem
henrys_1
Occasional Contributor

Re: Mounting DLT Tape...

I have the same problem, I cannot mount tape. I tried the mount -ro /dev/rmt/0m and got the invalid operand. I looked at the script, it was done with a tar command. I tried tar -tvf to look at it. It hung. Any ideas how to mount? Thanks.
Patrick Wallek
Honored Contributor

Re: Mounting DLT Tape...

You do NOT mount a tape with the mount command. It just isn't possible.

To restore from a tape, you put the tape in the drive and then run whatever the appropriate command is to restore.

If your tape drive is /dev/rmt/0m and the tape was created with tar, then you do:

1) Put the tape in the drive. Wait until the light turns green and the tape is finished loadking.

2) Do this command:

# tar -tvf /dev/rmt/0m

If it doesn't respond or errors, then a) the tape was not created with tar, or b) your tape is messed up and you have very little hope of restoring.