Can I share a CDROM drive with network Windows users via SMB?

CFPhoto

Cadet
Joined
Jan 9, 2023
Messages
2
I have just installed a CD-ROM drive in my TrueNAS box and have successfully mounted a test CD, as noted in the code block below. I would like to create an SMB share of the disc so it can be accessed via Windows users on the network. I tried to create the SMB share and I am told "The path must reside within a volume mount point". Sharing a CD seems like a capability that a NAS should have. Am I missing something, or is this just not possible.

Code:
root@freenas:/mnt/cdrom/cd1 # mount -t cd9660 /dev/cd0 /mnt/cdrom/cd1
root@freenas:/mnt/cdrom/cd1 # ls
Copy of Philmont 009.jpg        Copy of Philmont 144.jpg
Copy of Philmont 017.jpg        Copy of Philmont 145.jpg
Copy of Philmont 020.jpg        Copy of Philmont 146.jpg
Copy of Philmont 021.jpg        Copy of Philmont 148.jpg
Copy of Philmont 024.jpg        Copy of Philmont 149.jpg
Copy of Philmont 025.jpg        Copy of Philmont 150.jpg
root@freenas:/mnt/cdrom/cd1 #


1673292093009.png


System:
OS: TrueNAS-13.0-U3.1
CPU: AMD FX-6300
RAM: 16GB
Boot drive: Samsung SSD 860 EVO 250
Main Pool Drives: 4 x Hitachi HUS724030ALE641 (3TB)
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
"The path must reside within a volume mount point"
you already have your answer. copy your files to the server and share that. a CD is read only anyway.
 
Last edited:
Top