LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2016, 01:34 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 10
Post Gparted format vs mkfs.XX


Hello.
Why "Gparted" can formatting a HDD very fast but "mkfs.XXX" command can't? For example, I have an External 1TB HDD and "Gparted" format it less than 5 seconds but "mkfs.ntfs" format it about 2 hours or more.

Tnx.

Last edited by hack3rcon; 01-17-2016 at 02:26 PM.
 
Old 01-17-2016, 01:57 AM   #2
berndbausch
LQ Guru
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 5,690

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
Quote:
Originally Posted by hack3rcon View Post
"mkfs.ntfs" format it about 2 hours or more.
mkfs.ntfs has a --fast option. Without it, the disk is zeroed first, which takes ages. I just tried it on a 1TB volume - roughly 5 secs.

Last edited by berndbausch; 01-17-2016 at 02:56 AM.
 
Old 01-17-2016, 02:27 PM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by berndbausch View Post
mkfs.ntfs has a --fast option. Without it, the disk is zeroed first, which takes ages. I just tried it on a 1TB volume - roughly 5 secs.
Thus, It wipe Disk?
 
Old 01-17-2016, 10:32 PM   #4
berndbausch
LQ Guru
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 5,690

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
Quote:
Originally Posted by hack3rcon View Post
Thus, It wipe Disk?
It would seem so. Here is what happens on my system:
Code:
$ sudo lvcreate -n test -L 1T vgmain
  Logical volume "test" created.
$ sudo mkfs.ntfs -v /dev/vgmain/test
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes:   0%
.... and it stays on 0% for a looooong time. Until I lose patience and kill it.
 
1 members found this post helpful.
Old 01-18-2016, 03:57 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by berndbausch View Post
It would seem so. Here is what happens on my system:
Code:
$ sudo lvcreate -n test -L 1T vgmain
  Logical volume "test" created.
$ sudo mkfs.ntfs -v /dev/vgmain/test
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes:   0%
.... and it stays on 0% for a looooong time. Until I lose patience and kill it.
Thank you. Thus it is kind of Wipe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error, some other host already uses address xxx.xxx,xxx,xxx ryan462 Linux - Networking 20 01-25-2010 12:14 AM
http://www.spamhaus.org/query/bl?xxx.xxx.xxx.xxx (Server cannot send email now!) RMLinux Linux - Server 3 05-08-2009 03:06 AM
smbclient -M xxx.xxx.xxx.xxx Doesnt Work DiscreetControl Linux - Networking 7 12-28-2007 11:50 AM
Problem getting connection with a DLink Router after setting static IP 10.xxx.xxx.xxx kezira Linux - Networking 1 11-09-2005 11:27 PM
Host XXX.XXX.XXX.XXX is not allowed to connect to this MySQL server ocavid Linux - Newbie 2 03-16-2005 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration