The disk and file system management in Linux systems is summed up in the fact that they are mutually reinforcing and often used together in peacetime work.
First, we introduce the management tools for disk partitioning.Common disk partition management tools are Fdisk,parted,sfdiskHere we introduce the common Fdsi
Instruction: DFCheck the disk space usage of the file systemYou can view the total capacity, usage space, remaining space, mount location, and so on for all mounted disksSyntax:# DF [OPTION] [FILE]File is an optional list of one or more path names, such as selecting this option to display disk usage for the file system where the file residesPs:1: All users have p
Now, choose Mobile storage devices, we will choose a U disk, its capacity from the humble appearance of the evolution of dozens of g capacity. However, because of its convenience, many people did not give it a password, resulting in the loss of data. In fact, setting the password is not so troublesome. Small series found Windows7 system has a function can be for our U d
A new computer is equipped with a dual system. windows is used to play games and linux is used to write code. I bought two dedicated 1 TB hard disks to build RAID 0 and use parallel I/O to improve computer performance.
Choose the motherboard when deliberately selected to support RAID motherboard, msi B85-G43 GAMING, can use msi super raid technology, but after buying found that the driver of this thing is e
empty Sundisklabelt change a partition ' s system ID modifies the partition type . U Change display/entry unitsV Verify the partition tableW Write table to disk and exit Save and exitX extra Functionality (EXPERTSONLY)[[email protected] ~]# cat/proc/partitions See which partitions the kernel recognizes[[email protected] ~]# partprobe notify hard disk reread part
Today many users of the tablet or the Super user have installed WIN8 system in the system, but it is well known that the super and flat hard disk capacity is not high, many users in the installation of WIN8 system Live, and then i
WinPE start of the Super U disk. The author recommends two most commonly used WinPE software, in which the General PE Toolbox installation Way Diversification, and Providence U Disk Maintenance System (Providence PE) can be a key production WinPE start U disk. This installa
use.Mount-o Loop file mount point #将iso文件或者格式化过的文件挂载到挂载点.Build swap: divided into four steps, partition (FDISK), Format (MKSWAP), use (Swapon,swapoff), view (free), of course we can also use the file to build swap, It is the special equipment mount that is said in 4.Partition: The difference between the normal partition is that you need to modify the system ID to 82.Format: Mkswap device name #格式化为swap.Use: Swapon device name #启动.Deactivate: Swapoff
kernel does not recognize the newly created partition needs to read the partition table againThe Partprobe command notifies the kernel to reread the partition table, which needs to be formatted and mounted using the partitionThe block size on the disk is 1k,2k,4kA block group of disk partitions has a super block to hold the block group and the size of the block
partition that is already mounted.Thirdly, you should create a specified partition "extended partition should not be used" instead of the entire hard disk.
Actual combat:
A can be created using the MKFS command. The common option for-t specifies the file system type to create. Like Ext2,ext3."The biggest difference between ext2 vs ext3 is that ext3 is a log-based file
, the device file, the data block of the device file is the device's main device number and the secondary device number.Disk Block bitmap index (bitmap index bitmap)Used to identify whether the disk block is empty and Indoe has a bitmap index.Reserved spaceFor root user use, how much to leave (CentOS7 reserved 5%), who decides? It is up to the File System Management tool to specify parameters when creating
table failed with error 16: Device or resource busy. the kernel still uses the old table. the new table will be used at the next reboot. syncing disks. [root @ db2 ~] # Step 2: Use the partprobe tool to allow the kernel to read partition information [root @ db2 ~] # Partprobe uses the fdisk tool to only write partition information to the disk. if mkfs disk partition is required, the
File system Features: Why do I need to format the partition to use it?A: Because the file attributes and permissions for each job system lock are not the same, in order to store the data required for these files (so you need to format the file system format that the operating system can use filesystem)Linux formal file
A new disk disc needs to be partitioned, formatted (creating a file system) and mounted before it can be used properly. There are two formats for partition tables on disks: MBR (Master Boot record) and GPT (GUID Partition table)
Mbr:
Also known as the main boot sector, is the computer after the boot access to the hard disk must read the first sector, that is, 0 c
-activation, write/etc/fstabMke2fs:ext Series file system dedicated management tools-T {EXT2|EXT3|EXT4}-B {1024|2048|4096} specifies block size-L ' LABEL '-j: Equivalent to-t ext3MKFS.EXT3 = mkfs-t ext3 = mke2fs-j = Mke2fs-t ext3-I #: Create an inode for each number of bytes in the data space, which should not be smaller than the size of the block-N #: Specify how many inode to create in a partition-I an INODE record consumes
A new computer is equipped with a dual system. windows is used to play games and linux is used to write code. I bought two dedicated 1 TB hard disks to build RAID 0 and use parallel I/O to improve computer performance.
A new computer is equipped with a dual system. windows is used to play games and linux is used to write code. I bought two dedicated 1 TB hard disks to build RAID 0 and use parallel I/O to im
Computer Store u disk installation system-specific tools, is often called the U disk to start the function of the production tool upgraded version, can be more convenient for computer technicians installed, maintenance computer use of the Super tools. This works 100% successful production of U
name, not IP, decisive error, the same as the original: Read:connection reset by Peer. so be sure to note: When trying to mount with SSHFS, the server address must be an IP address, such as: [email protected]:. Next is the access permissions to set up the problem, a lot of solutions, there are a lot of information on the Internet, find it yourself, I was to add their own users to the Super user group.PostScript: My goal is to the local eclipse can sm
1, review the contents of this course;2, summarize the Disk Management and file system Management design of the use of various commands, and note certain examples;File System Properties View and adjustment tools:E2labelE2lable DEVICE [LABEL]Tune2fsDisplays the properties of the Ext series file system, or adjusts its pr
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.