1752754 Members
4562 Online
108789 Solutions
New Discussion юеВ

Re: Backup Problem

 
SOLVED
Go to solution
dipesh_2
Regular Advisor

Backup Problem

Hi All Experts,

I installed storage works autoloader 1/8 on hpux systme rx6600 server. i am trying to take backup on tape drive with tar but i unable to take the same. tar cvf /dev/rmt/0m /tmp
error mesg.

with mt command
mt -f /dev/rmt/0m status
error device busy
mt -f /dev/rmt/omnb rew
error : device busy
Through fbackup device /dev/rmt/0m not found

well in my ioscan output all rmt device are showing properly with hw, claimed there is no such isssu with device file.

please help me as earliest.


7 REPLIES 7
Todd McDaniel_1
Honored Contributor

Re: Backup Problem

Try the 0mn device; if that doesnt work...

Have you made sure there is no tape stuck or that the drive may need to be powered off/on?

If that is the default drive then try the command without the -f option
Unix, the other white meat.
dipesh_2
Regular Advisor

Re: Backup Problem

i tried with all options, but can't see the status of drive with mt -f /dev/rmt/0m or 0mn command

i tried with windows server and ran the ltt test, read & write working fine.

any help
Ludovic Derlyn
Esteemed Contributor

Re: Backup Problem

hi

Check if a process is not hang on the device

Else, try to delete special files and recreate bu insf -e or insf -H "hardware path"


Regards

L-DERLYN
Ganesh Balraman
Regular Advisor
Solution

Re: Backup Problem

HI,

1.Try to change the SCSI ID and recretae the device file using insf.

Finallly try with dd command .Also.

Regds
ganesh
Anshumali
Esteemed Contributor

Re: Backup Problem

Recreating the device file might help. Just check for some stuck processes on your machine by grep'ing the command wich you gave. tar?
Try to take to device offline/ online or try the another device on the machine for in between testing.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
dipesh_2
Regular Advisor

Re: Backup Problem

thanks changed the scsi id to 6 and recreateed the device files.
my ioscan output is as follow
I/O error
8170 1 /tmp/dppatch/PHSS_35909.text
64617510 1 /tmp/dppatch/PHSS_36396
26765 1 /tmp/dppatch/PHSS_36396.text
35131353 1 /tmp/dppatch/PHSS_36545
25077760 1 /tmp/dppatch/PHSS_36545.depot
16446 1 /tmp/dppatch/PHSS_36545.text
1779 1 /tmp/dppatch/README_hp-ux
5776 1 /tmp/dppatch/create_depot_hp-ux_11
8192 1 /tmp/dppatch/depot
705 1 /tmp/dppatch/depot.psf
96 1 /tmp/dppatch/depot/BUNDLE
96 1 /tmp/dppatch/depot/PHSS_35903
96 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS
96 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt
96 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni
2124 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/.CII_CS
31 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/.patch_cs
8192 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin
521927 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/asm
1628400 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/bsm
658150 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/crs
1426047 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/csm
595811 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/dbbda
929318 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/dbsm
502556 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/mmd
1086949 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/msm
589066 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/omniinstlic2
1404462 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lbin/rsm
8192 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lib
480664 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lib/lib_rdm32.so
233049 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lib/libob2eadm.so
484363 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lib/libob2ecdb.so
476652 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lib/libob2ecmn.so
253705 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/lib/libob2emmdb.so
8192 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin
572815 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/mrgcfg
791246 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/omnidbcheck
635899 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/omnidbinit
297231 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/omnidbupgrade
796766 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/omnidbutil
185770 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/omniinstlic
374913 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/omnisv
557621 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/omnitrig
96 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/utilns
96 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/utilns/HPUX
253937 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/utilns/HPUX/mcha
nge
230281 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/utilns/omnischup
g
325856 1 /tmp/dppatch/depot/PHSS_35903/OMNI-CS/opt/omni/sbin/utilns/omnitcpch
k
96 1 /tmp/dppatch/depot/PHSS_35905
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/etc
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/etc/opt
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/etc/opt/omni
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/etc/opt/omni/server
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/etc/opt/omni/server/insta
ll
31 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/etc/opt/omni/server/insta
ll/.patch_CORE
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases
8192 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
dec
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
dec/alpha
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
dec/alpha/osf1-5
13879 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
dec/alpha/osf1-5/utils.tar
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/i386
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/i386/linux-x86
13875 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/i386/linux-x86/utils.tar
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/ia64
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/ia64/linux-ia64
13875 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/ia64/linux-ia64/utils.tar
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/x86_64
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/x86_64/linux-x86-64
13875 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
gpl/x86_64/linux-x86-64/utils.tar
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
hp
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
hp/s800
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
hp/s800/hp-ux-11
13892 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
hp/s800/hp-ux-11/utils.tar
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
hp/sia64
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
hp/sia64/hp-ux-112x
13901 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
hp/sia64/hp-ux-112x/utils.tar
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
ibm
96 1 /tmp/dppatch/depot/PHSS_35905/OMNI-CORE-IS/opt/omni/databases/utils/
ibm/rs6000
# clear
# ll
total 3651904
-rw------- 1 root sys 1534 Jul 8 13:41 .ICEauthority
-rw------- 1 root sys 75 Jul 8 13:41 .TTauthority
drwx------ 6 root sys 96 Jun 20 12:56 .VRTSob
-rw------- 1 root sys 245 Jul 8 13:41 .Xauthority
drwxr-xr-x 11 root sys 8192 Jul 8 13:42 .dt
-rwxr-xr-x 1 root sys 5451 Jun 11 10:18 .dtprofile
drwx------ 3 root sys 96 Jun 20 12:15 .mozilla
-rw-r--r-- 1 root sys 10 Jun 20 12:15 .mozilla-license
-r--r--r-- 1 bin bin 964 Mar 26 2004 .profile
-rw-rw-r-- 1 root sys 23 Jun 11 14:52 .rhosts
-rw------- 1 root sys 4126 Jun 29 13:48 .sh_history
drwxr-xr-x 2 root sys 96 Jun 8 15:30 .ssh
drwxr-xr-x 6 root sys 96 Jun 8 12:56 .sw
drwxr-xr-x 2 root sys 96 Jun 9 13:05 SD_CDROM
lr-xr-xr-t 1 root sys 8 Jun 8 14:26 bin -> /usr/bin
drwxrwxrwx 2 root sys 96 Jul 23 14:09 bkup
dr-xr-xr-x 43 bin bin 8192 Jul 24 15:45 dev
dr-xr-xr-x 30 bin bin 8192 Jul 11 16:44 etc
drwxr-xr-x 4 root root 96 Jun 8 15:34 home
-rw-r--r-- 1 root sys 14530 Jun 26 13:38 ispatsw1config.txt
-rw-r--r-- 1 root sys 15710 Jun 26 13:50 ispatsw1confignew.txt
-rw-r--r-- 1 root sys 14531 Jun 26 13:20 ispatsw2config.txt
-rw-r--r-- 1 root sys 15710 Jun 26 13:41 ispatsw2confignew.txt
lr-xr-xr-t 1 root sys 8 Jun 8 14:26 lib -> /usr/lib
drwxr-xr-x 2 root root 96 Jun 8 12:33 lost+found
-rw-rw-rw- 1 root sys 17 Jun 25 11:37 mapfile
dr-xr-xr-x 1 root root 1 Jul 3 15:28 net
-rw------- 1 root sys 1869553664 Jul 24 15:50 new
dr-xr-xr-x 69 bin bin 8192 Jun 27 17:42 opt
dr-xr-xr-x 15 bin bin 8192 Jun 13 12:08 sbin
dr-xr-xr-x 8 bin bin 8192 Jul 3 15:27 stand
drwxrwxrwt 11 root root 8192 Jul 24 15:57 tmp
dr-xr-xr-x 23 bin bin 8192 Jun 11 10:19 usr
dr-xr-xr-x 23 bin bin 8192 Jun 8 16:15 var
-rw-rw-rw- 1 root sys 0 Jul 24 15:55 x
# rm new
# ll
total 416
-rw------- 1 root sys 1534 Jul 8 13:41 .ICEauthority
-rw------- 1 root sys 75 Jul 8 13:41 .TTauthority
drwx------ 6 root sys 96 Jun 20 12:56 .VRTSob
-rw------- 1 root sys 245 Jul 8 13:41 .Xauthority
drwxr-xr-x 11 root sys 8192 Jul 8 13:42 .dt
-rwxr-xr-x 1 root sys 5451 Jun 11 10:18 .dtprofile
drwx------ 3 root sys 96 Jun 20 12:15 .mozilla
-rw-r--r-- 1 root sys 10 Jun 20 12:15 .mozilla-license
-r--r--r-- 1 bin bin 964 Mar 26 2004 .profile
-rw-rw-r-- 1 root sys 23 Jun 11 14:52 .rhosts
-rw------- 1 root sys 4126 Jun 29 13:48 .sh_history
drwxr-xr-x 2 root sys 96 Jun 8 15:30 .ssh
drwxr-xr-x 6 root sys 96 Jun 8 12:56 .sw
drwxr-xr-x 2 root sys 96 Jun 9 13:05 SD_CDROM
lr-xr-xr-t 1 root sys 8 Jun 8 14:26 bin -> /usr/bin
drwxrwxrwx 2 root sys 96 Jul 23 14:09 bkup
dr-xr-xr-x 43 bin bin 8192 Jul 24 15:45 dev
dr-xr-xr-x 30 bin bin 8192 Jul 11 16:44 etc
drwxr-xr-x 4 root root 96 Jun 8 15:34 home
-rw-r--r-- 1 root sys 14530 Jun 26 13:38 ispatsw1config.txt
-rw-r--r-- 1 root sys 15710 Jun 26 13:50 ispatsw1confignew.txt
-rw-r--r-- 1 root sys 14531 Jun 26 13:20 ispatsw2config.txt
-rw-r--r-- 1 root sys 15710 Jun 26 13:41 ispatsw2confignew.txt
lr-xr-xr-t 1 root sys 8 Jun 8 14:26 lib -> /usr/lib
drwxr-xr-x 2 root root 96 Jun 8 12:33 lost+found
-rw-rw-rw- 1 root sys 17 Jun 25 11:37 mapfile
dr-xr-xr-x 1 root root 1 Jul 3 15:28 net
dr-xr-xr-x 69 bin bin 8192 Jun 27 17:42 opt
dr-xr-xr-x 15 bin bin 8192 Jun 13 12:08 sbin
dr-xr-xr-x 8 bin bin 8192 Jul 3 15:27 stand
drwxrwxrwt 11 root root 8192 Jul 24 15:57 tmp
dr-xr-xr-x 23 bin bin 8192 Jun 11 10:19 usr
dr-xr-xr-x 23 bin bin 8192 Jun 8 16:15 var
-rw-rw-rw- 1 root sys 0 Jul 24 15:55 x
# clear
# tar -tvf /dev/rmt/1m
directory checksum error
# tr f
tr: The combination of options and String parameters is not legal.
Usage: tr [ -c | -cds | -cs | -ds | -s ] [-A] String1 String2
tr [ -cd | -cs | -d | -s ] [-A] String1
# tar -ft
tar: usage tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
# clear
# tar -cvf /dev/rmt/c1t6d0BEST /tmp
tar: cannot open /dev/rmt/c1t6d0BEST
# clear
# tar -cvf /dev/rmt/1m /tmp
tar: cannot open /dev/rmt/1m
# ioscan -kfnC tape
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
tape 1 0/2/1/0/4/0.6.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/1m /dev/rmt/c1t6d0BEST
/dev/rmt/1mb /dev/rmt/c1t6d0BESTb
/dev/rmt/1mn /dev/rmt/c1t6d0BESTn
/dev/rmt/1mnb /dev/rmt/c1t6d0BESTnb
#


now i can see mt status output but not able to take backup.
tar -cvf /dev/rmt/1m /tmp
tar cannot open /dev/rmt/1m (this is the error i get)

Please help
dipesh_2
Regular Advisor

Re: Backup Problem

sorry for the earlier output.

i changed scsi id and it is wokring fine with mt.

thanks all for your suggessions