Difference between revisions of "Making a very large disk"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
 
 
Line 5: Line 5:
 
The problem is that fdisk will not make a large partition. So use parted. See [http://www.gnu.org/software/parted/manual/html_mono/parted.html Parted User Guide] '''RTFM!''' <br>
 
The problem is that fdisk will not make a large partition. So use parted. See [http://www.gnu.org/software/parted/manual/html_mono/parted.html Parted User Guide] '''RTFM!''' <br>
 
Here is a howto: [http://www.unixgods.org/~tilo/linux_larger_2TB.html Mini-Howto on Big Disks]
 
Here is a howto: [http://www.unixgods.org/~tilo/linux_larger_2TB.html Mini-Howto on Big Disks]
 +
 +
<font size="+2" color="red">'''WARNING'''</font> Parted will destroy all your data and NOT ask questions first.
  
 
Steps:
 
Steps:

Latest revision as of 22:01, 27 February 2009

Multi Terabyte Partitions

Because this is not done often, no body bother's to make it easy, until Seagate comes out with an >2TB drive, maybe.

The problem is that fdisk will not make a large partition. So use parted. See Parted User Guide RTFM!
Here is a howto: Mini-Howto on Big Disks

WARNING Parted will destroy all your data and NOT ask questions first.

Steps:

 parted /dev/sda mklabel gpt                  # Make a GPT disk label (partition table) which can deal with >2TB
 parted /dev/sda print                        # Print the current geometry back. This will tell you the size of the disk
 parted /dev/sda mkpart primary ext3 0 5000GB # Make a partition, starting at 0 and 5TB in size.
 mke2fs -j -m0 -L tarodata /dev/sda1          # Make a file system, ext3, no extra space for super user, with label.

That's All Folks.