I have OMV5 installed on my Raspberry Pi 4 and I'm trying to create a filesystem on my SSD drive connected to the USB3.0 port (/dev/sda). Every time when I try to create an ext4 filesystem, it stops at 1882/15262. I'd like to try from the command prompt to see if it works. What would be the equivalent to the options from GUI Storage -> File Systems -> Create -> /dev/sda, ext4?
How to create file system from command prompt?
-
- OMV 5.x
- omvmax
-
-
You'll have to do that from a Live CD most likely, assuming the image took up the whole disk.
-
Try to wipe the drive from the GUI of OMV and then create a file system.
-
-
I assume that you first partition, then format. I would advice you to use some nice gui utility like gparted, from some other media.
Otherwise you could use parted and mkfs. There are reams of tutorials that tell you how to partition and format a drive.
mkfs.ext4 /dev/sda1 is one step, after partitioning.
It is not uncommon that fake or damaged SSDs are sold as new cheap. They look like the real thing and report the correct size. But if you attempt to repartition it is impossible. Instead of 128GB it is perhaps only 256MB. Or full of errors. Or whatever.
If you have warranty left, use it.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!