Swap & fstab on Linux Mint 17 Cinnamon

E

EmJay.Au

Guest
Hiya guys!!!
I'm trying to get two swap partitions running.
Creating them was no problem.
The problem is to get them the same priority for interleaving.
One used to be able to change priority by just adding a line in fstab.
I'm on Linux Mint 17 Cinnamon and there's not priority setting in fstab.
Would anyone know where it is now hidden and how to proceed..

Thanx a million
 


OP
R

rstanley

Guest
Hiya guys!!!
I'm trying to get two swap partitions running.
Creating them was no problem.
The problem is to get them the same priority for interleaving.
One used to be able to change priority by just adding a line in fstab.
I'm on Linux Mint 17 Cinnamon and there's not priority setting in fstab.
Would anyone know where it is now hidden and how to proceed..

Thanx a million
Please see my response to your other message at:

http://www.linux.org/threads/partitioning-tips-and-ideas.6322/page-2#post-22499
 
OP
R

ryanvade

Guest
Hiya guys!!!
I'm trying to get two swap partitions running.
Creating them was no problem.
The problem is to get them the same priority for interleaving.
One used to be able to change priority by just adding a line in fstab.
I'm on Linux Mint 17 Cinnamon and there's not priority setting in fstab.
Would anyone know where it is now hidden and how to proceed..

Thanx a million
You can just add it to fstab.
For example:
Code:
/dev/sda1 none swap defaults,pri=100 0 0
/dev/sdb2 none swap defaults,pri=10  0 0
If you have more than one swap file or swap partition you should consider assigning a priority value (0 to 32767) for each swap area. The system will use swap areas of higher priority before using swap areas of lower priority.
 
OP
E

EmJay.Au

Guest
You can just add it to fstab.
For example:
Code:
/dev/sda1 none swap defaults,pri=100 0 0
/dev/sdb2 none swap defaults,pri=10  0 0
This what I have in the fstab file:

# swap was on /dev/sda5/ during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx none swap sw 0 0
# swap was on /dev/mmcblk0p1/ during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx none swap sw 0 0

but in swapon summary, I have:

/dev/sda5/ partition 2078716 -2
/dev/mmcblk0p1/ partition 2080764 -1

?????
 
OP
R

ryanvade

Guest
Code:
/dev/mmcblk0p1/
is an SD card. Is there an SD card inserted?
 
OP
C

curtaintwitcher

Guest
Multiple swap partitions (load balancing) for a single hard disk on a regular desktop system is completely pointless. Are you seeing high swap usage as it is or is this just some idea you've read about on some random blog?
 
OP
E

EmJay.Au

Guest
Yes, I did read it and yes, call me Mythbuster if you wish, I thought I give it a thorough test, but doesn't answer my question... High swap usage will be determine by me through swappiness.. That particular system has only 2G of RAM...
I do have another sys with a SSD Raid0 and SAS Raid0 systems onto which I am trying to dual-install Win7 with LM17C; haven't found a way yet, but that won't stop me from trying...
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online

Members online


Top