- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can I change the swap device without rebooting the...
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
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
тАО08-13-2004 06:59 AM
тАО08-13-2004 06:59 AM
can I change the swap device without rebooting the server?
As I understand I have to reboot the box to take the change effect, and I can't just lvremove the old device. Am I right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2004 07:06 AM
тАО08-13-2004 07:06 AM
Re: can I change the swap device without rebooting the server?
Another way for you to do this might have been to mirror /dev/vg01/xyz to another disk, then reduce the mirror off of the disk you are going to replace. That is assuming you have Mirror Disk installed.
Once /dev/vg01/xyz is reduced off of the disk you want to replace, you could take that disk out of the VG and then replace it.
As things stand right now though, I think a reboot is your only option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2004 07:11 AM
тАО08-13-2004 07:11 AM
Re: can I change the swap device without rebooting the server?
swap devices cannot be deactivated without rebooting the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2004 07:16 AM
тАО08-13-2004 07:16 AM
Re: can I change the swap device without rebooting the server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2004 11:39 AM
тАО08-13-2004 11:39 AM
Re: can I change the swap device without rebooting the server?
Follow these steps:
pvcreate /dev/dsk/new_disk
vgextend vg01 /dev/dsk/new_disk
now find out where are allocated the PE of /dev/vg01/xyz
lvdisplay -v /dev/vg01/yxz | more
you should see the disks used by this LV
for each of them run:
pvmove -n /dev/vg01/xyz /dev/dsk/old_disk /dev/dsk/new_disk
this last command move all the PE from old_disk to new_disk transparently, even if LV is used
see http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/03/303-con.html&toc=/hpux/onlinedocs/B9106-90008/00/03/303-toc.html&searchterms=pvmove&queryid=20040813-173308
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2004 03:05 PM
тАО08-13-2004 03:05 PM
Re: can I change the swap device without rebooting the server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2004 12:45 PM
тАО08-15-2004 12:45 PM
Re: can I change the swap device without rebooting the server?
Bill Hassell, sysadmin