- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: add device swap space
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
03-10-2002 03:52 PM
03-10-2002 03:52 PM
I meet some problem when I try to add deevice swap space. I first use sam to add swap kind of logical volume. Then I go to swap manager, I use "use logical volume mamager " to add device swap space. It return error "no unused logical volume".
Would someone please tell me what is wrong?
Thanks a lot.
Zhiyong
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2002 04:21 PM
03-10-2002 04:21 PM
Re: add device swap space
Are you using the whole disk approach or adding the device swap at the end of a disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2002 04:35 PM
03-10-2002 04:35 PM
SolutionIf you are using a swap area of 200 Mbytes at the end of disk c1t1d0 and the rest of it for filesystem, the newfs command is as follows
newfs -R 200 /dev/rdsk/c1t1d0
For complete disk use the swapon command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2002 04:41 PM
03-10-2002 04:41 PM
Re: add device swap space
First you need to see what swap has been
configured. I don't use SAM for any disk
related activities. See if you can follow
this. You need to be 'root'
e.g.
# swapinfo -tam
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 33 991 3% 0 - 1 /dev/vg00/lvol2
dev 4096 33 4063 1% 0 - 1 /dev/vgswap1/swap2
reserve - 3131 -3131
memory 3149 2586 563 82%
total 8269 5783 2486 70% - 0 -
If your newly created swap partition does not
appear, you may need to create it again.
# lvcreate -C y -n swapname /dev/yourvg
# lvextend -L
# swapon /dev/yourvg/swapname
add entry to /dev/fstab file like below
/dev/yourvg/swapname ... swap pri=1 0 0
Save the file and your finished. Do make sure
that you have enough space in your volume
group before starting.
# vgdisplay /dev/yourvg
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2002 04:57 PM
03-10-2002 04:57 PM
Re: add device swap space
`My life is now asking and learning, I wish It can change into replying and discussing'
I feel like that.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2002 04:59 PM
03-10-2002 04:59 PM
Re: add device swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2002 11:26 PM
03-10-2002 11:26 PM
Re: add device swap space
If you go to swap manager area then it is a normal message.
Go to Logical volume manager
create new logical volume
select fs type as swap with drop down menu press space bar to see the list.(file system,None(raw) and swap three options will be there)
I too liked your quote:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 12:38 AM
03-11-2002 12:38 AM
Re: add device swap space
Thanks a lot for all your help. I really appreciated it.
Steven, thanks for your attached documentation.
Have a good day.
zhiyong