Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
[SOLVED] Share USB by port
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-05-01
06:27 PM
2015-05-01
06:27 PM
[SOLVED] Share USB by port
I have a ReadyNAS NVX and a few NV+. We rotate USB drives for offsite backup, and I need a way to CIFS share these USB drives so they all have the same share name instead of USB_HDD_1, USB_HDD_2, etc. E.g., something similar to ReadyNAS' builtin backup by USB port, but with a share name.
I've tried a couple of tricks, like:
Ideally, I'd like to share by port name (e.g., USBFront), which I could maybe accomplish by using the appropriate /dev/sd__? Regardless, I need to be able to manually create a CIFS share. Should be simple, but I haven''t been able to accomplish that.
I've tried a couple of tricks, like:
- Soft link to USB_HDD_1 in an already shared folder, but I get accessed denied when I try to open it.
- "net share add USBFront=/USB/USB_HDD_1/" but I get "NetShareAdd failed with: Access is denied"
Ideally, I'd like to share by port name (e.g., USBFront), which I could maybe accomplish by using the appropriate /dev/sd__? Regardless, I need to be able to manually create a CIFS share. Should be simple, but I haven''t been able to accomplish that.
Message 1 of 2
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-05-01
07:47 PM
2015-05-01
07:47 PM
[SOLVED] Share USB by port
I've found a hack for this that does exactly what I want:
- Unplug all your USB drives (optional).
- Edit /etc/frontview/usb/storage.conf
- Change the share names of the drives you want to rotate to the same. Share names begin with USB_ and are enclosed in double exclamation marks, like !!USB_HDD_1!!.
Note that if you have multiple drives with the same name plugged in at once, the last one plugged in gets the share. Unplugging any of them breaks the share. None of that is an issue for me because the old drive is always unplugged before the new one is attached.
Message 2 of 2