SvennD
create ntfs partition on Centos
February 11, 2020

create ntfs partition on Centos

Posted on February 11, 2020  •  1 minutes  • 133 words  •  Suggest Changes

I could already read ntfs file systems  but creating one seems to require more packages; I was surprised as I installed ntfs-3g but still could no run :

[root@server ~]# mkfs -t ntfs /dev/sda1
mkfs.ntfs: No such file or directory

The solution is a tiny other package :

yum install ntfsprogs

And magically :

mkfs -t ntfs /dev/sda1
Cluster size has been automatically set to 4096 bytes.
..

note : this will initialize the disk all with 0’s which could take an insane amount of time;

Therefore you could use the :

-f flag for skiping zero’ing and

-Q flag for skiping checking on bad sectors :

mkfs -t ntfs -f -Q /dev/sda1
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

 

Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper