- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap space increase in hp-ux11.23
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
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
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
01-31-2012 09:03 AM
01-31-2012 09:03 AM
swap space increase in hp-ux11.23
Physical ram is 8 GB
Primary swap is /dev/vg00/lv012 -8GB
I want to extend my swap is another 5 GB. Please help
My vg00 have 20 GB free space
Vg00 have software raid, please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2012 09:26 AM
01-31-2012 09:26 AM
Re: swap space increase in hp-ux11.23
You would be better off creating a new swap device as it is not easy to extend /dev/vg00/lvol2 since lvol1, lvol2 and lvol3 MUST be contiguous.
Create a new logical volume:
lvcreate -L 5120 vg00
Then activate it:
swapon /dev/vg00/lvol#
Use whatever lvol name that was assigned above.
Don't forget to add it to your /etc/fstab file like:
/dev/vg00/lvol# ... swap pri=1 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2012 10:12 PM
01-31-2012 10:12 PM
Re: swap space increase in hp-ux11.23
thanks for your update
now the i create the lv and add the lv using swapon command
my lv name is /dev/vg00/swap2
please find the below entry is correct or not
/dev/vg00/swap2 swap pri=1 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2012 05:38 AM
02-01-2012 05:38 AM
Re: swap space increase in hp-ux11.23
Hi
Don't forget to replicate de mirror to he new lvol ( this is important to have redundancy in the disks )
lvextend -m 1 /dev/vg00/lvol_created /dev/dsk/disk_device_for_mirror
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2012 05:39 AM
02-02-2012 05:39 AM
Re: swap space increase in hp-ux11.23
please reply my sugesstion
below entry is correct or not
/dev/vg00/swap2 swap pri=1 0 0
Hi Nighwish,
we need to create one more lv to mirrow the new lv is right.please advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2012 07:52 AM
02-03-2012 07:52 AM
Re: swap space increase in hp-ux11.23
after swapon lv , how to add the entry in fstab and mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2012 01:12 PM
02-03-2012 01:12 PM
Re: swap space increase in HP-UX 11.23
>how to add the entry in fstab
You just edit /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2012 11:32 PM
02-07-2012 11:32 PM
Re: swap space increase in HP-UX 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2012 11:48 PM
02-07-2012 11:48 PM
Re: swap space increase in HP-UX 11.23
>but I need NFS file system entry in /etc/fstab
What has this to do with adding that swap entry? Another new question?
You can have all sorts of entries in /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2012 11:45 AM
02-08-2012 11:45 AM
Re: swap space increase in hp-ux11.23
Rajesh,
Edit the /etc/fstab file add the below line to the end.
# vi /etc/fstab
/dev/vg00/swap2 . swap pri=1 0 0
Mirroring
lvextend -m 1 /dev/vg00/swap2 /dev/dsk/cxtxdx
the cxtxdx should be replaced with your lternate disk name.
Regds,
Pramod