You must reestablish a mount point after a reboot. The device ID can be different after a reboot, and the iSCSI ID is unknown during automounting.
Mounting the target can be performed manually or by script.
Do not insert a line for the mount point in the /etc/fstab file.
- Type the following code to find the device ID that corresponds to the iSCSI target ID. # ls -l /dev/disk/by-path|grep iqn.1991-05.com.microsoft:bsrv25-abu2850gb-target lrwxrwxrwx 1 root root 10 Mar 5 07:25 ip-192.168.15.51:3260-iscsi-iqn.1991-05.com.microsoft:bsrv25-abu2850gb-target-lun-0 -> ../../sdam lrwxrwxrwx 1 root root 11 Mar 5 07:25 ip-192.168.15.51:3260-iscsi-iqn.1991-05.com.microsoft:bsrv25-abu2850gb-target-lun-0-part1 -> ../../sdam1
- Mount the device ID. # mount /dev/sdam1 /var/abu_storage/bsrv25_abu_book4