CentOS에서 디스크 공간을 모두 사용할 수 없습니다.

CentOS에서 디스크 공간을 모두 사용할 수 없습니다.

60GB 또는 SSD 디스크를 갖춘 Centos 7 전용 서버가 있습니다. 사실 :

sfdisk -uM -l /dev/sda다음을 제공합니다:

Disk /dev/sda: 61440 cylinders, 64 heads, 32 sectors/track
Warning: The partition table looks like it was made
  for C/H/S=*/256/63 (instead of 61440/64/32).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   Id  System
/dev/sda1         0+ 61439  61440-  62914528+  83  Linux
/dev/sda2         0      -      0          0    0  Empty
/dev/sda3         0      -      0          0    0  Empty
/dev/sda4         0      -      0          0    0  Empty

제공하는 동안 lsblk:

NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0     11:0    1 1024M  0 rom
sda      8:0    0   60G  0 disk
├─sda1   8:1    0    2M  0 part /disk1
└─sda2   8:2    0   10G  0 part /

내 60GB가 어디에 있는지 정말 혼란 스럽습니다. 실제로는 에 표시되지만 sfdisk에는 표시되지 않습니다 lsblk.

답변1

할당되지 않은 것 같습니다.

유형parted /dev/sda

GNU Parted 2.1 Using /dev/sda Welcome to GNU Parted! Type 'help' to
view a list of commands. (parted)

입력하세요print free

Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sda: 4801GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
        17.4kB  1049kB  1031kB  Free Space
 1      1049kB  525MB   524MB   ext4               boot
 2      525MB   4801GB  4800GB                     lvm
        4801GB  4801GB  73.2kB  Free Space

2개의 파티션을 지나 디스크 끝 부분에 상당한 공간이 있을 수 있습니다.

(q 종료)

관련 정보