(017) storage media for Linux

Source: Internet
Author: User

Fundamentals of the ten-year OPS series-Linux

Zeng Lin

Contact: [Email protected]

Website: www.jplatformx.com

Copyright: Please do not reprint the article without permission

First, Introduction

In the previous chapters we focused on file-level data processing, which we will discuss at the device level. For physical storage such as hard disks, network storage, and virtual storage such as RAID (independent redundant disk array) and LVM (logical volume management), Linux has amazing processing power.

However, this section does not focus on system management, so there is no intention to delve into this topic, but simply introduce its basic concepts and some important commands for managing storage devices.

Second, mount, unload storage device

Recent advances in Linux graphical interface operations have made it very easy for graphical interface operators to manage storage devices. In most cases, the device can run as long as it is connected to the system. However, in the past, this must depend on manual operation. Because non-graphical interface operating systems such as servers typically have some extreme storage requirements and complex configuration requirements, managing storage devices in such systems is largely dependent on manual operation.

The first thing to do with the management storage device is to add the device to the file system tree, which allows the operating system to manipulate the device, a process called mounting. UNIX-like operating systems, similar to Linux, have only one file system tree, and devices need to be connected to different points. This is different from other operating systems such as MS-DOS, windows, and they have separate trees for each device (such as C: \, D:\, and so on).

The/etc/fstab file content lists the devices (typically hard disk partitions) that are mounted at system startup. Shows the contents of a/etc/fstab file on a centos system.

Most of the file systems listed in this file are virtual and do not apply to the current discussion. The first content is the focus of our attention.

This line actually refers to the hard disk partition, the file contains 6 fields per row, as shown in the following table:

Field Content Describe

(017) storage media for Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.