I am trying to mount an F2FS file system on an Ubuntu 16.04 LTS machine running Linux version 4.4.178+. When I try to run:
sudo mkfs.f2fs /dev/sda2
the system returns:
F2Fs-tools: mkfs.f2fs Ver: 1.12.0 (2018-11-12) Info: Disable heap-based policy Info: Debug level = 0 Info: Label = FirstTry Info: Trim is enabled Info: [/dev/sda2] Disk Model: VBPX HARDDISK Info: Segments per section = 1 Info: Sections per zone = 1 Info: sector size = 512 Info: total sectors = 2 (0 MB) Info: zone aligned segment0 blkaddr: 512 Error: Device size is not sufficient for F2FS volume Error: Failed to prepare a super block!!! Error: Could not format the device!!!
I believe it has to do with the number of total sectors being only 2, but cannot figure out how to change that. Any help would be greatly appreciated.