Moving Swap file
Andy Graybeal
andy.graybeal at casanueva.com
Tue Mar 15 13:00:49 UTC 2011
Hello,
I'd like to move our swap file onto our RAID array.
This is my fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/mapper/buddleia_vg-root_lv / ext4
relatime,errors=remount-ro 0 1
/dev/mapper/data_vg-home_lv /home ext4 relatime 0
2
/dev/mapper/data_vg-srv_lv /srv ext4 acl,relatime 0
2
/dev/mapper/buddleia_vg-swap_lv none swap sw
0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdf1 /media/maxtor ntfs-3g rw 0 0
root at buddleia:~#
/srv is where all our data lives.
Should I make a swap file? I'm reading this:
https://help.ubuntu.com/community/SwapFaq
It looks like making a swap partition would be best, but I'm afraid to
mess around with partitions because I'm afraid of messing up. I'd
rather do this when I have some downtime. Maybe re-do the whole
partitions scheme.
Can I simply follow the SwapFaq instructions for making a swapfile and
comment out my current swap partition in fstab?
thanks,
Andy
More information about the ubuntu-users
mailing list