add swapfile and mapping