HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Copying filesystem with links to other filesystems...
Operating System - HP-UX
1833707
Members
2392
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
- Report Inappropriate Content
06-09-2002 12:28 AM
06-09-2002 12:28 AM
Copying filesystem with links to other filesystems in different hosts.
HI,
I have scenario whereby a filesystem /fs13/md6.uecommon.2/wmt8/utils/ resides on 1 fileserver, i.e fs13:
#cd /fs13/md6.uecommon.2/wmt8/utils/
# ls -l
lrwxrwxrwx ... bin->/fs12/md6.uecommon.1/utils/bin/
lrwxrwxrwx ... tools->/fs12/md6.uecommon.1/utils/tool_utils
However, the /fs12/md6.uecommon.1/ filesystems to which the contents of /fs13/md6.uecommon.2/wmt8/utils/ are pointing to resides on another fileserver, i.e fs12.
/fs12/md6.uecommon.1/ filesystems volumes are not mounted on the fileserver fs13, hence not available on fs13 fileserver.
I would like to do a rsync(differential copying), or even an rcp of the /fs13/md6.uecommon.2/wmt8/utils/ to another fileserver i.e sgfs.
Could anyone tell me how I could actually do this copying?
Note that the pointed to filesystems i.e. /fs12/md6.uecommon.2/ actually reside on a different fileserver.
I have scenario whereby a filesystem /fs13/md6.uecommon.2/wmt8/utils/ resides on 1 fileserver, i.e fs13:
#cd /fs13/md6.uecommon.2/wmt8/utils/
# ls -l
lrwxrwxrwx ... bin->/fs12/md6.uecommon.1/utils/bin/
lrwxrwxrwx ... tools->/fs12/md6.uecommon.1/utils/tool_utils
However, the /fs12/md6.uecommon.1/ filesystems to which the contents of /fs13/md6.uecommon.2/wmt8/utils/ are pointing to resides on another fileserver, i.e fs12.
/fs12/md6.uecommon.1/ filesystems volumes are not mounted on the fileserver fs13, hence not available on fs13 fileserver.
I would like to do a rsync(differential copying), or even an rcp of the /fs13/md6.uecommon.2/wmt8/utils/ to another fileserver i.e sgfs.
Could anyone tell me how I could actually do this copying?
Note that the pointed to filesystems i.e. /fs12/md6.uecommon.2/ actually reside on a different fileserver.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2002 04:41 AM
06-09-2002 04:41 AM
Re: Copying filesystem with links to other filesystems in different hosts.
Hi,
i think the most simple way of copying a directory to another server with taking care of hard- and softlinks is using tar or cpio with remsh or rexec:
on (fs13), with = sgfs
cd /path/from/;tar cf - . | rexec "cd /path/to/;tar xf -"
You may want to change some options or use cpio or pax to do it.
If you can rlogin from to without entering a password you may user remsh insteat of rexec.
You have to make sure that the third server (fs12) is mounted on with using the same mountpoints as on
Heiner
i think the most simple way of copying a directory to another server with taking care of hard- and softlinks is using tar or cpio with remsh or rexec:
on
cd /path/from/;tar cf - . | rexec
You may want to change some options or use cpio or pax to do it.
If you can rlogin from
You have to make sure that the third server (fs12) is mounted on
Heiner
if this makes any sense to you, you have a BIG problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2002 08:48 AM
06-09-2002 08:48 AM
Re: Copying filesystem with links to other filesystems in different hosts.
Chern,
Make a symbolic link on fs13 and fs12:
fs13:
/fs12 -> /fs13
on fs12:
/fs13 -> /fs12
then they can easy rsync to each other.
live free or die
harry
Make a symbolic link on fs13 and fs12:
fs13:
/fs12 -> /fs13
on fs12:
/fs13 -> /fs12
then they can easy rsync to each other.
live free or die
harry
Live Free or Die
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP