View of linux data disk and system disk

The system disk is like the c disk of linux, use the df -l command to view

As follows:

 

You can see that the root path / is located in the system disk. And /root, /home, /usr are just like c:\windows and c:\usr under the c drive

If there is a separate data disk, and the data disk is not partitioned and mounted, it will not be visible using the df -l command

You can use fdisk -l to see which hard disks are available

The following information:

 

Disk /dev/vda and Disk /dev/vdb indicate that there are two blocks

/dev/vda-system disk, there is a partition vda1

/dev/vdb-data disk, there are two partitions vdb1, vdb2

Guess you like

Origin blog.csdn.net/zouzh/article/details/113917464