磁盘与分区
[root@localhost ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 837G 0 disk
└─sda1 8:1 1 50G 0 part /
sdb 8:16 1 223.4G 0 diskReference
Last updated
[root@localhost ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 837G 0 disk
└─sda1 8:1 1 50G 0 part /
sdb 8:16 1 223.4G 0 diskLast updated
[root@localhost ~]# fdisk -l
Disk /dev/sda: 898.7 GB, 898708275200 bytes, 1755289600 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: 0x0009613d
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 104859647 52428800 83 Linux
Disk /dev/sdb: 239.9 GB, 239902654464 bytes, 468559872 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