- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- removing files and changing the ownership of the f...
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
11-15-2008 07:15 AM
11-15-2008 07:15 AM
removing files and changing the ownership of the file is taking long time
This is regarding some perfomance issue am facing in the recently loaded HPUX servers.
We have loaded the hpux 11.31 in BL 860 servers.we presented a mount poin from the SAN (EVA 4100).
This mout point is 100 gb in space and file occupied is 50 gb. we are trying to delete the contents of the mount point it is taking long time.
Same issue am facing while changing the owner ship of the mount point.The preswent server is having dual itanium 2 cpu and 8 gb of memory and swap space i assigned is 16 gb.
If am running the top in the server in that time its giving the 90 % idle while doing the above process.
Can u please tell some remody for this problem? I s it becuase i assigned 16 gb as swap space?
Thaxn $ rgds,
Prasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2008 07:46 AM
11-15-2008 07:46 AM
Re: removing files and changing the ownership of the file is taking long time
There are other threads that say if you want to delete the whole filesystem, it is faster to newfs than "rm -rf".
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1287338
>Is it because I assigned 16 gb as swap space?
I don't see how this will slow things down, especially if you aren't under memory pressure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2008 08:15 AM
11-15-2008 08:15 AM
Re: removing files and changing the ownership of the file is taking long time
I've not seen any definitive data that can allow me to help you.
There are many possible causes of the problem you write about:
* Too many files in one directory, which causes great stress when any operation is run against any file.
* EVA configuration issues. Is the LUN raid 1, raid 5 or some other configuration.
* I don't see how swap space is relevant without seeing data on memory use. swapinfo -tam at a most basic level. swap space allocation has little impact on what appears to be an input/output issue.
Need more information to help you.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2008 02:46 AM
11-16-2008 02:46 AM
Re: removing files and changing the ownership of the file is taking long time
This particular mount point is having the oracle database instance and its in vraid 5 in SAN stoarage.
Its HP UX 11i v3 so we were using the native multipathing for adding the alternate path in the volume group too.
If any more input u want please ask me.
aThanx and rgds,
Prasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2008 02:40 PM
11-16-2008 02:40 PM
Re: removing files and changing the ownership of the file is taking long time
The question still remains: how many files are you changing or removing? Are you using -R option for chmod? Are you using rm -r? If you don't know how many files and directories are in this mountpoint, use these commands:
find /old_oracle_moiuntpoint -type f | wc
find /old_oracle_moiuntpoint -type d | wc
If there are more than a few hundred, don't bother removing the files. Just umount the mountpoint, run newfs on the raw volume and mount it back. Billions of files and directories can be removed in a 1-2 seconds with newfs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2008 08:11 PM
11-16-2008 08:11 PM
Re: removing files and changing the ownership of the file is taking long time
Thanx for the immediate response.
We cant do the newfs because in this mount point 2 instance is running we wnat remove only one instance.
So i feel only the option is delete the files and directories.
i didnt use the -R option with the chmod for changing the permission.
I will check the total no of files while today.
Thanx and rgds,
Prasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 05:14 AM
11-17-2008 05:14 AM
Re: removing files and changing the ownership of the file is taking long time
I'm not sure how helpful this will be, other than you can schedule your nap when you do the rm or chmod. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 03:57 AM
11-18-2008 03:57 AM
Re: removing files and changing the ownership of the file is taking long time
I had my nap as u wish.
:)
Atlast we decided to go for change the two instance in s same mount point.So we can play with the filesystem command as i wish.
Still am not unserstanding that what is the difference between the deleting technology in both windows and unix. Deleting "windows" files(same size and number) is taking less than the Unix One.
Thanx to all of ur support.
Thanx and rgds,
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 03:58 AM
11-18-2008 03:58 AM