- 论坛徽章:
- 0
|
FreeBSD手册 20.2.2. RAID-Z
The previous example created the storage zpool. This example makes a new file system called home in that pool:
# zfs create storage/home
Compression and keeping extra copies of directories and files can be enabled:
# zfs set copies=2 storage/home
# zfs set compression=gzip storage/home
To make this the new home directory for users, copy the user data to this directory and create the appropriate symbolic links:
# cp -rp /home/* /storage/home
# rm -rf /home /usr/home
# ln -s /storage/home /home
# ln -s /storage/home /usr/home
cp -rp /home/* /storage/home
这里不对啊,好像没有/storage/home这个挂载点,新建后的storage/home挂载点是none
如果我要将/usr/home单独新建一个文件系统/home进行挂载,该如何操作呢?下面我的做法是否合理正确?
# zfs rename -f zroot/usr/home zroot/home
# rm -rf /home
# zfs set mountpoint=/home zroot/home
|
|