The size displayed after mounting the disk array is 1 TB smaller than the actual size.
Source: Internet
Author: User
After mounting the disk array Cabinet, the displayed size is 1 TB smaller than the actual size-Linux general technology-Linux technology and application information. The following is a detailed description. HP MSA2312sa 12 1 TB hard disks, 11 for RAID 5, and 1 for SPARE. The configured capacity is 10 TB. Use parted to convert RAID to GPT format. After mounting, only 9 TB is displayed.
The problem of reduced capacity display after mounting
-----------------------------------------
[Root @ localhost ~] # Parted-l
Model: HP MSA2312sa (scsi)
Disk/dev/sda: 9992 GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 9992 GB 9992 GB ext2 dp1
Model: HP MSA2312sa (scsi)
Disk/dev/sdb: 9992 GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 9992 GB 9992 GB ext2 dp1
Error: Unable to open/dev/md0-unrecognised disk label.
Model: Compaq Smart Array (cpqarray)
Disk/dev/cciss/c0d0: 294 GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107 MB 107 MB primary ext3 boot
2 107 MB 294 GB 293 GB primary lvm
[Root @ localhost ~] # Fdisk-l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda '! The util fdisk doesn' t support GPT. Use GNU Parted.
WARNING: The size of this disk is 10.0 TB (9991878737920 bytes ).
DOS partition table format can not be used on drives for volumes
Larger than 2.2 TB (2199023255040 bytes). Use parted (1) and GUID
Partition table format (GPT ).
Disk/dev/sda: 9991.8 GB, 9991878737920 bytes
255 heads, 63 sectors/track, 1214776 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sda1 1 267350 2147483647 + ee EFI GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb '! The util fdisk doesn' t support GPT. Use GNU Parted.
WARNING: The size of this disk is 10.0 TB (9991878737920 bytes ).
DOS partition table format can not be used on drives for volumes
Larger than 2.2 TB (2199023255040 bytes). Use parted (1) and GUID
Partition table format (GPT ).
Disk/dev/sdb: 9991.8 GB, 9991878737920 bytes
255 heads, 63 sectors/track, 1214776 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sdb1 1 267350 2147483647 + ee EFI GPT
Disk/dev/cciss/c0d0: 293.5 GB, 293563949056 bytes
255 heads, 63 sectors/track, 35690 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/cciss/c0d0p1*1 13 104391 83 Linux
/Dev/cciss/c0d0p2 14 35690 286575502 + 8e Linux LVM
[Root @ localhost ~] # Df-h
Filesystem Size Used Avail Use % Mounted on
/Dev/mapper/VolGroup01-LogVol00
261 GB 2.6G 245G 2%/
/Dev/cciss/c0d0p1 99 M 12 M 82 M 13%/boot
Tmpfs 8.0G 0 8.0G 0%/dev/shm
/Dev/sdb1 9.0 T 52 K 8.5 T 1%/home/mysyslog
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