LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Forgot Swap on lvm install on Slackware 13.1 (https://www.linuxquestions.org/questions/slackware-14/forgot-swap-on-lvm-install-on-slackware-13-1-a-811847/)

BoydRice 06-03-2010 12:11 AM

Forgot Swap on lvm install on Slackware 13.1
 
Hello,

Did a fresh install of 13.1 using lvm for the first time. I created swap in the logical volume but forgot to add it when I ran through the install. Do I need to just add an entry to my fstab and then swapon -va? Thanks in advance for any help.

kbp 06-03-2010 12:14 AM

Sounds good...

Richard Cranium 06-03-2010 08:42 AM

Quote:

Originally Posted by BoydRice (Post 3990866)
Hello,

Did a fresh install of 13.1 using lvm for the first time. I created swap in the logical volume but forgot to add it when I ran through the install. Do I need to just add an entry to my fstab and then swapon -va? Thanks in advance for any help.

Yes, that will work.

piratesmack 06-04-2010 12:55 AM

Here's my fstab entry for swap in case you need it
Code:

/dev/myvg/swap  swap            swap        defaults        0  0

BoydRice 06-04-2010 07:23 AM

Thank you all for the help. Just had time to try it and it worked great. Thank you again.


All times are GMT -5. The time now is 06:52 AM.