0807作业
作业:在iscsi服务端将大小为4G逻辑卷共享给客户端,在客户端系统启动期间,该iscsi设备自动加载。该块设备上包含一个大小为2300MB的分区,文件系统类型为ext4,此分区在系统启动期间同时自动挂载在/share/disk上。
geten getenforce setenforce 0 systemctl start target ss- Intup| grep 3260 iscsiadm -m discovery -t st -p 192. 168. 168.128 targetcli systemctl restart target targetcli systemctl restart target getenforce systemctl status firewalld iscsiadm -m discovery -t st -p 192. 168. 168.128 Lsblk iscsiadm -m node -l vim /etc/ iscsi/ initiatorname. iscsi targetcli vim /etc/iscsi/ initiatorname.iscsi systemctl restart iscsi iscsid lsblk iscsiadm -m node - l iscsiadm -m node - u Lsblk
|