- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- defragment -vn tmp_domain never completes
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
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
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
тАО02-03-2005 05:19 AM
тАО02-03-2005 05:19 AM
Tru64 V5.1B w/ PK4.
root_domain, usr_domain, var_domain, & tmp_domain on dsk0.
'# defragment -vn tmp_domain' never finishes, it sat there for 4 days before I killed it. '# defragemtn -v tmp_domain' (no -n option) works fine. Tried using the -n option on other domains and they work. It's only tmp_domain that has the problem.
'# ps -e' shows the process in a sleep state. Ran /sbin/advfs/verify on the domain and didn't find any problems with the domain.
Any ideas?
Thanks,
Vic
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 04:40 AM
тАО06-07-2005 04:40 AM
Re: defragment -vn tmp_domain never completes
From the man page of 'defragment':
Running the defragment -nv command on a domain with a large amount of meta-
data can cause it to fail. To prevent this from happening, double the size
of per_proc_data_size with the sysconfig command or specify the doubled
value in the /etc/sysconfigtab file.
Have you tried increasing that sysconfigtab parameter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 06:37 AM
тАО06-07-2005 06:37 AM
Re: defragment -vn tmp_domain never completes
Wow, I forgot I had posted that back in Feb. Anyway, this is tmp_domain and has very little on it so I don't think it's a meta-data problem.
I did track it down to a ksh script that runs all the time. Using lsof I see it has a file open on tmp_domain for some reason.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sxp.k 4394 semaskav 61u VREG 3768,707517 0 822 /cluster/members/member0/tmp (tmp_domain#tmp)
I stopped the script and defragment -vn works. Start the script again and defragment -vn stalls. I checked the script several times and it never references /tmp or /cluster/members/member0/tmp.
I don't know whether it's a bug in defragment or there's something about this script. I have this script running on other servers and defragment -vn doesn't have a problem. The other servers are at the same OS version and patch kit.
My workaround so far has simply been to not defragment tmp_domain on that server.
Thanks,
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 04:48 PM
тАО06-07-2005 04:48 PM
Re: defragment -vn tmp_domain never completes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 01:22 AM
тАО06-08-2005 01:22 AM
SolutionMost probably this sxp.k script calls a program that opens a file descriptor on /tmp and uses an flock on it.
defragment also wants to take a lock on the file that it needs to work on and probably waits forever for the first lock to be lifted.
__ Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 01:41 AM
тАО06-09-2005 01:41 AM
Re: defragment -vn tmp_domain never completes
That does seem to be the case. I put a sleep statement before the start of a program it runs and the 'defragment -vn tmp_domain' worked. Once the program started the defragment -vn stalled.
I don't see anything open on tmp_domain with lsof or fuser so I don't know what it's doing.
Anyway, why would the -vn options cause defragment to stall and not just the -v option? The -v option alone works.
Also, I have this set up on other servers and the -vn option works OK. Seems to point to something weird with this particular server.
Thanks,
Vic