Formatting large external disk

  • Hello, here my 1st posting due to my 1st real problem as a new OMV user (after solved lots of other...)!

    I habe fresh installed OMV on SD Card as system device and 256GB SSD inside (old Mini-PC, ZOTAC).

    Didn't store anything yet but wanted to add a 4TB external disk, read that ext4 would be preferred, so I formated that disk on windows11 with an extra tool.

    I could see my disk as device but unfortunatly it was not possible to make a folder.

    Then I choosed quick format (though it already was ext4!) - finished without errors but no chance to initialize a data folder.

    The I read somewhere that I have to choose "safe format" - and here is my problem:

    After nearly 4 (!) days it was formated only 2% (82GB / 3,7TB).

    That is not acceptable. What can I do, any tip? Maybe new format on windows with NTFS and install some relevant AddOns?

    It's frustrating. I read so much cool things about OMV but this can't be true.

    Thank you all for reading my post and for any help!

    Best regards from Berlin!

  • macom

    Approved the thread.
  • StevieRay

    Added the Label OMV 7.x
  • Don't use ntfs. it is not a linux filesystem and will cause you problems due to lack of linux owner/permissions, and ideally don't use another system to format.


    The filesystem should be made on OMV, but the drive needs to be wiped first. Often a quick wipe works, but there is also an issue where a GPT partitioned drive sometimes needs a second quick wipe before it becomes available.


    If that doesn't work, a secure wipe is required, but this can often be cancelled after a few percentage points as long as it has erased the pertinent signatures.


    Another option that may work, would be to completely remove all partitions from the drive using a disk manager in windows, such as the bult in disk manager, minitool partition wizard, AOMEI partition assistant, etc., so that the drive is in a similar state to when it came off the assembly line, but before any partitioning and formatting.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

    • Official Post

    After nearly 4 (!) days it was formated only 2% (82GB / 3,7TB).

    sounds like the disk is failing. look at the output of sudo dmesg

    omv 8.0.6-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.2 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • sounds like the disk is failing. look at the output of sudo dmesg

    I'd be inclined to think the drive might be usb2 connected. I had a couple of old zotac mini pic's myself and recall them having a mix of usb2 and usb3, so you need to use the right port.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

    • Official Post

    I'd be inclined to think the drive might be usb2 connected

    USB2 isn't that slow. It can still do 40MB/s+. 4 days and 2% is less than 2 mbps which is slower than usb1.

    omv 8.0.6-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.2 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • USB2 isn't that slow. It can still do 40MB/s+. 4 days and 2% is less than 2 mbps which is slower than usb1.

    That may be, but with some experience with those little zotac boxes, I'd still suspect something with them as a first point to check into. They were odd little things that didn't give full usb speeds and used some odd hardware and drivers. I have seen odd stuff with externally connected drives being very slow or not being detected at all. When I was running 2 of them for various reasons before I got a sensible system for a NAS many years ago that had enough resources to do some VMs as well as be a NAS, I do remember having issues getting one to run ubuntu with direct attached storage for an owncloud or first release of nextcloud install, and ended up using it just as a "head" to run owncloud/nextcloud with storage on the NAS I had.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

  • Thanks for your replies!

    I formated the drive on Windows11 with "DiskGenius" as ext4 then again connected it at the Zotac on a blue USB3-Port - but ist wasn't recocknized.

    After reboot I could see this:


    But again no chance to build a data storage. I again tried to wipe on "quick" mode but this again runs eternally.

    Maybe - as you wrote - the disk shouldn't have a partition... but formatting whithout a partition?!? Mmmhhh.
    As a last chance I would try to format the disk from console directly from the OMV-PC... but I have to google every single command.

    Can you recommend any post or website with understandable description?

    Thanks!


    UPDATE:

    I changed the disk to a USB2-Port - and voila, now the serial-no of the disk was shown and I can operate with the disk!

    • Official Post

    but formatting whithout a partition?!? Mmmhhh.

    Linux has no problem formatting and mounting a disk with no partitions.

    omv 8.0.6-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.2 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Maybe - as you wrote - the disk shouldn't have a partition... but formatting whithout a partition?!? Mmmhhh.

    In simple terms, omv wants the drives to have no premade format or partition when it is creating the filesystems as it want to do that stuff itself. Creating them on another system may not have them created as the particular OS version's tools expect them to be. This is why you are supposed to wipe a pre-used disk and let OMV take control of it.


    If you remove all the partitions, then hook the drive up, you should be able to let omv make a filesystem. If it still requires a quick wipe at that point it should work correctly since there is nothing on the drive to get in the way of the process.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!