- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- secondary swap
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
05-20-2002 02:04 PM
05-20-2002 02:04 PM
secondary swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 02:08 PM
05-20-2002 02:08 PM
Re: secondary swap
Boot the machine normally at this point.
By the way, if you have swap, it should be mirrored to avoid just this kind of problem. Ideally, you should be able to replace your disk and never shutdown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 03:27 PM
05-20-2002 03:27 PM
Re: secondary swap
I agree with Clay. A way to shorten the prodedure slightly is *not* to leave single user mode yet edit (remove) the 'fstab' entry with 'awk' (since a copy of 'awk' resides in '/sbin' (available in single-user mode).
First find the secondary swap space. Remember that primary swap is never decleared in /etc/fstab.
# /sbin/cat /etc/fstab
Now having found the device file on which your secondary swap lived (e.g. /dev/vg01/lvol7) do:
# /sbin/mv /etc/fstab /etc/fstab.old
# /sbin/awk '! /\dev\/vg01\/lvol7/ {print $0}' /etc/fstab.old > /etc/fstab
# /sbin/chmod 644 /etc/fstab
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 10:06 PM
05-20-2002 10:06 PM
Re: secondary swap
I would consider this a workaround and would recommend investing in a possible HW problem with the enclosure.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 05:49 AM
05-21-2002 05:49 AM
Re: secondary swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 06:07 AM
05-21-2002 06:07 AM
Re: secondary swap
Ofcourse you can comment the secondary swap and restart the system but then I was wondering that you should definaltely have some more fielsystems on the secondary disks , do they aslo give some error , in wither case my recommnedation would be to disable the secondary swap and then look for the problem recitfy it and then enable it again.
All the best.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 06:13 AM
05-21-2002 06:13 AM
Re: secondary swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 06:29 AM
05-21-2002 06:29 AM
Re: secondary swap
Secondary swap was not mirrored...
One thing i realize was the system did not shutdown neither crashed..
Another thing i realize was i can not connect via telnet..., because the system cant reserve swap ...
It is enough...
I guess that you dont need to unreference secondary swap at boot, because system will not be able to add to swap ( it was broken.. no?, so it could not be up).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 06:37 AM
05-21-2002 06:37 AM
Re: secondary swap
As you already had errors (hardware) on the disks, I would do the following:
1) Check the enclosure and disks with the help of a hardware engineer
2) Run STM tools and find out any errors
3) Check the disks with dd or fsck
4) Replace any HDD which have errors on it.
5) Reconfigure swap space if needed
6) Mirror the swap spaces if possible.
As you had errors on the secondary swap, the possibility of a crash is less. But you will not get a NORMAL system operation. If I ever get a hardware error with a disk (especially swap), I would replace it immediately !
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 06:56 AM
05-21-2002 06:56 AM
Re: secondary swap
I misread the IF . Now IF this happens :
1. GO is good in single user mode .
2. Drop the secondary swap and also the filesystems associated with that disk enclosure.
3.Hence all the app and database associated with those disks.
Comment the secondary swap and you are good to go.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 07:08 AM
05-21-2002 07:08 AM
Re: secondary swap
If all the lvols on the supposed failing disk are mirrored.... dont worry...
Just call for a new disk, and you will be able to replace w/o reboot.
Yes, swap will reserve space in the available disk.