How to create a partition size larger than 2TB using parted

Linux has a 2TB limit on the partition size.

Find the drive you want to partition

# fdisk -l

To create a partition start GNU parted as follows:

# parted /dev/sdx


GNU Parted 1.8.1
Using /dev/sdx
Welcome to GNU Parted! Type 'help' to view a list of commands.

Creates a new GPT disklabel i.e. partition table:

mklabel gpt

You can also find the max partition size by using 'fdisk -l'

To Create 5TB partition size:

mkpart primary 0 5000G

Quit and save the changes:


Use mkfs to format file system:

# mkfs.ext3 /dev/sdx1




rsync and ssh on a different port

If the server is using port 8023 for ssh then try using this command to use with rsyncrsync -av...

重设MySQL root密码

如果忘记了MySQL的root密码,可以用以下方法重新设置: 1. KILL掉系统里的MySQL进程; killall -TERM mysqld 2....

How to check drive space


Adding a range/block of ips

As an example to add a /24 253 ips to a linux server follow these setups. We'll use...

How to change root password

To change the root password you must be logged in as root. Then enter "passwd root" It will...

Powered by WHMCompleteSolution