How to mount disk in linux

王林
王林Original
2019-12-26 09:20:434094browse

How to mount disk in linux

1. Before adding a disk, use fdisk -l to check the basic information of the disk

How to mount disk in linux

2 . After adding a disk to the system, you can view the newly added disk information through fdisk

Free video tutorial sharing: linux video tutorial

How to mount disk in linux

How to mount disk in linux

3. At this time, the disk cannot be mounted to the system, and the newly added disk needs to be partitioned

How to mount disk in linux

How to mount disk in linux

4. After the partition is completed, query again through fdisk -l. The results are as follows:

How to mount disk in linux

How to mount disk in linux

## 5. The partition needs to be formatted before mounting. The format here is ext4

How to mount disk in linux

. 6. Create a mount point

How to mount disk in linux ##7. Mounting through mount

How to mount disk in linux

Note: The mount point must be a directory. If there are files in the directory before mounting, then after mounting The file is not visible

Recommended related articles and tutorials:

linux tutorial

The above is the detailed content of How to mount disk in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is a linux host?Next article:What is a linux host?