
Configuring a New Unit
www.3ware.com
107
To partition, format, and mount under Linux
1
Boot the system and log in as root.
2
Open a terminal window.
3
Partition the unit:
fdisk /dev/sda
If the unit is over 2 TB, use:
parted /dev/sda
(parted) mklabel
New disk label type? gpt
(parted) p
Disk geometry for /dev/sda: 0kB - 1074GB
Disk label type: gpt
Number Start End Size File system Name Flags
parted /dev/sda
(parted) mkpart
Partition type? [primary]?
File system type? [ext2]?
Start? 0
End? 1074gb
(parted) p
Disk geometry for /dev/sda: 0kB - 1074GB
Disk label type: gpt
Number Start End Size File system Name Flags1 17kB 1074MB
1074MB
4
Create or make the file system:
mkfs /dev/sda1
Use of the -j option to turn on journaling is recommended for large
partitions.
For example:
mkfs -j /dev/sda1
If the partition is over 2TB, use
parted
to also make the file system:
parted /dev/sda1
(parted) mkfs
Partition number? 1
File system? [ext2]?
writing per-group metadata (begins)...0% to 100% is
displayed)
(parted) quit (when completed)
5
Mount the volume:
mount /dev/sda1 /mnt