- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: trouble adding additional drive to vg00 to inc...
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
08-27-2003 04:02 AM
08-27-2003 04:02 AM
trouble adding additional drive to vg00 to increase swap
When I tried to increase swap it said no additional physical extents available.
Did a vgdisplay -v vg00 and looked at the additional drive and saw this
PV Name /dev/dsk/c0t0d0
PV Status available
Total PE 250
Free PE 250
It's a 1gb drive and I did pvcreate on it.
What can I do to free it up so I can use it?
Never had this happen before.
Thanks for any help I can get.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 04:06 AM
08-27-2003 04:06 AM
Re: trouble adding additional drive to vg00 to increase swap
Swap space needs to be contiguous. Add a secondary swap volume (you can use SAM, even) and set the priority the same as primary. That should do it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 04:06 AM
08-27-2003 04:06 AM
Re: trouble adding additional drive to vg00 to increase swap
So just create a second swap logical volume. Make sure it is contigous and bad block relocation is off (-C y -r n)
If in doubt, use SAM to do it.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 04:10 AM
08-27-2003 04:10 AM
Re: trouble adding additional drive to vg00 to increase swap
Swap space must be contiguous(ly) allocated, so expanding primary swap isn't possible. Instead, all you need to do is create secondary device swap (one or more) as another logical volume. I suggest creating the secondary swap on a volume group other than vg00 and then setting its swap priority to a higher value (lower number, here zero) than the swap priority of primary swap which is one. In this way, preference is given to utilizing secondary swap before primary, reducing any I/O to you vg00.
Of course, you never want to swap. You should have adequate physical memory for your process needs; turn on the kernel 'swapmem_on' and therefore only use swap space for memory reservation because you have adequate memory in the first place never to have to swap (page).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 04:10 AM
08-27-2003 04:10 AM
Re: trouble adding additional drive to vg00 to increase swap
#vgextend /dev/vg00 /dev/dsk/c0t0d0
Assuming you want to add swap using all 250 extents available in vg00.
#lvcreate -l 250 -n swap2 -C y /dev/vg00
#swapon -p 1 /dev/vg00/swap2
#swapinfo -mat
then add entry in /etc/fstab file.
Ta
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 04:12 AM
08-27-2003 04:12 AM
Re: trouble adding additional drive to vg00 to increase swap
Ta
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 05:36 AM
08-27-2003 05:36 AM
Re: trouble adding additional drive to vg00 to increase swap
Thankkkkkk ya
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 05:39 AM
08-27-2003 05:39 AM
Re: trouble adding additional drive to vg00 to increase swap
I think you might have to try the point thing again (and possibly again).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 12:05 PM
08-27-2003 12:05 PM
Re: trouble adding additional drive to vg00 to increase swap
System rebooted , now for some reason it will not mount my file systems automatically. If I do a more on /etc/fstab and mount by hand all is ok. What can I do to fix
Mike