3

I'm not sure if this exists.

I have a client with a DVR that will accept a USB drive as a backup location. On an ubuntu server, can I create an empty file with dd, attach it to whatever the service is called, connect both computers with a usb cable (ignore cable length for now), and present that to the DVR from the server as a virtual storage device that can be formatted and used as a backup location?

user38537
  • 273
  • 3
  • 13

2 Answers2

3

There’re was a project called Aclouda and it could do a similar thing but with ARM CPU and internal flash & disk. I don’t know how functional it’s and what it costs.

http://aclouda.com/

This is similar Linux project, but it’s development stalled.

https://github.com/ueno/libusb-gadget

RiGiD5
  • 837
  • 1
  • 6
  • 10
1

This is a job for Linux USB Gadget mass storage

Here is a tutorial.

Nevertheless, your Linux host must support USB OTG mode of operation, which isn't very frequent on server hardware.

binarym
  • 126
  • 2