直接上程序
[root@FQDN he]# vi /etc/fstab //编辑etc/fstab文件启动文件系统的quota挂装选项
[root@FQDN he]# mkfs.ext4 /dev/data/home
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
196608 inodes, 786432 blocks
39321 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=805306368
24 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
[root@FQDN he]# mount /dev/data/home /home
[root@FQDN he]# vi /etc/fstab
[root@FQDN he]# vi /etc/fstab
[root@FQD