ZFSマウント先設定方法
ZFSのマウント先設定方法です。 CentOS 7.x対応
ZFSプールまたはZFS領域のマウント先が変更できます。
1 マウント設定
「zfs set mountpoint=[マウント先] [ZFSプール名または領域名]」を入力します。
[root@centos ~]# zfs set mountpoint=/mnt/test test [root@centos ~]#
* マウント確認
「zfs list && df -h」を入力します。
[root@centos ~]# zfs list && df -h NAME USED AVAIL REFER MOUNTPOINT test 74.5K 38.5G 19K /mnt/test ファイルシス サイズ 使用 残り 使用% マウント位置 /dev/mapper/centos_centos-root 18G 1.3G 17G 8% / devtmpfs 480M 0 480M 0% /dev tmpfs 489M 0 489M 0% /dev/shm tmpfs 489M 6.6M 483M 2% /run tmpfs 489M 0 489M 0% /sys/fs/cgroup /dev/sda1 497M 181M 317M 37% /boot tmpfs 98M 0 98M 0% /run/user/0 test 39G 0 39G 0% /mnt/test