- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport and swap questions!
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
11-01-2002 06:31 AM
11-01-2002 06:31 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 06:45 AM
11-01-2002 06:45 AM
Re: vgimport and swap questions!
I am doing the cofiguration part after completing a cold install and was doing the vgimport of all my non vg00 volumes. My /etc/fstab looked like the attached file.
I used the following series of command to complete the import of the non vg00 volume groups:
For each volume group (total of 5)
#= volume group number
mkdir /dev/vg0#
mknod /dev/vg0#/group c 64 0x0#0000
vgimport -v -s -m /tmp/vg0#.rcsdhpmap /dev/vg0#
vgchange -a y /dev/vg0#
mkdir /filesystem
mount /dev/vg0#/lvolnumber_orname /filesystem
My question is, what do I need to do about swap space in the volume groups as shown within /etc/fstab????
I am little confused on that part.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 06:56 AM
11-01-2002 06:56 AM
Re: vgimport and swap questions!
Nothing, the vgimport matches the lvol information against the vgid on each disk.
The lvm information is still on your disks, you are simply re importing them back into the correct volume group
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 06:59 AM
11-01-2002 06:59 AM
SolutionAfter making your changes, issue a swapon -a command to include the additional entries. You may have to increase the kernel parameter
maxswapchunks. By the way, you may not even need the additional swap in you are running pseudoswap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 07:04 AM
11-01-2002 07:04 AM
Re: vgimport and swap questions!
# swapinfo -tam
to make sure they are in. If they are not you may need to run ..
# swapon -p 1 /dev/vg04/lvol1
# swapon -p 2 /dev/vg03/lvol2
Check it again with "swapinfo".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 07:04 AM
11-01-2002 07:04 AM
Re: vgimport and swap questions!
You don't really need to do anything special with the swap devices declared in '/etc/fstab'.
After making your directories, device files and 'vgimport'ing your volume groups you could do:
# mount -a # to mount all filesystems
# swapon -a # to activate all swap devices
Ignore the warnings from the 'mount -a' for filesystems already mounted.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 07:15 AM
11-01-2002 07:15 AM
Re: vgimport and swap questions!
Enabling device paging on /dev/vg03/lvol2. swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add paging on device /dev/vg03/lvol2.
Enabling device paging on /dev/vg04/lvol1. swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add paging on device /dev/vg04/lvol1.