I have FreeNAS installed on an old 30GB drive. When adding a zpool I added it through the CLI and chose not to have any swap space on them. Since I have 8GB of RAM I figured that should be enough.
However, when doing large file transfers (more than 100GB) to the raidz1 array, I still get some crashes that seem to be related to memory. I would therefore like to have some swap space for those occasions.
I don't want to use a SATA port just for swap, so I figured it could be placed on the main OS drive.
In the FAQ it's stated that it's possible to add more partitions. I was considering reorganizing and creating an extended partition so that it would be possible to add more, but since that's a bit of a hassle I started to see if I could just merge two of them or something similar.
After looking around I could not find any reference to partition number 2. So I set up a test system in virtualbox and tried deleting that partition and then creating a swap partition on the remaining 18GB of the drive, with partition index 2.
So far it looks like the system is working fine.
But before I try this on my primary system it would be really nice to know if partition number 2 is actually used for something that I have missed?
However, when doing large file transfers (more than 100GB) to the raidz1 array, I still get some crashes that seem to be related to memory. I would therefore like to have some swap space for those occasions.
I don't want to use a SATA port just for swap, so I figured it could be placed on the main OS drive.
In the FAQ it's stated that it's possible to add more partitions. I was considering reorganizing and creating an extended partition so that it would be possible to add more, but since that's a bit of a hassle I started to see if I could just merge two of them or something similar.
After looking around I could not find any reference to partition number 2. So I set up a test system in virtualbox and tried deleting that partition and then creating a swap partition on the remaining 18GB of the drive, with partition index 2.
So far it looks like the system is working fine.
But before I try this on my primary system it would be really nice to know if partition number 2 is actually used for something that I have missed?