1, the disk works:
Track, head, sector, cylinder
2, disk classification:
Mechanical disk:
Serial: SCSI, iSCSI, SATA
Concurrent: ATA
SSD: HDD
3, the file system:
Windows: fat32 ntfs exfat (Apple may also use)
Linux : ext2 ext3 ext4 BtrFS xfs
4, file space
iNode --- index space (file attributes)
data storage block ---
fdisk --- disk partition
mkfs -t format, write to the file system
mount Mounts
-a The / etc / fstab where all mounts
umount to unmount
5, LVM logical volume management --- dynamic management
Linux kernel modules -dm
PV (logical) --- VG of (volume group) --- the LV (logical volume)
Advantages: Dynamic be increased memory space may be reduced
lvextend --- add disk space
lvreduce --- delete disk space
Mirror:
lvcreate -n mirrorname -s -p -L 1000M / dev / mapper / VGname-LVname
6, RAID disk management --- disk redundancy
Redundant array of independent disks
1, redundancy
2, to improve the performance of read and write
--- RAID0 strip technology, changed the data memory unit
raid1 --- mirroring technology,
raid4 --- calibration techniques,
--- RAID5 checksum values stored in the plurality of disk
raid6 --- secondary calibration,
raid10 --- perform much better,
--- hard raid raid card needed to achieve
After the raid --- soft performance will deteriorate, will not do the job, do not raid partition
mdadm --- raid command
mdadm -C / dev / md0 -l 1 -N 2 / dev / sda / dev / sdb -x / dev / SDC
Create md0 rating of 1, two hard drives, -x represents the hard disk only when the back of the front is broken by