Difference between revisions of "Swap"
From WA2IAC Wiki
(Created page with "Can you run Linux without swap space? Yes. Should you. I would say "no". Why? I'd rather not argue the topic. Do the research yourself. Or, learn the hard way. Here is some co...") |
m (→How can I set up a swap space on my ephemeral storage drive?) |
||
Line 51: | Line 51: | ||
Make sure you create a folder at /mnt2 or wherever you plan on mounting this with mkdir. | Make sure you create a folder at /mnt2 or wherever you plan on mounting this with mkdir. | ||
− | How do I debug the problems I'm experiencing with this? | + | |
+ | === How do I debug the problems I'm experiencing with this? === | ||
You can run the rc.local script with sudo /etc/rc.local to watch it run an look for problems. sudo fdisk -l should show your new partitions after it runs. If that looks ok, try mounting your devices with sudo mount /dev/xvdb1. This will use the configuration you've saved in fstab. If that fails, try playing around with your mounting parameters and adjust fstab accordingly. | You can run the rc.local script with sudo /etc/rc.local to watch it run an look for problems. sudo fdisk -l should show your new partitions after it runs. If that looks ok, try mounting your devices with sudo mount /dev/xvdb1. This will use the configuration you've saved in fstab. If that fails, try playing around with your mounting parameters and adjust fstab accordingly. |