Network block devices solve this very problem, but it can be tricky to get it working. Somehow or another, when you have the USB plug into the machine, you need hotplug to run
nbd-server 9999 /dev/sda1
On the server, you'd need to run
nbd-client <ip or host of TS client> 9999 /dev/nb/0
Then on the server, the same script that does that should mount /dev/nb/0 as if it were a local disk. This is not easy to set up, but searching the mailing list archives for whatever terminal server you're running for network block device should probably turn up some info.
By the way, only the server needs to have th nbd module inserted. Keep me updated if you get any new info.
|