- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: Duplicating directory structure problems
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2010 01:13 PM
12-13-2010 01:13 PM
Dec-13 sys: /opt/omni-old/sbin/omnisv.sh -stop
/usr/lib/hpux32/dld.so: Unable to find library 'libBrandChg.so'.
Killed
The cpio command I used was:
cd /opt/omni
find . print | cpio -pdml /DataProtector
When I list my directory from each location, there is a difference
ORIGINAL /opt/omni:
Dec-13 ngwiDB: ls -al
total 1104
drwxr-xr-x 12 root sys 8192 Sep 28 10:58 .
dr-xr-xr-x 79 bin bin 8192 Dec 13 12:51 ..
-rw-r--r-- 1 root sys 4289 Sep 15 2009 .CII_CC
-rw-r--r-- 1 root sys 1442 Sep 15 2009 .CII_CORE
-rw-r--r-- 1 root sys 3429 Sep 15 2009 .CII_CORE-IS
-rw-r--r-- 1 root sys 21439 Sep 15 2009 .CII_CS
-rw-r--r-- 1 root sys 286 Sep 15 2009 .CII_DA
-rw-r--r-- 1 root sys 218881 Sep 15 2009 .CII_DOCS
-rw-r--r-- 1 root sys 605 Aug 4 2006 .CII_DOCUMENTS
-rw-r--r-- 1 root sys 1616 Sep 15 2009 .CII_JAVAGUI
-rw-r--r-- 1 root sys 482 Sep 15 2009 .CII_MA
-rwxrwxr-x 1 root sys 3 Aug 25 2009 .Version
-r--r--r-- 1 root sys 93195 Aug 25 2009 .omnirc.TMPL
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_cc
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_core
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_cs
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_da
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_docs
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_javagui
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_ma
drwxr-xr-x 3 root sys 96 Nov 12 12:16 acs
drwxr-xr-x 2 root sys 8192 Sep 28 11:00 bin
drwxr-xr-x 4 root sys 96 Apr 2 2008 databases
drwxr-xr-x 3 root sys 96 Apr 2 2008 doc
drwxr-xr-x 3 root sys 96 Sep 28 10:58 help
drwxr-xr-x 5 root sys 96 Sep 28 10:58 java
drwxr-xr-x 4 root sys 8192 Sep 28 10:58 lbin
drwxr-xr-x 8 root sys 8192 Sep 28 10:58 lib
drwxr-xr-x 5 root sys 96 Apr 2 2008 newconfig
drwxr-xr-x 4 root sys 8192 Sep 28 10:58 sbin
-r--r--r-- 1 root sys 46650 Aug 25 2009 scsitab
NEW /DataProtector
Dec-13 ngwiDB: ls -al
total 832
drwxr-xr-x 12 root sys 6144 Dec 13 14:57 .
drwxr-xr-x 32 root root 8192 Dec 13 12:28 ..
-rw-r--r-- 1 root sys 4289 Sep 15 2009 .CII_CC
-rw-r--r-- 1 root sys 1442 Sep 15 2009 .CII_CORE
-rw-r--r-- 1 root sys 3429 Sep 15 2009 .CII_CORE-IS
-rw-r--r-- 1 root sys 21439 Sep 15 2009 .CII_CS
-rw-r--r-- 1 root sys 286 Sep 15 2009 .CII_DA
-rw-r--r-- 1 root sys 218881 Sep 15 2009 .CII_DOCS
-rw-r--r-- 1 root sys 605 Aug 4 2006 .CII_DOCUMENTS
-rw-r--r-- 1 root sys 1616 Sep 15 2009 .CII_JAVAGUI
-rw-r--r-- 1 root sys 482 Sep 15 2009 .CII_MA
-rwxrwxr-x 1 root sys 3 Aug 25 2009 .Version
-r--r--r-- 1 root sys 93195 Aug 25 2009 .omnirc.TMPL
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_cc
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_core
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_cs
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_da
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_docs
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_javagui
-rw-r--r-- 1 root sys 3 Sep 15 2009 .patch_ma
drwxr-xr-x 3 root sys 96 Dec 13 14:56 acs
drwxr-xr-x 2 root sys 1024 Dec 13 14:56 bin
drwxr-xr-x 4 root sys 96 Dec 13 14:56 databases
drwxr-xr-x 3 root sys 96 Dec 13 14:56 doc
drwxr-xr-x 3 root sys 96 Dec 13 14:57 help
drwxr-xr-x 5 root sys 96 Dec 13 14:56 java
drwxr-xr-x 4 root sys 1024 Dec 13 14:56 lbin
drwxr-xr-x 8 root sys 2048 Dec 13 14:56 lib
drwxr-xr-x 5 root sys 96 Dec 13 14:56 newconfig
drwxr-xr-x 4 root sys 1024 Dec 13 14:56 sbin
-r--r--r-- 1 root sys 46650 Aug 25 2009 scsitab
Can someone guide me on what I am missing?
Thanks much!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2010 02:31 PM
12-13-2010 02:31 PM
Re: Duplicating directory structure problems
first assumption, assume nothing.
I would recommend that you check what other file systems you have mounted under, /opt/omni,
/opt/omni/...... just in case.
Then copy the files
cd /opt/omni
find . -depth -print | cpio -padm /DataProtector
Or
cd /opt/omni
tar cvf - . | (cd /DataProtector; tar xvf -)
I hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2010 06:58 PM
12-13-2010 06:58 PM
Solutionfind /opt/omni -type d | wc -l
find /opt/omni -type f | wc -l
find /DataProtector -type d | wc -l
find /DataProtector -type f | wc -l
Note that the size of the copied directories will usually be smaller while a few files may actually be bigger. But if the counts are correct, then the copy succeeded. The step you are missing is to overlay the original directory /opt/omni with /DataProtector. DP, like many applications, is coded to run from it's installation directory. So unmount /DataProtector and remount it on top of /opt/omni:
umount /DataProtector
mount /dev/vg0ZZZ/lvolYYY /opt/omni
Now this is for testing only. The old /opt/omni still exists but is hidden under the new lvol. If everything is working, stop DP, umount the new lvol and cleanout /opt/omni. Now /opt/omni will be an empty directory, ready to be the mountpoint for the new lvol.
> /opt/omni-old...
What is that? Is that another copy of /opt/omni? Again, the problem is moving a complex installation to new directories.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2010 08:42 PM
12-13-2010 08:42 PM
Re: Duplicating directory structure problems
This fails because it likely expects the shlib to be still under opt/omni/ somewhere.
You should have shutdown omni before you copied and as Bill said, put it back under the original name. Or used a symlink.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-15-2010 12:16 PM
12-15-2010 12:16 PM
Re: Duplicating directory structure problems
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP