NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Oct 12, 2014Backup not cancelled, broken USB share #24029659
So I tried using backup for the first time to a USB drive; what a disappointment that was!
ReadyNAS 102. Firmware 6.1.9
I have multiple shares on the NAS which I wanted to backup so I created a single job for each share and used external storage as the destination. It was only after I started the job running that I realised it puts all of the files/folders within that share onto the root of the drive. So I clicked cancel from the FrontView. A while later it says cancelling, few more minutes later - still cancelling. I looked at the external drive contents and noticed it is continuing the backup as though nothing has happened. How can Netgear release software as poorly written as this?! When I cancel an operation I expect it to cancel, not continue merrily along as though nothing has happened.
Out of sheer frustration I unplugged the USB cable from the drive and restarted the NAS through the FrontView (surprisingly this worked as expected).
Now whenever I plug in the USB drive it shows 2 shares, USB_HDD_1 which is broken and USB_HDD_3 which works. How can I remove the broken share and just show the working one?

Eject doesn't work for this share/drive and there is no obvious option to delete. I have also tried formatting the drive through Windows, but still the same.
I realise now I can backup the shares to a folder of my choice with destination set to: share: USB_HDD_x
Thanks
Matt
ReadyNAS 102. Firmware 6.1.9
I have multiple shares on the NAS which I wanted to backup so I created a single job for each share and used external storage as the destination. It was only after I started the job running that I realised it puts all of the files/folders within that share onto the root of the drive. So I clicked cancel from the FrontView. A while later it says cancelling, few more minutes later - still cancelling. I looked at the external drive contents and noticed it is continuing the backup as though nothing has happened. How can Netgear release software as poorly written as this?! When I cancel an operation I expect it to cancel, not continue merrily along as though nothing has happened.
Out of sheer frustration I unplugged the USB cable from the drive and restarted the NAS through the FrontView (surprisingly this worked as expected).
Now whenever I plug in the USB drive it shows 2 shares, USB_HDD_1 which is broken and USB_HDD_3 which works. How can I remove the broken share and just show the working one?

Eject doesn't work for this share/drive and there is no obvious option to delete. I have also tried formatting the drive through Windows, but still the same.
I realise now I can backup the shares to a folder of my choice with destination set to: share: USB_HDD_x
Thanks
Matt
17 Replies
Replies have been turned off for this discussion
- vandermerweMaster1. You could contact support.
2. Are you comfortable with ssh? - Retired_MemberThanks vandermerwe. Good point, I will try support first as I I've not had any experience with SSH.
- mdgm-ntgrNETGEAR Employee RetiredCan you download your logs (System > Logs > Download Logs) and attach the zip file to your support case?
- Retired_Member
mdgm
Didn't realise you had posted on here, now subscribed to the topic. Daft place to put the subscription button at the bottom of the page :/
Logs sent
Thanks - Retired_MemberI decided to have a go with SSH, Sqlite and Visual Editor - not as bad as I first thought.
Thanks mdgm for the useful info.
Using the editor I removed the USB_HDD_1 and USB_HDD_3 from /etc/frontview/usb/storage.conf
Then used Sqlite to remove all USB_HDD_1 and USB_HDD_3 share occurrences that I could find in the follwoing tables of /var/readynasd/db.sq3:
nfs_share_option
rsync_share_option
ftp_share_option
share
usb_storage
I refreshed the ReadyNAS frontview and the two shares had gone. Great.
I then unplugged the USB drive and plugged it back in. Unfortunately, after mounting the device, it still shows both USB_HDD_1 & 3, but this time USB_HDD_1 is the functioning one with no red cross.
Is the share/media information referenced anywhere else that I need to delete, so that it only populates the single share? - mdgm-ntgrNETGEAR Employee RetiredYou probably also needed to edit some other config files seeing you had enabled protocols for the USB share. After removing the entries from the databse you probably needed to restart readynasd or reboot your NAS.
- Retired_MemberWould you happen to know which config files these might be or where I might be able to find some more information? I just made an educated guess with the database tables based on their header names. Thanks
- mdgm-ntgrNETGEAR Employee RetiredThey should be under /etc/frontview in Shares.conf for different protocols.
- Retired_MemberCheers, I'll give that a try.
- Retired_MemberWent through the entire etc/frontview/ directory and checked all .conf files.
etc/frontview/usb/._share/USB_HDD_3/ renamed folder to USB_HDD_1
etc/frontview/proftpd/Shares.conf renamed all references of USB_HDD_3 to USB_HDD_1
etc/frontview/apache/Shares.conf renamed all references of USB_HDD_3 to USB_HDD_1
etc/frontview/apache/WebShare.conf renamed all references of USB_HDD_3 to USB_HDD_1
Launched Sqlite3
//make it easier for multiple editsATTACH "/var/readynasd/db.sq3" AS db;
.headers on
//update share table (only 1 media share listed which was ID 6)UPDATE db.share SET zfs_name = "USB_HDD_1", name = "USB_HDD_1", path = "/media/USB_HDD_1" WHERE id = 6;
--
All other tables were fine with share IDs <= 6
On reboot and reconnecting the USB drive it came back with the two shares AGAIN.
Lost now. Any more suggestions, apart from factory reset?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!