Вы находитесь на странице: 1из 1

[root@desktop1 ~]# history

1 fdisk -l
2 vim /etc/iscsi/initiatorname.iscsi
3 yum install iscsi*
4 man iscsiadm
5 iscsiadm --mode discoverydb --type sendtargets --portal 172.25.1.11
--discover
6 systemctl enable iscsi
7 systemctl start iscsi
8 fdisk -l
9 fdisk /dev/sda
10 partprobe
11 fdisk -l
12 mkfs.ext4 /dev/sda1
13 mkdir /data
14 mount /dev/sda1 /data
15 df -h
16 blkid /dev/sda1
17 vim /etc/fstab
18 reboot
19 cd
20 df -h
21 history
[root@desktop1 ~]# grep -i netdev /etc/fstab
UUID=58ca90fa-e0d4-4cb0-8884-cc3d2c8cd755 /data ext4 _netdev
0 0