Thread: Change Swap location
i want change location of swap ssd (which gather poor location) mechanical hard drive (storage). tried unmount storage shrink partition , create swap partition can't seem unmount it. below fstab :
code:# /etc/fstab: static file system information. # # use 'blkid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / on /dev/sda3 during installation uuid=fb91ba53-76d5-41af-aa6f-24035b6de7a4 / ext4 discard,noatime,nodiratime, errors=remount-ro 0 1 # /boot/efi on /dev/sda1 during installation uuid=6ee3-8f18 /boot/efi vfat defaults 0 1 # /home on /dev/sda4 during installation uuid=89427c18-2e81-494e-baef-933d3216d968 /home ext4 discard,noatime,nodiratime, defaults 0 2 # swap on /dev/sda5 during installation # uuid=f531caff-a236-4f4c-a401-3b7fbc067c30 none swap sw 0 0 # storage /dev/sdb1 uuid=b3aaffec-03c9-40dd-b836-35d9346019cb /media/storage ext4 relatime,errors=remount-ro 0 2 tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
use command "swapoff" turn off swapping, can modify fstab. use "swapon"
both require sudo
initialize new swap partition "mkswap"
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Change Swap location
Ubuntu
Comments
Post a Comment