Format Hard Drive for NTFS in OpenMediaVault

    • OMV 3.x
    • OMV only supports the creation of Linux POSIX file systems.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • tkaiser wrote:

      David B wrote:

      I want to format one of my hard drives for NTFS
      Why?
      Because sometimes it is necessary for me to pull one of my hard drives and attach them to a computer running Windows.

      votdev wrote:

      OMV only supports the creation of Linux POSIX file systems.
      Yes, but OMV is Linux, so surely it is possible to format a drive for NTFS.

      I actually solved this problem by just pulling the drive and formatting it for NTFS on Windows, but it would be nice to know how to do this on Linux in the future. I tried using mkntifs -f /dev/sdx, and while it worked, the file system, would not mount in OMV.
    • David B wrote:

      Because sometimes it is necessary for me to pull one of my hard drives and attach them to a computer running Windows.
      The idea of a NAS is that you don't have to do that. Why can't you transfer from the NAS?

      David B wrote:

      Yes, but OMV is Linux, so surely it is possible to format a drive for NTFS.
      Possible, yes. Wipe the drive, create a partition with the correct id, use mkfs to format. Desired in OMV web interface, no. Non-posix filesystems cause problems.
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • David B wrote:

      sometimes it is necessary for me to pull one of my hard drives and attach them to a computer running Windows.
      You should never do this since you introduce trouble with (meta)data represenation (so called 'alternate data streams' that are stored on Windows/NTFS in NTFS file streams but totally different when using Samba) and most probably you run unknowingly in encoding troubles too (again Samba expects a POSIX file system and does a translation from UTF-16 to UTF-8 -- I've not the slightest idea whether there's also a transformation of different Unicode normalization forms is necessary as it's the case when Macs are involved: decomposed vs. precomposed).

      I repair such stuff from time to time and can assure that it's only fun if you're paid per hour :)
    • tkaiser wrote:

      David B wrote:

      sometimes it is necessary for me to pull one of my hard drives and attach them to a computer running Windows.
      You should never do this since you introduce trouble with (meta)data represenation (so called 'alternate data streams' that are stored on Windows/NTFS in NTFS file streams but totally different when using Samba) and most probably you run unknowingly in encoding troubles too (again Samba expects a POSIX file system and does a translation from UTF-16 to UTF-8 -- I've not the slightest idea whether there's also a transformation of different Unicode normalization forms is necessary as it's the case when Macs are involved: decomposed vs. precomposed).
      I repair such stuff from time to time and can assure that it's only fun if you're paid per hour :)
      Oh wow! I never knew that! Would it be a good idea for me to reformat all of my drives with another file system via OMV then? It is, admittedly, very rare that I have to pull a drive out, and I am sure that I can find a better solution. What file system would be best for doing this sort of thing?
    • To keep it simple and stupid (KISS): ext4

      If you want to invest some time to get familiar with more modern file systems: BTRFS or ZFS (you need to read a bit about COW, srcub, snapshot etc.)
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • tkaiser wrote:

      David B wrote:

      What file system would be best for doing this sort of thing?
      As written above: Any POSIX compliant filesystem, that's basically all those OMV 'allows' to use (ext4, XFS, btrfs, ZFS -- for the latter you need to install the ZFS plugin and maybe that's nothing for filesystem novices)

      macom wrote:

      To keep it simple and stupid (KISS): ext4

      If you want to invest some time to get familiar with more modern file systems: BTRFS or ZFS (you need to read a bit about COW, srcub, snapshot etc.)
      Okay, thank you to both of you. I haven't decided what file system I want to use just yet, but I will definitely be moving my NAS off of NTFS now. Too bad Microsoft isn't doing the same. I am not counting ReFS since it's not heavily used yet and it's proprietary.
    • tkaiser wrote:

      David B wrote:

      I want to format one of my hard drives for NTFS
      Why?
      Don't ask why, just answer the question please. For example, just to make you happy, the reason I want to OMV to support NTFS is because I have 2TB drive (NTFS) filled with contents. Formatting it would erase all of the contents. So if OMV can support NTFS, then I won't have to reformat this drive. I can just plug it in and it's good to go. I do not want to move my contents to another drive and copy them back into this drive after converting it from NTFS to EXT4, that will take many hours. So if there is a way to make OMV support NTFS, then please share. Thank you, for your time.
    • Earthlings wrote:

      tkaiser wrote:

      David B wrote:

      I want to format one of my hard drives for NTFS
      Why?
      Don't ask why, just answer the question please. For example, just to make you happy, the reason I want to OMV to support NTFS is because I have 2TB drive (NTFS) filled with contents. Formatting it would erase all of the contents. So if OMV can support NTFS, then I won't have to reformat this drive. I can just plug it in and it's good to go. I do not want to move my contents to another drive and copy them back into this drive after converting it from NTFS to EXT4, that will take many hours. So if there is a way to make OMV support NTFS, then please share. Thank you, for your time.
      Just answered your other topic, it actually works just fine to plug your NTFS hard drive on OMV (OMV 4.x tested by me) and use it, the only problem you might have is just not having write access to it because of the stupid way windows 8+ shuts down which can be easily fixed with a true shutdown.

      NTFS Support
    • David B wrote:

      Hello all,

      I want to format one of my hard drives for NTFS from the OMV web UI, but given that NTFS is not an option in the "Create File System" list, I am somewhat lost right now. Could someone point me in the right direction? Thanks!
      Hi there, just letting you know that you can format your Drive as NTFS from Windows, then you just plug it into OMV and it will work. OMV doesn't let you format as NTFS by default, but you can always use Windows. If you must format your drive using Linux then you can use the Parted utility. I am a windows user, I find that linux is DOS like, very tidious, etc... so I downloaded this Visual Parted tool (gparted.org/download.php) and it's great. Just a few clicks and you're on your way. I hope this will help you as it did for me.

      My question is very similar to yours, so I posted here (see below) and a very nice person gave me wonderful answer.

      NTFS Support
    • Earthlings wrote:

      tkaiser wrote:

      David B wrote:

      I want to format one of my hard drives for NTFS
      Why?
      Don't ask why, just answer the question please. For example, just to make you happy, the reason I want to OMV to support NTFS is because I have 2TB drive (NTFS) filled with contents. Formatting it would erase all of the contents. So if OMV can support NTFS, then I won't have to reformat this drive. I can just plug it in and it's good to go. I do not want to move my contents to another drive and copy them back into this drive after converting it from NTFS to EXT4, that will take many hours. So if there is a way to make OMV support NTFS, then please share. Thank you, for your time.
      I'm actually grateful for @tkaiser asking why. I've since moved all my drives to ext4, and having done so. I've since moved all of my drives to ext4, and I'm really glad that I did.
    • Earthlings wrote:

      David B wrote:

      Hello all,

      I want to format one of my hard drives for NTFS from the OMV web UI, but given that NTFS is not an option in the "Create File System" list, I am somewhat lost right now. Could someone point me in the right direction? Thanks!
      Hi there, just letting you know that you can format your Drive as NTFS from Windows, then you just plug it into OMV and it will work. OMV doesn't let you format as NTFS by default, but you can always use Windows. If you must format your drive using Linux then you can use the Parted utility. I am a windows user, I find that linux is DOS like, very tidious, etc... so I downloaded this Visual Parted tool (gparted.org/download.php) and it's great. Just a few clicks and you're on your way. I hope this will help you as it did for me.
      My question is very similar to yours, so I posted here (see below) and a very nice person gave me wonderful answer.

      NTFS Support
      Hello,

      Yes I actually found this out later on, but I actually moved away from NTFS because it was causing some issues with OMV, so I moved all my drives to ext4. Thank you for sharing though.