Creating a 4TB disk on OMV.

Leave a comment

May 18, 2014 by aubreykloppers

This took a bit of hunting and reading, but quite easy:

  • gparted /dev/md0 (I have a disk, RADI5, called /dev/md0 that is 4TB in size)
  • (parted) mklabel gpt
  • Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?
  •          Yes/No? yes
  • (parted) unit TB
  • (parted) mkpart primary 0 4 (This creates a 4TB partition)
  • (parted) print (Shows you the disk layout)
  • (parted) quit

Then just create your partition:

  • mkfs -t ext4 /dev/md0p1

Note:

to completely wipe the disk:

dd if=/dev/zero of=/dev/md0 bs=512 count=1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: