[root@localhost ~]# fdisk -l
Disk /dev/sda: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000ae199
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 20971519 9436160 8e Linux LVM
Disk /dev/sdb: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xb7469e5a
Device Boot Start End Blocks Id System
/dev/sdb1 2048 20971519 10484736 83 Linux
Disk /dev/mapper/centos-root: 8585 MB, 8585740288 bytes, 16769024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos-swap: 1073 MB, 1073741824 bytes, 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
디스크가 마운트 되면 뒤에 숫자가 붙는다.
[root@localhost ~]# pvcreate /dev/sdb
Device /dev/sdb excluded by a filter.
[root@localhost ~]# pvcreate /dev/sdb1
Physical volume "/dev/sdb1" successfully created.
'Infrastructure > Linux' 카테고리의 다른 글
[Linux] Can't extend the allocator space. name: (SHP parent allocator) MISC (0) | 2023.05.02 |
---|---|
[Linux] Tree로 디렉토리 계층구조 보기 (0) | 2023.04.19 |
[Linux] 계정 관리 (0) | 2023.04.19 |
[Linux] find, grep 사용법 (0) | 2023.04.17 |
[Linux] 터미널 단축키 (0) | 2023.04.17 |
댓글