[HPADM] : Command hangs while performing "find" into "cpio"

From: Helfenbein, Henry (Henry.Helfenbein@sanmina-sci.com)
Date: Mon Nov 11 2002 - 12:20:13 EST


Hello HP Admins:

SYSTEM: C240+, HP-UX 10.20

While manually refreshing the data on a duplicate of the root disks Logical
Volumes, I ran into a problem where the "find piped into cpio" command
froze/hung, and no further copying of data occurs. I'm trying to get some
ideas as to why this happened...

Here's some info in more detail:

ROOT DISK LV's Mount Point EXTERNAL DISK LV's
/dev/vg00/lvol3 / /dev/vgroot/root
/dev/vg00/lvol1 /stand /dev/vgroot/boot
/dev/vg00/lvol9 /var /dev/vgroot/lvol9
/dev/vg00/lvol7 /usr /dev/vgroot/lvol7
/dev/vg00/lvol8 /usr/local /dev/vgroot/lvol8
/dev/vg00/lvol6 /tmp /dev/vgroot/lvol6
/dev/vg00/lvol5 /opt /dev/vgroot/lvol5
/dev/vg00/lvol4 /genesis /dev/vgroot/lvol4

Here's the process I was performing in more detail:

I manually mount an individual partition: "mount dev/vgroot/lvol9
/mnt";
Verify that I'm seeing what I'm supposed to be seeing: "bdf -l | grep /mnt"
Then "cd /mnt" to the mount point and then "pwd" to verify location;
Then I wipe out the data with "rm -r * ", and then "ls -al" to verify it's
all gone;
Then "cd /var", verify with a "pwd";
Then "find . -xdev -depth -print | cpio -pxdmv /mnt".

BTW, this only happened when copying the "/var" directory trees. When the
copy gets to /var/tmp it hangs at certain files. So I went and deleted these
files (zero length) and I still have the hanging issues. I can "Ctrl C" out
of the copy, but if I don't it just hangs there indefinitely. It does copy
about 90% of the data in /var to my external disks logical volume but not
the total source data like the other LV's.

Any ideas out there on what might be wrong here??? I will summarize!

Thanks in advance,
Henry Helfenbein
UNIX Systems Administrator
SANMINA-SCI, Phoenix

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:22 EDT