You are not logged in.

#1 2025-08-22 20:37:46

Skilowi
Member
Registered: 2025-08-03
Posts: 21
Website

Share optical drive over network. Not contents of drive, THE drive.

Hello.
I wanted to share optical drive from other computer (two arch servers) to mine (arch client).

Solutions I found on internet arent sufficient for me. I dont want to share just block device (which is CD) but entire drive, so it is ejectable with `eject` and k3b can detect it, or at least is burnable with `cdrecord`.
Is there even such solution?


Moron from Poland necromancing old ThinkPads and Computers.
I also learn Mechatronics.

Offline

#2 2025-08-23 01:33:17

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,448

Re: Share optical drive over network. Not contents of drive, THE drive.

You'll need a block-level protocol to be able to do that low-level access. Look into Fibre Channel, iSCSI or FCoE. But I doubt you can do that at a "hobby level" cost, those are typically pretty expensive solutions.

Offline

#3 2025-08-23 01:42:48

solskog
Member
Registered: 2020-09-05
Posts: 462

Re: Share optical drive over network. Not contents of drive, THE drive.

install nfs-utils and share via network to clients.

so it is ejectable with `eject` and k3b can detect it, or at least is burnable with `cdrecord`.

ssh into host machine from clients.

Last edited by solskog (2025-08-23 01:54:49)

Offline

#4 2025-08-23 08:08:41

Skilowi
Member
Registered: 2025-08-03
Posts: 21
Website

Re: Share optical drive over network. Not contents of drive, THE drive.

solskog wrote:

install nfs-utils and share via network to clients.

so it is ejectable with `eject` and k3b can detect it, or at least is burnable with `cdrecord`.

ssh into host machine from clients.

This is solution I was thinking about. Setting up http server with ISO files, ssh into second computer, there wgetting files and burning them on CD.
But having that drive seen as local is much more elegant solution :-)


Moron from Poland necromancing old ThinkPads and Computers.
I also learn Mechatronics.

Offline

#5 2025-08-23 08:11:34

Skilowi
Member
Registered: 2025-08-03
Posts: 21
Website

Re: Share optical drive over network. Not contents of drive, THE drive.

twelveeighty wrote:

You'll need a block-level protocol to be able to do that low-level access. Look into Fibre Channel, iSCSI or FCoE. But I doubt you can do that at a "hobby level" cost, those are typically pretty expensive solutions.


I will look into these, if will be too hard for me to setup I will simply turn towards solution from reply above, maybe I might automatize it.


Moron from Poland necromancing old ThinkPads and Computers.
I also learn Mechatronics.

Offline

#6 2025-08-23 08:59:53

GerBra
Forum Fellow
From: Bingen/Germany
Registered: 2007-05-10
Posts: 266

Re: Share optical drive over network. Not contents of drive, THE drive.

Also take a look at nbd (NetworkBlockDevice)
https://archlinux.org/packages/extra/x86_64/nbd/

I used this in the early years when CD/DVD and burners were still expensive. As far as I remember, a remote burner is also used as a burner on the client.

One link for a possible configuration:
https://superuser.com/questions/316745/ … he-network


My avatar: "It's not just a toilet... a FERGUSON. The King of bowls. Sit down and give me your best shot." Al Bundy

Offline

#7 2025-08-23 09:16:48

Skilowi
Member
Registered: 2025-08-03
Posts: 21
Website

Re: Share optical drive over network. Not contents of drive, THE drive.

GerBra wrote:

Also take a look at nbd (NetworkBlockDevice)
https://archlinux.org/packages/extra/x86_64/nbd/

I used this in the early years when CD/DVD and burners were still expensive. As far as I remember, a remote burner is also used as a burner on the client.

One link for a possible configuration:
https://superuser.com/questions/316745/ … he-network


I have tried nbd already

You can only connect to it when theres a disk in drive, if its missing it will error out with message that server configuration is wrong. <- this wasted me like a hour of my life. Properly reading into systemctl status let me know why its not working.
eject wont run with nbd
k3b wont detect your drive
cdrecord wont burn into that cd

It is only readable.

Last edited by Skilowi (2025-08-23 09:18:13)


Moron from Poland necromancing old ThinkPads and Computers.
I also learn Mechatronics.

Offline

#8 2025-08-23 09:17:47

solskog
Member
Registered: 2020-09-05
Posts: 462

Re: Share optical drive over network. Not contents of drive, THE drive.

But you still need ssh into server for reject and burn CD/DVDs.

Last edited by solskog (2025-08-23 09:24:28)

Offline

Board footer

Powered by FluxBB