Sample Header Ad - 728x90

Can not change ISCSI disk mount point to other directory

0 votes
1 answer
86 views
**Problem:** I can not change ISCSI disk mount point to other directory. Currently I have ISCSI disk mounted to /iscsi2 I would like to change it to /iscsi I changed /iscsi2 to /iscsi in /etc/fstab, but mounting to /iscsi is unsuccessful. **Reproducing steps:** 1. Mount /iscsi2 based on /etc/fstab. Failed, because mountpoint is already renamed to /iscsi mount /iscsi2 mount: can't find /iscsi2 in /etc/fstab 2. Mount /iscsi2 based on device path, successful. mount /dev/sdd1 /iscsi2 3. Shows that it is mounted: lsblk -af | grep -i iscsi L¦sdd1 ext4 ISCSI_Backup2 3829ed05-f445-425d-8213-3b1c2d41fba /iscsi2 4. Unmount /iscsi2: umount /iscsi2 5. Shows that it is unmounted: lsblk -af | grep -i iscsi L¦sdd1 ext4 ISCSI_Backup2 3829ed05-f445-425d-8213-3b1c2d41fba 6. Mount /iscsi based on device path. Failed. mount /dev/sdd1 /iscsi 7. Shows that it is still unmounted: lsblk -af | grep -i iscsi L¦sdd1 ext4 ISCSI_Backup2 3829ed05-f445-425d-8213-3b1c2d41fba Any idea why mount is successful to /iscsi2 and fails to /iscsi ?
Asked by klor (426 rep)
Aug 5, 2024, 07:20 AM
Last activity: Aug 6, 2024, 12:16 AM