Linux implementation of more than 2TB hard disk partitions

Source: Internet
Author: User

To test the iSCSI service is normal

[Root@focusbackup ~]# service iSCSI Restart

Stop iSCSI: [OK]

[Root@focusbackup ~]# Chkconfig iSCSI on

[Root@focusbackup ~]# iscsiadm-m discovery-t sendtargets-p 10.5.83.131

Starting iscsid: [OK]

10.5.83.131:3260,1 Iqn.2006-01.com.openfiler:tsn.vmlocalbackup

[Root@focusbackup ~]# iscsiadm-m node-t iqn.2006-01.com.openfiler:tsn.vmlocalbackup-p 10.5.83.131-l

Logging in to [Iface:default, Target:iqn.2006-01.com.openfiler:tsn.vmlocalbackup, portal:10.5.83.131,3260] (multiple )

Login to [Iface:default, Target:iqn.2006-01.com.openfiler:tsn.vmlocalbackup, portal:10.5.83.131,3260] successful.

View hard disk devices

[Root@focusbackup ~]# Fdisk-l

disk/dev/sda:322.1 GB, 322122547200 bytes

255 heads, Sectors/track, 39162 cylinders

Units = Cylinders of 16065 * 8225280 bytes

Sector size (logical/physical): bytes/512 bytes

I/O size (minimum/optimal): bytes/512 bytes

Disk identifier:0x000a4673

Device Boot Start End Blocks Id System

/DEV/SDA1 * 1 204800 Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2 1332 10485760 Linux Swap/solaris

/dev/sda3 1332 26109 199023616 Linux

/DEV/SDA4 26109 39163 104857600 5 Extended

/dev/sda5 26109 39163 104856576 Linux

disk/dev/sdb:2199.0 GB, 2199023254528 bytes

255 heads, Sectors/track, 267349 cylinders

Units = Cylinders of 16065 * 8225280 bytes

Sector size (logical/physical): bytes/512 bytes

I/O size (minimum/optimal): bytes/512 bytes

Disk identifier:0x000bfa7a

Device Boot Start End Blocks Id System

/DEV/SDB1 1 267349 2147480811 Linux

disk/dev/sdd:1099.5 GB, 1099511627776 bytes

255 heads, Sectors/track, 133674 cylinders

Units = Cylinders of 16065 * 8225280 bytes

Sector size (logical/physical): bytes/512 bytes

I/O size (minimum/optimal): bytes/512 bytes

Disk identifier:0x00000000

DISK/DEV/SDD doesn ' t contain a valid partition table

disk/dev/sdc:2199.0 GB, 2199023254528 bytes

255 heads, Sectors/track, 267349 cylinders

Units = Cylinders of 16065 * 8225280 bytes

Sector size (logical/physical): bytes/512 bytes

I/O size (minimum/optimal): bytes/512 bytes

Disk identifier:0x26e7758c

Device Boot Start End Blocks Id System

/DEV/SDC1 1 267349 2147480811 Linux

Warning:gpt (GUID Partition Table) detected on '/DEV/SDE '! The util Fdisk doesn ' t support GPT. Use GNU Parted.

disk/dev/sde:6597.0 GB, 6596969103360 bytes

255 heads, Sectors/track, 802035 cylinders

Units = Cylinders of 16065 * 8225280 bytes

Sector size (logical/physical): bytes/512 bytes

I/O size (minimum/optimal): bytes/512 bytes

Disk identifier:0x00000000

Device Boot Start End Blocks Id System

/dev/sde1 1 267350 2147483647+ ee GPT

Partitioning of more than 2TB hard drives requires the use of parted

[Root@focusbackup ~]# Parted/dev/sde

GNU Parted 2.1

Using/DEV/SDE

Welcome to GNU parted! Type ' help ' to view a list of commands.

(parted) Mklabel GPT

Warning: The existing disk label On/dev/sde'll be destroyed and all data on this disk would be lost. Do your want to continue?

Is/yes/no/no? Y

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.