Quantcast
Channel: Rockstor Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 1913

SWAP partition at different disk

$
0
0

Hi,

I want to know how to “move” or “use” a different SWAP partition in Rockstor.

After a stock install:

# lsblk -l
NAME MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda    8:0    0   16G  0 disk
sda1   8:1    0    2M  0 part
sda2   8:2    0   64M  0 part /boot/efi
sda3   8:3    0    2G  0 part [SWAP]
sda4   8:4    0 13.9G  0 part /opt
                              /var
                              /home
                              /boot/grub2/x86_64-efi
                              /boot/grub2/i386-pc
                              /usr/local
                              /tmp
                              /.snapshots
                              /srv
                              /root
                              /

And I don’t want to have the SWAP partition (/dev/sda3) in the same boot disk. So the question is: How to not create it when installing? And how to put it in another “system” disk?

Use cases:

  • BOOT is USB memorystick, and SWAP will be placed in USB 3.0 SSD (that is NOT the boot disk).
  • BOOT is a RAID-1 mirror, and SWAP is in another fast non-RAID disk.

Please, help me to support these scenarios.
At time, the selection of SWAP partition location is a must have in production environments.

Thank you.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1913

Trending Articles