linuxconsolebackupdebian-jessiebacula

Command to know what was mounted in a folder


I have a folder on my server that mounts volumes of a FreeNAS via the iSCSI protocol. I need to mount these same folders on another server but I can't figure out how they were mounted because the naming in FreeNAS and the folders are different.   Are there any commands I can use to see how they were assembled? Using the df command I have the following return:

/dev/sde       1008G  605G  352G  64% /mnt/folder1
/dev/sda       1008G  150G  808G  16% /mnt/folder2
/dev/sdf        4,0T  4,0T     0 100% /mnt/folder3

But this is not useful since I can't figure out which volumes these mounts are referencing.

I'm Using Debian GNU/Linux 8.9 (jessie) and FreeNAS 9.10.2.


Solution

  • As we discussed in the comments to the original question, /dev/sdX is simulated devices with iSCSI protocol. To manage those you would normally use iscsiadm command.