USING PARTED ON > 2TB DRIVES TO CREATE NEW PARTITIONS FOR LVM

来源:互联网 发布:web开发人员网络 编辑:程序博客网 时间:2024/06/05 10:03

fdisk utility doesn’t support storage device that is larger than 2TB. Therefore you need to use GNU “parted” to create your partition.

As root run ‘parted /dev/sdX’ where X is the SAS/SATA/whatever controller’s drive as presented to the Linux kernel.

At the ‘(parted)’ prompt, enter:

mkpart primary ext3 0 -1
set 1 lvm on

Then ‘quit’ Parted to save your changes to the partition table on the relevant drive.

This creates a new partition assigned the whole drive capacity and gives it the LVM partition type, then saves those changes & exits parted.

http://www.iprobot.net/linux-tutorial/using-parted-on-2tb-drives-to-create-new-partitions-for-lvm/

0 0
原创粉丝点击