- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can i delete this files whitout troubles?
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
08-06-2001 03:33 AM
08-06-2001 03:33 AM
Can i delete this files whitout troubles?
I have in my hp-9000 many files in a directory named /discos/vol2/machine/sw/patch/PHSS_nnnnn where nnnnn is a number. I think that these are the patches instaled in the system when the machine was configurated in 1999 so the date shown when i do a ll of the files is 1999.
The answer is Can i remove this directory (../patch) without any problem?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 03:44 AM
08-06-2001 03:44 AM
Re: Can i delete this files whitout troubles?
It no such good idea to remove this directory "by hand".
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 03:56 AM
08-06-2001 03:56 AM
Re: Can i delete this files whitout troubles?
As said before, it's NOT a good idea to manually delete patches unless you are 100% sure you are no more needing it. This could cause a system panic !
try using the cleanup tool to remove any unneeded patches.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 04:00 AM
08-06-2001 04:00 AM
Re: Can i delete this files whitout troubles?
check wether there is any "symbolic" or "soft" link to
that directory, from "/var/adm/sw/" or below.
If not, make a backup of it (tar should be ok) and then
remove the files in there - oh and check first, if all
those files only have one name (second column of the
output of "ls -l" - if they have more than just one name
removing them in this directory does not help at all!
Then you will have to find all their names/links (the
command "find /MNTPOINT -inod ### -print" comes
to mind, where "MNTPOINT" is the mount-directory of
the filesystem we are talking about, and "###" would
be the i-node number of the file, as shown by "ls -i").
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 04:04 AM
08-06-2001 04:04 AM
Re: Can i delete this files whitout troubles?
first you can check all the patches that are install on your system with the command swlist -l product | grep -i PH
second about the dir that you said , it depent if you have a volume group name discos because the dir is not the dir that the patches are sitting
the patches are sitting in the loc. : /var/adm/sw/products
it is also depents where this dir is sitting in vg00 or in a diff vg( not the root ) if the dir is sitting on non root vg you can delete it .
my advise is : backup this files to a tape
do a make_recovery if the file
are sitting in the vg00
delete the files
if you dont know what to do dont delete it , if you need to have move space you can gain it
from other things
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 04:11 AM
08-06-2001 04:11 AM
Re: Can i delete this files whitout troubles?
try cleanup -c 1
Good luck.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 04:48 AM
08-06-2001 04:48 AM
Re: Can i delete this files whitout troubles?
I have also instaled the cleanup utility, can I use it whithout any risk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 05:07 AM
08-07-2001 05:07 AM
Re: Can i delete this files whitout troubles?
The patches are copied files from a pre patched file. Here are your possibilities.
1) You remove them but then can never remove a recalled patch.
2) You run the cleanup function (Highly recommended).
3) Try moving /var/adm/sw/patch to it's own mount point on another drive.
If you use cleanup it will remove all but the current backup. Here is an example:
You load patch PHCO_1111. It backs up /duhh.
You load patch PHCO_2222. It backs up /duhh (with PHCO_1111 fix).
You load patch PHCO_3333. It backs up /duhh (with PHCO_1111 and PHCO_2222 fix).
I recommend running the cleanup with the -i option. This will clean up the IPD at the same time.
DO NOT USE -F!!! This will remove all patches and backups. You will be completely stuck with no backout.
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 06:38 AM
08-07-2001 06:38 AM
Re: Can i delete this files whitout troubles?
Use
#cleanup -p -c 2 to see/preview all the patches that are superseeded at leaset by twice.
then use
#cleanup -c 2 to commit all patches superseeded atleast by twice, this will release space occupied by this patches.
You can also selectively commit the patches using
#swmodify -x patch_commit=true
Thanks.
Prashant Deshpande.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:09 AM
08-07-2001 07:09 AM
Re: Can i delete this files whitout troubles?
Can you please tell me what it means when you commit a superseded patch?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:28 AM
08-07-2001 07:28 AM
Re: Can i delete this files whitout troubles?
Here is some extract from man cleanup.
The cleanup -c command can be executed to commit all patches that have been superseded specified number of times. The only benefit from committing patches is that disk space will be recovered in the /var/adm/sw/save directory.
Extreme care should be used when committing patches. Once a patch has been committed, it cannot be removed from the system unless the appropriate files from the /var/adm/sw/save directory are recovered from some source, like a backup. Patches should only be committed when you are satisfied with their behavior. Recovering disk space should not be the only factor considered when committing patches.
Thanks.
Prashant Deshpande.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:37 AM
08-07-2001 07:37 AM
Re: Can i delete this files whitout troubles?
So in other words when you commit a patch it is a "commitment" to that patch saying that you are going to stick with it. But what is a superseeded patch and why are some "seeded" more then once?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 06:21 AM
08-08-2001 06:21 AM
Re: Can i delete this files whitout troubles?
Some patches are replaced/seeded more than once over a period.
eg. PHCO_17792 replaced by 19047 by 21187 by 23876.
So PHCO_17792 is seeded by 3.
Prashant.