- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Soft Links
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
04-08-2005 06:22 AM
04-08-2005 06:22 AM
HP-UX 11.0
After we migrated our K system to our new L2000 a complete copy of the old system was imported into the new L2000. This was done in case something failed on the new system files were easily accessible.
Since we no longer need the Ksystem directory on the L2000 we are in the process of removing it. The Ksystem directory contains soft links to live production data on the system. What's an easy way to remove all the softlinks without removing the live data files they are attached to and then completely romoving all the files in this directory.
Plan of Action
1. Already backed up Ksystem directory
2. Remove softlinks (waiting)
3. Remove all files under Ksystem directory (waiting)
To remove the directory using rm -r is not a problem but must ensure all softlinks are removed to ensure live data is not deleted.
I know swremove can remove soft links from the software depot without deleting original files but can it also remove soft links from other directories as well.
Thanks,
Doug
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 06:28 AM
04-08-2005 06:28 AM
Re: Soft Links
# find /Ksystem_dir -type l
This will give you a list of all links in the Ksystem_dir and all its sub-directories. From there you can verify that you want to remove them and do so manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 03:57 PM
04-09-2005 03:57 PM
Re: Soft Links
When you remove a link the original file is not deleted. Allthough when changes are made to original file or any of the links file changes. So just take care before removing. See that the old files are not getting updated with the time stamp on them.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 03:25 AM
04-11-2005 03:25 AM
Re: Soft Links
Thanks,
Doug