Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My situation:


/dev/sdb1 - ~4TB

I need to format the drive /dev/sdb1
What do I need to format / clear the data from such a large drive?
What command?

share|improve this question

It depends on which filesystem you want to use, for example using ext4:

sudo mkfs.ext4 /dev/sdb1
share|improve this answer

The easiest way would be to recreate the file system:

sudo mkfs.ext3 /dev/sdb1

From man mkfs:

mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk
partition.  device is the  special file corresponding to the device 
(e.g /dev/hdXX).  blocks-count is the number of blocks on the device.  If omit‐
ted, mke2fs automagically figures the file system size.  If called as mkfs.ext3 
a journal is created as  if  the -j option was specified.

The  defaults of the parameters for the newly created filesystem, if not over-
ridden by the options listed below, are controlled by the /etc/mke2fs.conf
configuration file.  See the mke2fs.conf(5) manual page for more details.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.