This is a tutorial about swapping to network shared file. For now, the outline, and then I'll fill in the details (very slowly, whenever I have time).
While I'm writing this, if anybody'd like to experiment with iSCSI target/initiator, feel free to do that. The Kirkwood and MVEBU kernel I release in this forum have this capability. I could use some helps to co-author the iSCSI part of the tutorial.
I. Swap over NFS
1. Create swap file in NFS shared folder
2. Set up loop device in NFS client rootfs
3. Commands needed in NFS client rootfs
4. NFS rootfs
5. RAM disk
II. Swap over iSCSI
1. Create iSCSI target
1.1 Windows iSCSI
1.2 Linux iSCSI
2. Create swap file in iSCSI target folder
3. Create iSCSI initiator in the client rootfs
3. RAM disk
While I'm writing this, if anybody'd like to experiment with iSCSI target/initiator, feel free to do that. The Kirkwood and MVEBU kernel I release in this forum have this capability. I could use some helps to co-author the iSCSI part of the tutorial.
I. Swap over NFS
1. Create swap file in NFS shared folder
2. Set up loop device in NFS client rootfs
3. Commands needed in NFS client rootfs
4. NFS rootfs
5. RAM disk
II. Swap over iSCSI
1. Create iSCSI target
1.1 Windows iSCSI
1.2 Linux iSCSI
2. Create swap file in iSCSI target folder
3. Create iSCSI initiator in the client rootfs
3. RAM disk