- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to give secondary swap entry in /etc/fstab...
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
тАО11-18-2009 03:06 AM
тАО11-18-2009 03:06 AM
How to give secondary swap entry in /etc/fstab.
server-HPUX B.11.23
Current swapinfo output.
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 1829 6363 22% 0 - 1 /dev/vg00/lvol2
dev 6144 1833 4311 30% 0 - 1 /dev/vg00/lvswap
reserve - 10182 -10182
total 14384 13608 776 95% - 0 -
we are planning to create one more secondary swap of 4GB, please let me know how I can swapon(command syntax) this LV and what entry wants to give in fstab file.
current fstab entry is,
/dev/vg00/lvswap ... swap pri=1 0 0
Regards
Jeeva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 03:16 AM
тАО11-18-2009 03:16 AM
Re: How to give secondary swap entry in /etc/fstab.
Create the physical volume on the disk:
# pvcreate /dev/rdsk/c1t0d0
Create vg directory:
# mkdir /dev/vg14
Create the device file for your new character device:
# mknod /dev/vg14/group c 64 0x014000
NOTE: "vgnn: nn" is the vg number in decimal, "c" = character device, "64"
= driver number, "0xnn0000: nn" is the vg number in hexadecimal)
Create the volume group which will contain your secondary swap:
# vgcreate /dev/vg14 /dev/dsk/c1t0d0
Create the logical volume for your secondary swap:
# lvcreate -L 128 /dev/vg14
NOTE: "-L 128" is the size of desired swap
Verify the physical volume:
# pvdisplay /dev/dsk/c1d0d0
Verify the physical volume assigned to volume group:
# vgdisplay -v
Verify the logical volume:
# lvdisplay /dev/vg14/lvol15
Use SAM to declare your new secondary swap or use the command line:
# swapon /dev/vg14/lvol15
Verify it has been added in "/etc/fstab" when using SAM, or add it manually when using the command line.
Example:
/dev/vg14/lvol15 . swap defaults 0 0
Thanks,
Johnson
Pls assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 03:17 AM
тАО11-18-2009 03:17 AM
Re: How to give secondary swap entry in /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 08:18 AM
тАО11-18-2009 08:18 AM
Re: How to give secondary swap entry in /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2009 09:34 PM
тАО11-22-2009 09:34 PM
Re: How to give secondary swap entry in /etc/fstab.
I have completed the same through SAM>
Thanks.