Df-ht
View formats for various files
The mount command can mount those
Block device: Disc, disk partition, USB flash drive
Disc: File system: iso9660 ISO file system: iso9660
ISO files can be mounted on the
Mount Centos7.iso/media/cdrom #挂载iso文件到/media/cdrom directory, and the contents of the/media/cdrom directory are the contents of the ISO file.
The details of the implementation
1. Connect the file to the local loopback block device file Losetup/dev/loop1 Centos7.iso
2. Mount: Mount/dev/loop1/media/cdrom # #可以使用-T iso9660 join instructions
Production of ISO documents:
Mkisofs command to make an ISO file
Mkisofs-v "Label"-O name.iso dir/
##########################################################################
Partition of the disk:
25G
#########################################
A partition was created:/DEV/SDB1 5G
Mkfs.xfs/dev/sdb1
Mount/dev/sdb1/opt
LVM Management:
1, first convert the physical equipment into PV (physical volumes)
Pvcreate/dev/sdb
Pvcreate/dev/sdc
Multiple PV can be composed of VG (volumes group)
PVs can view all PV in the system
2, the definition of VG, each VG has a name
Vgcreate VGNAME/DEV/SDB/DEV/SDC
#创建一个vg, named Vgname, which contains/DEV/SDB/DEV/SDC
VGS can view all the VG in the system
3. Create a logical partition: that is, LV
Lvcreate-l 10G Vgname
#
LVS View all LV in the system
##########################################
Disk and partition identification
/dev/sda1
/DEV/SDA---> Representative disk
1--> represents the first partition on SDA
Based on LVM
/dev/mapper/vgname-lvol0
Disk: vgname--represents VG Volume group
Partition: Lvol0
/dev/vgname/lvol0
Partition:
/dev/dm-Digital
Linux hard disk