1839682 Members
2913 Online
110153 Solutions
New Discussion

swap space

 
Donna Powell
Advisor

swap space

I posted a question at the beginning of the week, now I can't find it so here we go again:
I have 2 pieces of swap space, 1 in vg00 and an extra piece in vg01/ lvol2. what I would like to do is remove /dev/vg01 and put the swap space on another lvol. In my original request I was told to comment out the entry in the fstab and reboot, and the system would not recognize the lvol, But what I am really looking to do is bring the system to single user mode remove vg01 and recreate logical volumes over again. If anyone has a step by step help doc on this I would appreciate a copy
1 REPLY 1
G. Vrijhoeven
Honored Contributor

Re: swap space

Hi,

on the running system:
1. create a backup of /dev/vg01/lvol1 (and other logical volumes ) if you like to keep it.
2. comment out the entry in /etc/fstab
3. shutdown the system

interrupt the booting and :
1. po pri is (signle user mode)
2. mount /usr
3. cd /tmp
4. vgexport /dev/vg01 (creates a mapfile so cd/tmp)
5. start the system to multy user mode (init 3)

Now you can create a new volume group.

Hope this will help

Gideon