ZFS領域作成方法
ZFS領域方法です。 CentOS 7.x対応
ZFSプールが作成済みである前提です。
1 ZFS領域作成
「zfs create [ZFSプール名]/[ZFS領域名]」を入力します。
[root@centos ~]# zfs create test/hogehoge [root@centos ~]#
* マウント確認
「zfs list && df -h」を入力します。
[root@centos ~]# zfs list && df -h NAME USED AVAIL REFER MOUNTPOINT test 93.5K 38.5G 19K /mnt/test test/hogehoge 19K 38.5G 19K /mnt/test/hogehoge ファイルシス サイズ 使用 残り 使用% マウント位置 /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 test/hogehoge 39G 0 39G 0% /mnt/test/hogehoge