Re: make_depots hangs (476 Views)
Reply
Advisor
SergejK_1
Posts: 17
Registered: ‎05-31-2006
Message 1 of 20 (476 Views)

make_depots hangs

Hi!
Here is the problem:
I got ISO image mounted on dir /iso1
When i start command:
make_depots -r B.11.23 -s /iso1
Everything is going fine but after a while (10-15 min) it hangs. In logs no errors, no warnings ...
I've leave it over night but again it hangs ...
I tried with 2 differents ISO's and it hangs in both cases :(

Please look at attached swagent.log file.
Machine has 16GB RAM, and ~100GB free disk space ...



Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,958
Registered: ‎03-06-2006
Message 2 of 20 (476 Views)

Re: make_depots hangs

>Copying fileset "PHCO_37027.PAUX-JPN-S-MAN,r=1.0" (1833 of 3105).

You might want to try tarring off your ISO to see how far it gets.
You could also try using swcopy(1m) to see where that hangs/ends.

What does "tusc -fp -ea -o tusc.out make_depot ..." show?
Please use plain text.
Advisor
SergejK_1
Posts: 17
Registered: ‎05-31-2006
Message 3 of 20 (476 Views)

Re: make_depots hangs

Sorry i didn't understand what you mean with command "tusc" ...

#> tusc -fp -ea -o tusc.out make_depots
sh: tusc: not found.
Please use plain text.
Honored Contributor
rariasn
Posts: 1,135
Registered: ‎08-09-1999
Message 4 of 20 (476 Views)

Re: make_depots hangs

Please use plain text.
Honored Contributor
rariasn
Posts: 1,135
Registered: ‎08-09-1999
Message 5 of 20 (476 Views)

Re: make_depots hangs

Please use plain text.
Honored Contributor
rariasn
Posts: 1,135
Registered: ‎08-09-1999
Message 6 of 20 (476 Views)

Re: make_depots hangs

Hi,

Verify make_depot log file.

# more /var/opt/ignite/logs/make_depots

rgs,
Please use plain text.
Advisor
SergejK_1
Posts: 17
Registered: ‎05-31-2006
Message 7 of 20 (476 Views)

Re: make_depots hangs

i tried:

#> tar xfv HPUX_11v3_DVD_1_March_2010.iso
directory checksum error
Please use plain text.
Honored Contributor
rariasn
Posts: 1,135
Registered: ‎08-09-1999
Message 8 of 20 (476 Views)

Re: make_depots hangs

Hi,

How to use the ISO image format

HP-UX
nohup pfs_mountd &
nohup pfsd &
pfs_mount -o xlat=UNIX pathToIso mountPoint


http://h20229.www2.hp.com/downloads/iso_format.html

rgs
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,958
Registered: ‎03-06-2006
Message 9 of 20 (476 Views)

Re: make_depots hangs

>rariasn: How to use the ISO image format
>nohup pfs_mountd

This is NOT how to use an ISO image if you can help it. Especially on 11.31 with ISOIMAGE-ENH.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,958
Registered: ‎03-06-2006
Message 10 of 20 (476 Views)

Re: make_depots hangs

>tar xfv HPUX_11v3_DVD_1_March_2010.iso
>directory checksum error

Did it list any files before it got that error?
Please use plain text.
Advisor
SergejK_1
Posts: 17
Registered: ‎05-31-2006
Message 11 of 20 (476 Views)

Re: make_depots hangs

>Did it list any files before it got that error?

No it didn't.

BTW: I am using ISOIMAGE-ENH with cdfs cumulative patch and it mount iso file in the following way:

mount /ISO_IMAGES/HPUX_11v3_DVD_1_March_2010.iso /iso1

Looks like:
/iso1 on /dev/fspd1 ro,rr,dev=6000001 on Tue May 4 12:24:56 2010


Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 12 of 20 (476 Views)

Re: make_depots hangs

OK!
I tried to make depot with original DVD and it hangs exactly at the same spot like if i make depot from ISO image ... so i guess ISO image is OK!
Something is wrong with swcopy ?! OR?

Help! :=)

Brgds,
S.
Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 13 of 20 (476 Views)

Re: make_depots hangs

Hi i have checked make_depots log file.
Here it is:

======= 05/04/10 14:14:51 METDST Beginning make_depots


NOTE: Checking SD tools version and layout_version of /DVD_ROM/
NOTE: Obtaining bundle information from /DVD_ROM/
NOTE: Processing bundles found in depot
NOTE: Beginning execution of swcopy commands
NOTE: Beginning swcopy from /DVD_ROM/ to
/var/opt/ignite/depots/Rel_B.11.31/core

======= 05/04/10 14:15:01 METDST Beginning make_depots


NOTE: Checking SD tools version and layout_version of /DVD_ROM/
WARNING: swlist of /DVD_ROM/ depot failed, cannot check layout version

NOTE: Obtaining bundle information from /DVD_ROM/
ERROR: swlist command for "/DVD_ROM/" failed.

Any clue what can be wrong?

Brgds,
S.
WARNING: Exiting due to keyboard interrupt.
ERROR: build_bundle_list failed
Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 14 of 20 (476 Views)

Re: make_depots hangs

I guess the above make_depots error log isn't the right one ... it exits due to keyboard interupt (CTRL+C).

I will paste the original one once it ends up with make_depots command ...
Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 15 of 20 (476 Views)

Re: make_depots hangs

I cannot get to the bottom of this :((
I have tried everything but cannot figured out where is the catch ... why it hangs alwasy in the same point :(

Copying fileset "PHCO_37027.PAUX-JPN-S-MAN,r=1.0" (1833 of
3105).

I tried also 11i v2 make_depots but it hangs.
I tried with original DVD it hangs ...
I have read all logs but nothing unusual :(
No error, no warnings ...
I cannot interupt make_depots command after it hangs!

This process are still running:
root 2651 1 0 08:49:57 ? 0:00 /usr/sbin/swagentd -r
root 4498 4497 0 08:58:48 pts/ta 1:16 /usr/sbin/swcopy -X /opt/ignite/lib/sd_opts -x rpc_timeout=9 -x enforce_dependencies=false -x verbose=0 -x register_new_depot=t
root 4497 4487 0 08:58:48 pts/ta 0:00 sh -c /usr/sbin/swcopy -X /opt/ignite/lib/sd_opts -x rpc_timeout=9 -x enforce_dependencies=false -x verbose=0 -x register_new_d
root 4499 2651 0 08:58:48 ? 0:49 swagent /DEPOT_IMG 5 15 ncacn_ip_tcp ncadg_ip_udp:10.49.8.171[2121] /var/adm/sw/swagentd.log

Any other advice ?
Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 16 of 20 (476 Views)

Re: make_depots hangs

All procces above i can kill except the following one:

root 4499 1 0 08:58:48 ? 0:49 swagent /DEPOT_IMG 5 15 ncacn_ip_tcp ncadg_ip_udp:10
.49.8.171[2121] /var/adm/sw/swagentd.log

This procces cannot be killed even with "-9" option...

Maybe problems in network??
Any clues?

Brgds,
S:
Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 17 of 20 (476 Views)

Re: make_depots hangs

Whole line looks like this:
root 4499 2651 0 08:58:48 ? 0:49 swagent /DEPOT_IMG 5 15 ncacn_ip_tcp ncadg_ip_udp:10.49.8.171[2121] /var/adm/sw/swagentd.log
Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 18 of 20 (476 Views)

Re: make_depots hangs

I have try with tusc also i get this when hangs occured.

tusc: ttrace(TT_PROC_RDDATA, 6762, 0, 10, 4, 9fffffffffffef10): Bad address
Please use plain text.
Frequent Advisor
Sergej Kleva
Posts: 75
Registered: ‎10-22-2003
Message 19 of 20 (476 Views)

Re: make_depots hangs

What about 2GB limit? i have check for largefiles ...it is enabled ...
i have PHKL_40531 cdfs cumulative patch.

Anything else?
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,958
Registered: ‎03-06-2006
Message 20 of 20 (476 Views)

Re: make_depots hangs

>ME: You might want to try tarring off your ISO to see how far it gets.

(Oops, that wasn't right.)

>I tried:
#> tar xfv HPUX_11v3_DVD_1_March_2010.iso
directory checksum error

Since your DVD is not a tape depot but a directory depot, it isn't a tar file.
I suppose what you could do with tar is to check the gross data integrity of your mounted ISO:
tar -cvf /dev/null /iso1

>so I guess ISO image is OK!

You could do a diff -r on the DVD and the mounted ISO image to check.

>Something is wrong with swcopy?

Are you up to date on your SD patches?

(It would be helpful if you change your user name on your other ITRC forum accounts to names like Sergej Kleva 1, ...

Then to assign points, login to SergejK, the original author.)
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation