cancel
Showing results for 
Search instead for 
Did you mean: 

DDS tape

 
SOLVED
Go to solution
S.S.
Super Advisor

DDS tape

Hi All,

I have planned to take ignite backup and DP backup on a new different DDS4(72gb)tapes.
After inserting the new tape in the DDS tape, the new device file will automatically shown when executing the "ioscan -fnC tape" or else should i need to manually create the device file? If manually creating the device file then in that case can you please provide me the steps please.

Also, we are using the tar backup for backing up the DP and after the backup got completed successful then after that if i have to verify the backup the following command is correct?
tar -tvf

Thanks!


16 REPLIES
Jupinder Bedi
Respected Contributor

Re: DDS tape

SS

if your are inserting a tape not tape drive than there is no need to create the new device fail but if you are inserting tape device than you need to createthe device file by using

insf -e

and yes for verifying the backup above command is perfect.
All things excellent are as difficult as they are rare
Johnson Punniyalingam
Honored Contributor
Solution

Re: DDS tape

Hi SS,

There are lot miss understanding on you above Question,

Ignite backup its an OS Backup tool "make_tape_recovery"
which different from Data Protector Backup (DP)HP Backup Software.

once you insert the (DSS4) tape into your tape drive for Ignite

# ioscan -fnC tape
# mt -f /dev/rmt/0mn status -> check tape has been loaded (ONLINE)
# make_tape_recovery -AvI -x inc_entire=vg00 -a /dev/rmt/0mn -> its your DDS4 tape driver path


AFAIK :- you can't use tar commands to check DP backup. (pls .take note. pax or tar command only use to check make_tape_recovery backup contents) if you want to check if the make_tape_recovery completed sucesfully you need to check under the logs file as below

# more /var/opt/ingite/lastest/log/recovery.log

DP backup -> You can use DP ->GUI to check backup status

or DP commands like (omnidb) check man pages

HTH,

Johnson

Problems are common to all, but attitude makes the difference
OldSchool
Honored Contributor

Re: DDS tape

"After inserting the new tape in the DDS tape, the new device file will automatically shown when executing the "ioscan -fnC tape" or else should i need to manually create the device file? If manually creating the device file then in that case can you please provide me the steps please."

new tape? or new tape drive? if its simply a new tape in an existing drive, then you do not need to create a device file. If its is a new tape drive, the you need to create the device file as shown.

"Also, we are using the tar backup for backing up the DP and after the backup got completed successful then after that if i have to verify the backup the following command is correct? tar -tvf "

not sure what you mean here....if you wish to verify the "tar" tape, then that is correct....not sure how that relates to DP, unless you're backing up the DP data via tar so it can be restored separately / easily.
S.S.
Super Advisor

Re: DDS tape

Hi,

I will clear you my questions:

1. DP Backups:
The following script is using to take the DP backup.

/opt/omni/sbin/omnisv.sh stop >> /var/backups/backup_omniback.log.$6$2$3 2>&1
tar cvf /dev/rmt/3mnb ./opt/omni ./var/opt/omni ./etc/opt/omni >> /var/backups/backup_omniback.log.$6$2$3 2>&1
/opt/omni/sbin/omnisv.sh start >> /var/backups/backup_omniback.log.$6$2$3 2>&1

and if suppose, if i want to take this backup in a new tape how can i do that.
---> I got the steps to take backup in new tape in your previous responses.
May i know how can i verify?

2. Ignite backup:
---> I got your steps how can i do in a new separate new DDS tape.

Kindly send me any doc related to the tape conventions ie., 0m,0mn,0mnb etc

Thank you!
S.S.
Super Advisor

Re: DDS tape

Hi,

Justnow i have inserted a new DDS tape but it is not detected by ioscan.

The ioscan output prior to inserting a new DDS tape.

# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 4 0/1/1/1.3.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/4m /dev/rmt/c3t3d0BESTn
/dev/rmt/4mb /dev/rmt/c3t3d0BESTnb
/dev/rmt/4mn /dev/rmt/c3t3d0DDS
/dev/rmt/4mnb /dev/rmt/c3t3d0DDSb
/dev/rmt/c3t3d0BEST /dev/rmt/c3t3d0DDSn
/dev/rmt/c3t3d0BESTb /dev/rmt/c3t3d0DDSnb
tape 2 0/3/1/0/4/0.12.15.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/2m /dev/rmt/c20t0d1BEST
/dev/rmt/2mb /dev/rmt/c20t0d1BESTb
/dev/rmt/2mn /dev/rmt/c20t0d1BESTn
/dev/rmt/2mnb /dev/rmt/c20t0d1BESTnb
tape 3 0/3/1/0/4/0.12.15.255.0.0.2 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/3m /dev/rmt/c20t0d2BEST
/dev/rmt/3mb /dev/rmt/c20t0d2BESTb
/dev/rmt/3mn /dev/rmt/c20t0d2BESTn
/dev/rmt/3mnb /dev/rmt/c20t0d2BESTnb

The ioscan output after the ioscan command.

# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 4 0/1/1/1.3.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/4m /dev/rmt/c3t3d0BESTn
/dev/rmt/4mb /dev/rmt/c3t3d0BESTnb
/dev/rmt/4mn /dev/rmt/c3t3d0DDS
/dev/rmt/4mnb /dev/rmt/c3t3d0DDSb
/dev/rmt/c3t3d0BEST /dev/rmt/c3t3d0DDSn
/dev/rmt/c3t3d0BESTb /dev/rmt/c3t3d0DDSnb
tape 2 0/3/1/0/4/0.12.15.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/2m /dev/rmt/c20t0d1BEST
/dev/rmt/2mb /dev/rmt/c20t0d1BESTb
/dev/rmt/2mn /dev/rmt/c20t0d1BESTn
/dev/rmt/2mnb /dev/rmt/c20t0d1BESTnb
tape 3 0/3/1/0/4/0.12.15.255.0.0.2 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/3m /dev/rmt/c20t0d2BEST
/dev/rmt/3mb /dev/rmt/c20t0d2BESTb
/dev/rmt/3mn /dev/rmt/c20t0d2BESTn
/dev/rmt/3mnb /dev/rmt/c20t0d2BESTnb

Can you please help me.

Thank you.

Steven Schweda
Honored Contributor

Re: DDS tape

> Justnow i have inserted a new DDS tape but
> it is not detected by ioscan.

Please read more carefully.

> new tape? or new tape drive? if its simply
> a new tape in an existing drive, then you
> do not need to create a device file. If its
> is a new tape drive, the you need to create
> the device file as shown.


> tape 4 0/1/1/1.3.0 stape CLAIMED DEVICE HP C7438A

A quick Google search for "C7438A" suggests
that that's a DDS (DDS5, actually) tape
drive. What were you expecting to see?


> Kindly send me any doc related to the tape
> conventions ie., 0m,0mn,0mnb etc

man mt
man 7 mt

http://docs.hp.com/en/B2355-60130/mt.7.html


As usual, some basic information about your
system, like, say, output from
uname -a
might be helpful.
Johnson Punniyalingam
Honored Contributor

Re: DDS tape

>>>>> /opt/omni/sbin/omnisv.sh stop >> /var/backups/backup_omniback.log.$6$2$3 2>&1
tar cvf /dev/rmt/3mnb ./opt/omni ./var/opt/omni ./etc/opt/omni >> /var/backups/backup_omniback.log.$6$2$3 2>&1
/opt/omni/sbin/omnisv.sh start >> /var/backups/backup_omniback.log.$6$2$3 2>&1 <<<

As per Above its not DP backup - > You are using "tar command to " backup /opt/omni "Data proctector mount points"

>>and if suppose, if i want to take this backup in a new tape how can i do that. <<<<<<<

new tape means ? another new tape media or another tape driver path.

if its new tape media no need to do any changes just (insert new tape media ) follow your above steps


if you are going to use another tape drive path

you need to replace tape driver path /dev/rmt/3mnb to /dev/rmt/Xmnb X- refer to avaiable tape drive device path which you can get from "ioscan -fnC tape"

Example :-

2>&1
tar cvf /dev/rmt/4mnb ./opt/omni ./var/opt/omni ./etc/opt/omni



2 >>>Kindly send me any doc related to the tape conventions ie., 0m,0mn,0mnb etc <<

man pages, -> like below

man mt & man tar -> give some ideas -> tape conventions

Problems are common to all, but attitude makes the difference
S.S.
Super Advisor

Re: DDS tape

Hi Johnson,

I want to take a DP backup because we are going to install a path which is related to DP. So we thought to take a DP backup.

Taking the DP backup with the script [posted earlier] is enough? If not kindly help me how can i do that.

Kindly suggest me.

Thanks & Regards
Johnson Punniyalingam
Honored Contributor

Re: DDS tape

>>>I want to take a DP backup because we are going to install a path which is related to DP. So we thought to take a DP backup<<

Are you going to Install patch ??

make_tape_recovery -> much enough,

>>>Taking the DP backup with the script [posted earlier] is enough?<<

Yes its enough
Problems are common to all, but attitude makes the difference
S.S.
Super Advisor

Re: DDS tape

Hi Johnson,

We are going to install the patch PHSS_40079 which is a DP Patch.

Also, if i want to verify the DP backup the following command is correct?

#tar -tvf


Thank you.
Johnson Punniyalingam
Honored Contributor

Re: DDS tape

yes, you are right
Problems are common to all, but attitude makes the difference
S.S.
Super Advisor

Re: DDS tape

Hi,

How can i check that how old is the tape medium.

Thanks.
Johnson Punniyalingam
Honored Contributor

Re: DDS tape

>>How can i check that how old is the tape medium<<

AFAIK -> we can't check, unless "physical label" mentioned in the tape medium,
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: DDS tape

have happen find how old is your backup tapes ?
Problems are common to all, but attitude makes the difference
S.S.
Super Advisor

Re: DDS tape

Hi Johnson,
I didn't find the date in the label of tape medium. It just labeled as the name of the tape medium only.
Btw, i have successfully taken the backups to the new tape medium.
I just inserted the new medium into the drive and triggered the backup.

Thank you.
S.S.
Super Advisor

Re: DDS tape

Thank you.