- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove swap from a failed disk?
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
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
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
тАО04-29-2009 11:54 AM
тАО04-29-2009 11:54 AM
I have 2x36GB disk in vg00.
One of them has failed. It contained swap1, swap2 and swap4.
Is there any way to deactivate these swap partitions and remove the disk, while the machine is up?
PV Name /dev/dsk/c0t2d0s2
PV Status unavailable
Total PE 4228
Free PE 2844
Autoswitch On
Proactive Polling On
#: swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 2000 0 2000 0% 0 - 1 /dev/vg00/swap1
dev 6000 0 6000 0% 0 - 1 /dev/vg00/swap2
dev 15360 0 15360 0% 0 - 1 /dev/vg00/swap3
dev 3072 0 3072 0% 0 - 1 /dev/vg00/swap4
reserve - 19157 -19157
memory 49140 18621 30519 38%
total 79668 37778 41890 47% - 0 -
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 12:06 PM
тАО04-29-2009 12:06 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 12:07 PM
тАО04-29-2009 12:07 PM
Re: How to remove swap from a failed disk?
> Is there any way to deactivate these swap partitions and remove the disk, while the machine is up?
No, not unless you're running 11.31 and have 'swapoff'.
Prior to 11.31, you must edit '/etc/fstab' so that the secondary device swap's aren't mounted at boot/startup and then reboot to remove them.
Be guided, however, by:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 07:27 PM
тАО04-29-2009 07:27 PM
Re: How to remove swap from a failed disk?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2009 01:52 PM
тАО05-03-2009 01:52 PM
Re: How to remove swap from a failed disk?
May I offer some additional advice, to protect
you agains future disasters:
a) You have set up unbalanced paging devices (swap areas). They do not have the same or similar size.
b) You have multiple swaps on the SAME
physical disks. This is against
best practices. If you ever start using swap,
your disk I/O will be very poor.
c) You are not mirroring your swaps.
Another bad design element. If a physical
disk fails, you are likely to crash the
server.
Cheers,
VK2COT