Closed mpotane closed 3 years ago
mkfs.ext4: Invalid argument while setting blocksize; too small for device
mkfs.ext4 /dev/zram1 failed
On artix linux openrc btw
mkfs.ext4: Invalid argument while setting blocksize; too small for device
Probably the specified combination of inodes, iratio, blocksize and total size of the device makes no sense.
Using only 1 device pointing to zram0, I think that most linux distro uses /var/tmp.
I am having the exact same problem here too, unfortunately.
How was this problem fixed @mpotane @vaeth ???
My device has both /tmp
and /var/tmp
if that helps??
I am on Alpine Linux (latest build).
It is up to you to specify the blocksize or other parameters appropriately in the configuration. The script is only a helper to pass these parameters and intentionally does noi checking.
mkfs.ext4: Invalid argument while setting blocksize; too small for device
mkfs.ext4 /dev/zram1 failed