I was trying to set up the MemLiner environment in the CloudLab. I was following the instructions from the GitHub page. When I try to connect the CPU server and memory server nodes in the "2.1 Connect the CPU server with the memory server" section, I encounter the following difficulties:
- I get the "fallocate: file: fallocate failed: Operation not supported" error while executing the following command:
sudo fallocate -l ${SWAP_PARTITION_SIZE} ${swap_file}
I attempted to bypass the command by using update the code like this:
if ! sudo fallocate -l ${SWAP_PARTITION_SIZE} ${swap_file} then sudo dd if=/dev/zero of=${swap_file} bs=48M count=1K fi
- This dd command can create the swap file, but after creating the swap partition, the manage_rswap_client.sh cannot load the specified kernel modules into the kernel using the insmod command. It gets stuck while running the following command from the .sh file:
sudo insmod ./rswap-client.ko
Here is the Makefile for generating the kernel object file (i.e rswap-client.ko).
I would greatly appreciate any help you could provide me.