NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bucky1
Feb 01, 2013Aspirant
When I delete a share it deletes my data as well
READYNAS NV+ v2 with 4 3TB WD Red
RAIDiator 5.3
RAIDar 4.3.4
Setup as Flex Raid JBOD with 4 volumes c,d,e,f
Accessing console (dashboard) with firefox 18
I been copying all my data onto these volumes over the past few days. I noticed the shares which come with the Readynas and mentioned in the RAIDiator 5.3 manual, the shares are called Backup and Media. When you look on the web interface on the shares tab it lists the current shares, so it says "Backup" with "/c/backup" underneath and "Media" with "/c/Media" underneath.
As it says in the manual "you can delete or rename these shares. You can create other shares to organize your data" so I highlighted each one and pushed the "-" button on the console to delete and they were gone. Then the next day they came back!! So I deleted them again. Each time I pushed "-" it confirmed do I want to delete it? and I answered Yes. And they disappeared from the console screen.
Somewhere along the line and after trying to delete them multiple times I noticed the "Media" now said "/e" rather than "/c/Media" I might have tried adding a share to the e volume, or editing the media share that was there I'm not sure.
So this time I once again tried deleting them and they were gone and so was all my data on e volume....2TB worth! (i have a backup on another HD thankfully) which took 10 hours to copy onto there.
Then I restarted the NAS and computer....and the f%^king shares reappeared once again "Backup" with "/c/backup" and "Media" "/e" but there was nothing on the e volume, so trying to delete the share deleted all the data but the share remained!! What sort of a whacky machine is this!! The e volume was completely empty apart from 2 files which were on there from the initial install.
Anyway I couldn't believe what was going on and I thought maybe I had deleted the files somehow by accident (I don’t know how!) so I copied them again. Then when I was trying to work out what was going on with these undeletable shares I was looking at the contents of the e volume and deleted the "media" share with "/e" and watched as all the files were being deleted...then that confirmed it, deleting a share deletes the data along with it.
I thought removing a share like in windows XP or Win7 didn't touch the data, it just allowed you to share it out...if you delete the share it just stops sharing it out...but no...it deletes it on this thing!
I would love to know what is going on here if anyone has some insight? This is the first NAS I've owned and I've only had it 1 week.
Firstly how do I delete this factory install shares once and for all?
Secondly why does deleting a share delete the data as described?
How can I delete a share but not have it delete all the data that is being shared?
Cheers
RAIDiator 5.3
RAIDar 4.3.4
Setup as Flex Raid JBOD with 4 volumes c,d,e,f
Accessing console (dashboard) with firefox 18
I been copying all my data onto these volumes over the past few days. I noticed the shares which come with the Readynas and mentioned in the RAIDiator 5.3 manual, the shares are called Backup and Media. When you look on the web interface on the shares tab it lists the current shares, so it says "Backup" with "/c/backup" underneath and "Media" with "/c/Media" underneath.
As it says in the manual "you can delete or rename these shares. You can create other shares to organize your data" so I highlighted each one and pushed the "-" button on the console to delete and they were gone. Then the next day they came back!! So I deleted them again. Each time I pushed "-" it confirmed do I want to delete it? and I answered Yes. And they disappeared from the console screen.
Somewhere along the line and after trying to delete them multiple times I noticed the "Media" now said "/e" rather than "/c/Media" I might have tried adding a share to the e volume, or editing the media share that was there I'm not sure.
So this time I once again tried deleting them and they were gone and so was all my data on e volume....2TB worth! (i have a backup on another HD thankfully) which took 10 hours to copy onto there.
Then I restarted the NAS and computer....and the f%^king shares reappeared once again "Backup" with "/c/backup" and "Media" "/e" but there was nothing on the e volume, so trying to delete the share deleted all the data but the share remained!! What sort of a whacky machine is this!! The e volume was completely empty apart from 2 files which were on there from the initial install.
Anyway I couldn't believe what was going on and I thought maybe I had deleted the files somehow by accident (I don’t know how!) so I copied them again. Then when I was trying to work out what was going on with these undeletable shares I was looking at the contents of the e volume and deleted the "media" share with "/e" and watched as all the files were being deleted...then that confirmed it, deleting a share deletes the data along with it.
I thought removing a share like in windows XP or Win7 didn't touch the data, it just allowed you to share it out...if you delete the share it just stops sharing it out...but no...it deletes it on this thing!
I would love to know what is going on here if anyone has some insight? This is the first NAS I've owned and I've only had it 1 week.
Firstly how do I delete this factory install shares once and for all?
Secondly why does deleting a share delete the data as described?
How can I delete a share but not have it delete all the data that is being shared?
Cheers
23 Replies
Replies have been turned off for this discussion
- bucky1Aspirant
chirpa wrote: Unfortunately, I don't know how well Flex-RAID was QA'd on the 5.3.x platform. Maybe one/two volumes, but with four volumes and deleting shares, I could see where paths could be corrupted and deleting the wrong shares. Flex-RAID was an after thought for support on the ARM platform, wasn't originally there.
yes I think so...I think the shares are something to set up and just leave, especially in my case - bucky1AspirantI physically removed the drive corresponding to volume e and directly deleted the partitions on my computer then put it back in the NAS as if it were a brand new disk.
This might be a little off topic for this thread but its as a result of not being able to delete the share on the entire e volume, the NAS has created a new volume and called it volume g.
I want to see if the /e/ share comes back in the Dashboard. Is there anyway to change the volume name from g back to e? Keeping in mind this is a Flex Raid JBOD setup. - EtzAspirant
bucky wrote: Thanks for your reply Etz.
“Basically each share is a separate folder in NAS file system, you delete folder, you delete its contents”…..understand…however unintuitive it is!
Shouldnt be, as Samba generally works this way, regardless of platform. (Windows included) :roll:
Only thing is, dont mix server with client, if you delete share (not contents) on client PC, data wil remain intact, if you delete it on server, it will get actually deleteded.bucky wrote:
So from here I guess questions become
1. If I delete a share and it deletes the data how do I recover that data as you have said in your last sentence? You said it still exists in console, what do you mean?
I was able to see it when SSH`ing into box, right after deletion and I could use "mv" command to move data to another existing share (folder)
Unfortunately it is too late for yours already, as you have done multiple reboots, etc...
I did some tests also after that, whole share (folder) with data will be completely gone (from filesystem) after reboot, so there is nothing to recover anymore, also ARM unit may act differently and folder may be gone immediately. I observed such behavior on Sparc based unit.StephenB wrote: AFAIK there is no easy way to recover data from a deleted share. Certainly there isn't one built into dashboard. Recovering deleted files from linux file systems is not easy - there is a utility called extundelete which claims to do it, though I don't know how well it works or what it takes to install it on an NV+ v2. It would require ssh access.
It works pretty well, though I havent tried to install it on ReadyNAS.
Also it depends heavily on filesystem, basically lost files on EXT2 is almost impossible to recover from end-user point of view.
EXT3 & EXT4 have more hope to get at least something back.
There is also another tool called "extundelete" for those, witch I have not tried. - bucky1AspirantHow do you SSH into the box?
Is there anyway to change the volume name, say from g to e? - StephenBGuru - Experienced User
In Windows, you can unshare as well as delete. I think bucky was thinking that removing the share from dashboard was the same as windows unshare - when of course it is really the same as delete.Etz wrote: bucky wrote: Thanks for your reply Etz.
“Basically each share is a separate folder in NAS file system, you delete folder, you delete its contents”…..understand…however unintuitive it is!
Shouldnt be, as Samba generally works this way, regardless of platform. (Windows included) :roll:
Only thing is, dont mix server with client, if you delete share (not contents) on client PC, data wil remain intact, if you delete it on server, it will get actually deleted. - EtzAspirant
StephenB wrote: In Windows, you can unshare as well as delete. I think bucky was thinking that removing the share from dashboard was the same as windows unshare - when of course it is really the same as delete.
Maybe, havent used windows for a while...and actually I never shared anything out on a Windows machine...
If you use Windows as pure client, I really doubt that you could actually delete share on a server without actually accessing it from GUI or CLI... :roll: - StephenBGuru - Experienced User
My comments were for the case where you are hosting a share from Windows. I agree you can't delete (or unshare) a network folder hosted on another machine, though of course you can delete the files in the share if you have the right permissions.Etz wrote: StephenB wrote: In Windows, you can unshare as well as delete. I think bucky was thinking that removing the share from dashboard was the same as windows unshare - when of course it is really the same as delete.
Maybe, havent used windows for a while...and actually I never shared anything out on a Windows machine...
If you use Windows as pure client, I really doubt that you could actually delete share on a server without actually accessing it from GUI or CLI... :roll: - bucky1AspirantIf I'm in my windows XP or Win7 and right click on a file and choose share, and sometime later right click on the shared folder and uncheck the shared box it does not delete the folder and files. I share and unshared on XP and Win7 all the time. So I don't know what you guys are talking about when you say its the same....its not. If I un-share on dashboard for my NAS it deletes the folder and contents...thats not the same as XP or Win7. Right click and choosing delete on XP or Win7 is not the same as simply un-sharing and having your files deleted.
Thank you guys for your responses anyway.
BTW......I done the factory reset on my NAS.....set it as Flex Raid JBOD.
And if you remember my system
READYNAS NV+ v2 with 4 3TB WD Red
RAIDiator 5.3
RAIDar 4.3.4
Setup as Flex Raid JBOD with 4 volumes c,d,e,f
Accessing console (dashboard) with firefox 18
After I did the factory reset and copied terrebytes of data back onto the NAS. I check the default shares and they were /c/Media and /c/Backup
I will say again I did not even play with the shares on dashboard....I did not delete, change the name, play with the actual folders, create any other shares...nothing.
And the shares changed from /c/Media and /c/Backup to /c/Media and /e/
So how is that possible? The machine shares changed by themselves.......Anyone know why??? - EtzAspirantOn ReadyNAS there is no "unshare" option via Dashboard, there is only option to create share or delete it.
If you want to unshare it, you can remove CIFS, NFS, AFP, FTP or HTTP access to that share.
Basics which work under the hood, are basically same in all OS`es which use Samba.
It is also covered in documentation: http://www.downloads.netgear.com/files/ ... 5Sep12.pdf - bucky1Aspirant
Etz wrote: On ReadyNAS there is no "unshare" option via Dashboard, there is only option to create share or delete it.
If you want to unshare it, you can remove CIFS, NFS or HTTP access to that share.
Basics which work under the hood, are basically same in all OS`es which use Samba.
For god sakes, look into manual if you dont what youre doing: http://www.downloads.netgear.com/files/ ... 5Sep12.pdf
Hi Etz....ok thankyou I understand, I have read the manual..I see the distinction between unshare and delete a share.
See my question which I just wrote above your post
Related Content
- Mar 31, 2022Retired_Member
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!