- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: please advise
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
06-04-2003 08:51 PM
06-04-2003 08:51 PM
Since I'm novice in HP-UX, I need some advice, I have 2GB of physical memory and my hp-ux 11.0 keep crashing constantly. I have made some changes to the /etc/rc.config.d/savecrash as attached for your review?
Because my /var file system does not have enough space, 1.can I sometimes move the crash files to another directory and then change to that directory just to run the Q4?
2. After changing the savecrash, can I run savecrash -vr to recreate the dump while the users are on the system?
Points will be assigned.
Thanking you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:01 PM
06-04-2003 09:01 PM
Re: please advise
You can change the path of crash dump if you feel that you dont have enough space in /var.
You can edit /etc/rc.config.d/savecrash file& change the path where you feel you have more space.& yes you can run savecrash -rv or you can give savecrash -t to directly redirct it to tape device.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:02 PM
06-04-2003 09:02 PM
Re: please advise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:06 PM
06-04-2003 09:06 PM
Re: please advise
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:15 PM
06-04-2003 09:15 PM
Re: please advise
# /sbin/savecrash -vr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:29 PM
06-04-2003 09:29 PM
Re: please advise
S.K. Chan
OK.
My /data file system has 4GB space which is enough. I want my /data file system to be the default for the crash files when the system crashes again. Do I really need to mount /data to /var/adm/crash or changing the savecrash to point to /data/crash directory will be enough?
Do I need to change the variable typeset -r DEFAULT_SAVECRASH_DIR=/var/adm/crash in the /sbin/rc1.d/S440savecrash or not? for the crash files to be saved in /data/crash during boot up?
Finally, I'm just curios if you can give me an example on how to mount my /data file system to /var/adm/crash?
Also, did you mean that I can recreate the dump while the users are using the system.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:36 PM
06-04-2003 09:36 PM
Re: please advise
I need answers for my last questions?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:37 PM
06-04-2003 09:37 PM
Re: please advise
You can mount it to /va/radm/crash inspite of /data & you can put the entry in /etc/fstab file so that you dont have to mount manually every time.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:37 PM
06-04-2003 09:37 PM
Re: please advise
I need answers for my last questions?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:39 PM
06-04-2003 09:39 PM
Re: please advise
I need answers for my last questions?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:39 PM
06-04-2003 09:39 PM
Re: please advise
You can mount it to /va/radm/crash inspite of /data & you can put the entry in /etc/fstab file so that you dont have to mount manually every time.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:40 PM
06-04-2003 09:40 PM
Re: please advise
I still answers for my last post?
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:40 PM
06-04-2003 09:40 PM
Re: please advise
I still answers for my last post?
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:40 PM
06-04-2003 09:40 PM
Re: please advise
I still answers for my last post?
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:41 PM
06-04-2003 09:41 PM
Re: please advise
Any answers for my last post please?
appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:42 PM
06-04-2003 09:42 PM
Re: please advise
You can mount it to /va/radm/crash inspite of /data & you can put the entry in /etc/fstab file so that you dont have to mount manually every time.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:45 PM
06-04-2003 09:45 PM
Re: please advise
Any answers for my last post please?
appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:46 PM
06-04-2003 09:46 PM
Re: please advise
Any answers please?
appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:47 PM
06-04-2003 09:47 PM
Re: please advise
Any answers please?
appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:56 PM
06-04-2003 09:56 PM
SolutionI did some checking for you .. since savecrash is execute in run level 1 (/sbin/rc1.d) and after "localmount" (in /sbin/rc1.d) you can safely use /data. You are on the right track ..
first create a separate dir (ie /data/crash) and then modify these ..
1) /etc/rc.config.d/savecrash
SAVECRASH=1
SAVECRASH_DIR=/data/crash
2) /sbin/init.d/savecrash
typeset -r DEFAULT_SAVECRASH_DIR=/data/crash
.. and you should be set. Your other option is "remount" the logical volume that's mounted on /data to /var/adm/crash instead, that way you don't need to mess with the changes in the above file. To do that (lets say /data is on /dev/vg01/lvol2)..
# cd /
# umount /data
==> Can only do this is no one is accessing the dir.
# mkdir /var/adm/crash
==> Create the dir if not already exist.
# mount /dev/vg01/lvol2 /var/adm/crash
==> Previous files/dirs in /data would still appear in /var/adm/crash.
To make this mount point permanent edit /etc/fstab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 10:26 PM
06-04-2003 10:26 PM
Re: please advise
Thanks S.k. Chan,
So changing
the /sbin/init.d/savecrash will save the crash files in the /data/crash by default whenever the system crashes.
Running the savecrash -vr while the users are working, does it have any impact on the users application? I need to know please.
Appreciate it,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 10:32 PM
06-04-2003 10:32 PM
Re: please advise
Thanks for your reply i dont know how much it is going to impact the user appl may be you can do after users logs out or at the time when there is less users logged in.
regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 11:11 PM
06-04-2003 11:11 PM
Re: please advise
Appreciate your input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 11:33 PM
06-04-2003 11:33 PM
Re: please advise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 12:32 AM
06-05-2003 12:32 AM
Re: please advise
I did run the savecrash -vr but still the crash files goes to /var/adm/crash/crash.x
Did you look at the attached file. Please advise.
Thanks.