centos6.6 Install the system, select the system default partition. Installed after the discovery of a large part of the space, through the fdisk-l can not find the partition, in addition to use parted-l also can not find the missing cylinder.
Such as:
[Email protected]]# fdisk-Ldisk/DEV/SDA:1198.0GB,1197998080000bytes255Heads theSectors/track,145648cylindersunits= Cylinders of16065* +=8225280bytessector size (logical/physical): +Bytes/4096Bytesi/o Size (minimum/optimal):4096Bytes/4096bytesdisk Identifier:0x0009600cDevice Boot Start End Blocks Id System/DEV/SDA1 *1 - 204800 thelinuxpartition1does not end on cylinder boundary./dev/sda2 - 15324 122880000 theLinux/dev/sda315324 15961 5120000 theLinux Swap/Solaris[[email protected]]# parted-Lmodel:lsi Logical Volume (SCSI) Disk/dev/sda:1198gbsector size (logical/physical): 512b/4096BPartition table:msdosnumber Start End Size Type File system Flags11049kB 211MB 210MB primary EXT4 boot2211MB 126GB 126GB primary EXT43126GB 131GB 5243MB Primary Linux-swap (v1)
Since we can't find the rest of the space, let's recreate the partition!
parted/dev/Sdagnu Parted2.1Using/dev/sdawelcome to GNU Parted! Type' Help'To view a list of commands. (parted) Mkpart Partition type? Primary/logical?p File System type? [Ext2]?Ext4 Start? 5244MB End?- 1s # The last sector of the hard drive, at the end of the hard disk warning:you requ Ested a partition from 5244MB to 1198GB. The closest location we can manage are 131GB to 1198GB. Is this still acceptable?Yes/no?y Warning:WARNING:the kernel failed to re-read the partition Table on/dev/SDA (Device or resource busy). As Aresult, it may not be reflect all of your changesuntilAfter reboot. (parted) Q information:you may need to update/etc/fstab.
Then Fdisk-l has discovered the new partition. If the new partition cannot be mounted, format it first: MKFS.EXT4/DEV/SDA4
Fdisk-l can't find partition what to do? Try to find the hidden partition.