第 10 章 File System

简介:

目录

10.1. EXT4
10.1.1. install
10.1.2. format
10.1.3. label
10.1.4. mount/umount
10.1.5. LVM 卷
10.2. LVM
10.3. zfs
10.4. btrfs
10.4.1. Mount Btrfs
10.4.1.1. Mount Snap
10.4.1.2. fstab
10.4.2. Snapshots and subvolumes (快照与子卷管理)
10.4.2.1. subvolumes
10.4.2.2.
10.4.3. btrfsctl
10.4.3.1. Resizes the filesystem
10.4.3.2. Snapshot
10.4.4. btrfs-vol
10.4.5. btrfs-convert
10.4.6. btrfsck
10.4.7. btrfs-debug-tree
10.5. iSCSI
10.5.1. GFS
10.6. GFS - Cluster Storage
10.7. glusterfs

10.1. EXT4

10.1.1. install

# yum install e4fsprogs
			

10.1.2. format

# mkfs.ext4 /dev/sda2
			

10.1.3. label

# e4label /dev/sda2 /www

# mkdir /www

# cat /etc/fstab |grep ext4
LABEL=/www              /www                    ext4    defaults        1 2
			

10.1.4. mount/umount

# mount /www
# umount /www
			

10.1.5. LVM 卷

# mkfs.ext4 /dev/VolGroup00/LogVol02

[root@images ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
/dev/VolGroup00/LogVol02 /images                 ext4    defaults        1 2
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

# mount -a
			

Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>comments powered by Disqus





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
1月前
|
Web App开发 安全 前端开发
Can‘t open this file in this folder because it contains system files
Can‘t open this file in this folder because it contains system files
23 0
|
3月前
|
数据库 数据库管理
System.ArgumentException:“The specified invariant name ‘System.Data.SQLite‘ wasn‘t found in the list
System.ArgumentException:“The specified invariant name ‘System.Data.SQLite‘ wasn‘t found in the list
15 0
|
安全 Linux Shell
Read-only file system 问题分析与解决
Read-only file system 问题分析与解决
Read-only file system 问题分析与解决
|
8月前
|
并行计算 监控 关系型数据库
The Google File System
The Google File System
36 0
|
10月前
|
安全 关系型数据库 MySQL
xtrabackup 问题“Too many open files”system error number 24
一个MySQL数据库备份的时候出现下面的错误
|
开发工具 Perl
|
JavaScript 前端开发 Shell
|
Oracle 关系型数据库 C++