excuse me: fdisk-l
disk / dev/sda
, disk / dev/mapper/centos-root
, disk / dev/mapper/centos-swap
, disk / dev/mapper/centos-swap
these four disks:
-sharp fdisk -l
/dev/sda:1000.2 GB, 1000204886016 1953525168
Units = of 1 * 512 = 512 bytes
(/):512 / 4096
I/O (/):4096 / 4096
:dos
:0x000f3dfc
Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 1953523711 976248832 8e Linux LVM
/dev/mapper/centos-root:53.7 GB, 53687091200 104857600
Units = of 1 * 512 = 512 bytes
(/):512 / 4096
I/O (/):4096 / 4096
/dev/mapper/centos-swap:8053 MB, 8053063680 15728640
Units = of 1 * 512 = 512 bytes
(/):512 / 4096
I/O (/):4096 / 4096
/dev/mapper/centos-home:937.9 GB, 937867345920 1831772160
Units = of 1 * 512 = 512 bytes
(/):512 / 4096
I/O (/):4096 / 4096
I have a few questions:
- only one
/ dev/sda
is a regular naming, and I don"t know the difference between the other three/ dev/mapper/*
and/ dev/sd*
. -
/ dev/sda
generally speaking, the hard disk connected to the server is plugged into the fixed place of the hard drive on the server, but what about the other three? Where did you put it?
/ dev/mapper/centos-root
only 53.7 GB
,
/ dev/mapper/centos-swap
only 8053 MB
,
/ dev/mapper/centos-home
has 937.9 GB
big, is it also plugged into the hard disk slot like sda? Or is it all the mapping of a hard disk under mapper
, which also belongs to sda?