Skip to content

Instantly share code, notes, and snippets.

@dnguy030
Created February 2, 2020 03:56
Show Gist options
  • Save dnguy030/61b627e3790fd89917d6cd8eb732d7cc to your computer and use it in GitHub Desktop.
Save dnguy030/61b627e3790fd89917d6cd8eb732d7cc to your computer and use it in GitHub Desktop.
Blu-ray over iSCSI
sudo apt install lsscsi
sudo apt install tgt
#If UFW is enabled then allow inbound TCP 3260 traffic
lsscsi -g
sudo vi /etc/tgt/conf.d/bluray.conf
#Here is a sample of how my file looks like
default-driver iscsi
<target iqn.2020-01.test.home:lg>
<direct-store /dev/sg0>
device-type pt
bs-type sg
removable 1
</direct-store>
</target>
<target iqn.2020-01.test.home:asus>
<direct-store /dev/sg1>
device-type pt
bs-type sg
removable 1
</direct-store>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment