Operating System - HP-UX
1833792 Members
1996 Online
110063 Solutions
New Discussion

Re: SAM error when trying to list/recover from tape

 
Haitham Hamad
Regular Advisor

SAM error when trying to list/recover from tape

I am getting the following error

/usr/sam/lbin/pd_finddf.sh[127]: xargs: not found.
No device files for the selected device were found in /dev.

ioscan, ll /dev/rmt looks ok

samlog shows the following
Executing the following command:\C/usr/sam/lbin/pd_finddf.sh -H 8/16/5.0.0 -d
stape\C
@!@4@994174994@0 pd_finddf.sh: Executing the following command:\Cioscan -k -H $HW_PATH -f -n\C
to locate device files.
@!@4@994174994@0
Command completed with exit status 0.
@!@8@994174994@0
Exiting Task Manager with task pd_get_dev_files.
@!@8@994174994@0
Exiting Task Manager with task PD_GET_DF_OBJS.

4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: SAM error when trying to list/recover from tape

try ioscan -fnkd stape
and show us the o/p of the device files.
SAM is probably either looking for one that doesn't exist or one that is not attached to the HW at the HW path 8/16/5.0.0

ioscan -fnkH8/16/5.0.0

Later,
Bill
It works for me (tm)
Haitham Hamad
Regular Advisor

Re: SAM error when trying to list/recover from tape

Here is the output
#ioscan -fnkd stape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 8/16/5.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c3t0d0BESTn
/dev/rmt/0mb /dev/rmt/c3t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c3t0d0DDS
/dev/rmt/0mnb /dev/rmt/c3t0d0DDSb
/dev/rmt/c3t0d0BEST /dev/rmt/c3t0d0DDSn
/dev/rmt/c3t0d0BESTb /dev/rmt/c3t0d0DDSnb
#ioscan -fnkH 8/16/5.0.0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 8/16/5.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c3t0d0BESTn
/dev/rmt/0mb /dev/rmt/c3t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c3t0d0DDS
/dev/rmt/0mnb /dev/rmt/c3t0d0DDSb
/dev/rmt/c3t0d0BEST /dev/rmt/c3t0d0DDSn
/dev/rmt/c3t0d0BESTb /dev/rmt/c3t0d0DDSnb

Haitham Hamad
Regular Advisor

Re: SAM error when trying to list/recover from tape

I went ahead and debugged the script
/usr/sam/lbin/pd_finddf.sh and discovered that xargs disappeared from /usr/bin directory in addition to nroff, uuencode, uudecode, and write??????. Thanks.Haitham
Magdi KAMAL
Respected Contributor

Re: SAM error when trying to list/recover from tape

Hi Haitham,

First of all, try to set the requiered permession on file systems and directories in order to deny any unauthorized users to delete critical files.

Fortionatly, hp-ux is still there !!!

Magdi