• Welcome to LiuJason's Blog!

Linux下使用原生iSCSI共享ZFS块文件|Debian10为例

Linux笔记 Jason 1 months ago (07-02) 210 Views 0 Comments QR code of this page

先上代码,后面再来补

root@JS-2001:~# zfs create -p -o compression=on zfs-2001/jelastic/2001
root@JS-2001:~# zfs set sharenfs="rw=@172.16.3.0/24" zfs-2001/jelastic/2001
root@JS-2001:~# zfs share zfs-2001/jelastic/2001
root@JS-2001:~# exportfs
/zfs-2001/jelastic/2001
                172.16.3.1/29

强烈推荐:https://pthree.org/2012/12/17/zfs-administration-part-x-creating-filesystems/


This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/820.html
Like (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址