× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Cannot move files on share / cannot activate HTTP on RN102

LaszloFolgerts
Aspirant

Cannot move files on share / cannot activate HTTP on RN102

Hardware: RN102, firmware 6.2.5

PC: Win7 X64

 

Ok, so as of late, I'm having trouble moving files within the same share (drag 'n drop in Win7 X64), which was never a problem before. When I try to move a file from one folder to the other within the same share, I get this message:

 

cannot copy file.jpg

 

So basically it's telling me that there isn't enough space while at the same time showing me that there's losts of space. I would guess this should be pretty irrelevant anyway, because I´m moving, not copying.

 

Also, the above pop-up keeps flashing every few seconds. If I keep hitting "try again" over and over, SOMETIMES a file gets copied. But most of the time it doesn't.

 

I saw on a thread regarding a similar problem someone mentioning that HTTP should be turned on, on the share. So I tried that on the web UI, but then I got this message:

 

commit failed.jpg

 

Does anyone know what's going on or how to fix this? Any help will be greatly appreciated.

 

Kind regards,

 

Laszlo

Message 1 of 24

Accepted Solutions
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

of course it's

# df -h /data

 I figured that out, eventally 😉 but thanks!

 

I kinda just followed this thread: https://community.netgear.com/t5/Using-your-ReadyNAS/No-available-diskspace-but-admin-page-reports-1...

 

after correcting some typos, it worked. After running the balance, I now have double the amount of totally allotted metadata space, yay! 🙂

 

@EskenderNG: hah, goog thing I didn't go through with it, then 😉

 

@EskenderNG, @StephenB, @vandermerwe: Thank you guys so much for responding to my questions; I wouldn't have otherwise been able to solve it! 🙂

 

View solution in original post

Message 24 of 24

All Replies
vandermerwe
Master

Re: Cannot move files on share / cannot activate HTTP on RN102

I see something similar when trying to write to windows network drives. It always responds to remounting the network drive.  The other method to try is to open the share via windows Network, your nas should be displayed there and you should be able to open up the relevant share.  Try the move like that without using the Z drive .

In the nas settings is http on as a service?

Message 2 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

Hi, thanks for the reply.

 

I have no trouble accessing the share, either via the web UI or via the network. I have trouble moving files within the share.

 

I can't seem to get HTTP turned on. Every time I toggle HTTP on via the web UI, I hit apply or save and then the aforementioned pop-up appears, thus telling me it failed to turn on HTTP.

 

I can't download anything anymore either. When I upload a NZB file to SABnzbd, I get the warning: ERROR: Failed making (/data/Videos/SABnzbd/filename)

 

 

Message 3 of 24
vandermerwe
Master

Re: Cannot move files on share / cannot activate HTTP on RN102

Do you have ssh access?

 

Message 4 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

Just tried it; simple login, reboot via SSH, all works.

Message 5 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

To be clear: HTTP is turned on at System>settings. But when I go to the share, it's turned off and I can't switch it on. I also found out that I can't reset permissions. First it tells me that it successfully reset permissions for the share, after which it tells me that it failed to do so.

Message 6 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

Still pulling my hair out on this one. For a while, I was able to move and add files and folders again, after I'd deleted some snapshots. Not shure if that had anything to do with it though, because they were only a few and had already deleted a lot more snapshots earlier. However, now I get the stupid pop-ups again and I can't move or add files and/or folders. Every now and then I can create a new folder, but when I want to change the folder name, I get the pop-up again that there's not enough space and then I can't add new folders anymore either.

 

As for now, I can't download anything or move any files around on my shares.

Message 7 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

It may be relevant to add that I do seem able to delete files, just not to add files or move files around.

 

Any help is welcome, thanks in advance.

Message 8 of 24
EskenderNG
NETGEAR Employee

Re: Cannot move files on share / cannot activate HTTP on RN102

Hi,

 

have you also received any other alerts from the ReadyNAS indicating that space is running out?

What happens if you try to upload a file using the ReadyNAS web GUI?

Have you run a balance (Admin page > Settings > Volume Schedule > Add > Action: Balance) lately?

 

Bye,

Eskender

Message 9 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

Hi, thanks for your reply.

 

A couple days earlier I got messages that there wasn't enough space available but after deleting all the snapshots I got a couple hundred gigs back.

 

If I try to upload a file through the web UI, it fails.

 

As far as I know, I have not run a balance (at least not on purpose.)

 

I though that it might be a permissions thing, but when it acts like this, I can't even change or reset permissions on a share.

 

I do remember messing around with accounts and user groups or something in win7. I can't remember exactly what it was anymore but I thought i returned everything back to its original settings again but maybe I overlooked something. Could this have something to do with it?

 

Thanks in advance,

 

Laszlo

 

 

Message 10 of 24
EskenderNG
NETGEAR Employee

Re: Cannot move files on share / cannot activate HTTP on RN102

Using SSH please try to run the following commands:

 

btrfs fi show

 

and

 

btrfs fi df /data

 

and post the output here. In case your volume is not called "data", please replace "data" with the appropriate name.

 

Bye,

Eskender

 

 

Message 11 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

For reasons unbeknownst to me, I am now able to add and move files again. I've had the NAS off for a while, but I'm not sure that had anything to do with it, because that's happened before and it didn't do anything then, so I'm not sure how long this will last.

 

Anyway, here's the screenshot:

putty output.jpg

 

I hope I did it right 😉

 

Thanks for the help anyway!

 

Cheers,

 

Laszlo

 

 

Message 12 of 24
EskenderNG
NETGEAR Employee

Re: Cannot move files on share / cannot activate HTTP on RN102

Hello,

the problem seems to be the following. Although the ReadyNAS / Windows report 400 GB of free space this space is not free in the ordinary sense. This is a particular of the filesystem Btrfs. Space previously allocated to meta data (see Metadata, DUP) can only used for meta data again once it is freed. The same is true for space allocated for data (Data, single).

 

The first command you entered shows that there is no more free space on the ReadyNAS that has never been used before. All remaining free space has previously been used for meta data / data and can only be used for the same again.

 

Of this space the majority has been used for data and only very little remains for meta data.

 

You will need to run a balance to allow some of the space reserved for data to be used for meta data. (Admin Page > Settings > Volume Schedule > Add > Balance)

 

Bye,

Eskender

Message 13 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

I see, so the data I freed from the snapshots would then only be available again for snapshots or other meta-data related things?

 

And by running a "balance", I can re-allocate that freed up space from meta-data to regular data?

 

Just checking if I understand correctly.

 

Thanks,

 

Laszlo

Message 14 of 24
EskenderNG
NETGEAR Employee

Re: Cannot move files on share / cannot activate HTTP on RN102

Almost. Metadata has nothing to do with snapshots. Snapshots are basically just pointers pointing to data blocks. If deleting snapshots gives you an increased amount of free space then the files the snapshots were made of were already deleted before. If any of the two still exists, the file or the snapshot of a file, the space will not be freed upon deletion of the other. So, by deleting the snapshots you have finally released the space formerly occupied by the data (that is space for metadata and space for data).

 

As mentioned before this free space is only returned in a "used" state. So, since I am guessing that you were running out of meta data space before you gained some new meta data space from the data the snapshots was pointing to.

 

What you want to do now is the opposite of what you mentioned. You actually want to free up data allocated space so it can be used for metadata by running a balance.

 

Bye,

Eskender

Message 15 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

Ok, thanks for the clarification. So in this particular case, deleting the snapshots is a bit like emptying the trash bin in windows.

 

But then do you think the lack of meta data space was the reason for not being able to move or add files on the shares, despite there being at least 300GB of free space?

 

Forgive my ignorance (I'm still quite a n00b) but what exactly is meta data for, then?

 

Thanks,

 

Laszlo

Message 16 of 24
StephenB
Guru

Re: Cannot move files on share / cannot activate HTTP on RN102

Literally "metadata" is "data about data".

 

In the context of BTRFS, the metadata includes the data structures associated with the file.  That is, where it lives on the disk, etc.

Message 17 of 24
EskenderNG
NETGEAR Employee

Re: Cannot move files on share / cannot activate HTTP on RN102

Hi no problem,

 

I would first wait and see if the balance yields the desired result. Maybe I was on the wrong path altogether.

 

This is my interpretation of the command results you posted. The first line of btrfs fi show tells me that your system is reporting roughly 400 GB of free space. However, looking at the second line one can see that this free space has been fully allocated before. To see what it has been allocated for the next command btrfs fi df /data is useful. There you can see that almost everything (the difference between total and used on the line Data, single) has been allocated for data. The other relevant line Metadata, DUP shows that only 250 MB of this space has been allocated for metadata.

 

I really do not have good knowledge of what minimum amount of space is required but this seems to be very little left. In fact, you might already run into problems as I remember vaguely that a balance requires around 500 MB of metadata space to work.

 

I would still try it but it might take a very long time. Unless someone else on the forum objects.

 

Bye,

Eskender

 

Message 18 of 24
EskenderNG
NETGEAR Employee

Re: Cannot move files on share / cannot activate HTTP on RN102

Preferably try to free more space before running the balance. There was just another user running into problems because of balancing with too little space left. The advice was to increase free space to 80 - 85%.

 

Eskender

Message 19 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

Ok, after working ok again for a while, its gone into "no more disk space available" mode again.

 

I ran a balance, but it didn't free up any meta data space. Here's what putty said:

output putty 2.jpg

 

What I also don't understand is that I was able to add/move files around when there was far less space available on the disks. Way before I deleted a bunch of files and snapshots.

 

And I don't really feel like emptying my drives for 80-85% That means losing allmost all of my data.

 

Thanks,

 

Laszlo

Message 20 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

Going through the log files, it shows that the balance was ended as soon as it started, which leads me to suspect that he balance didn't really run at all

 

output putty 3.jpg

 

I saw somewhere that you can run a balance through putty as well, but the how-to was a bit confusing to me.

 

# df -h data

gives me: "no such file or directory"

 

Thanks,

 

Laszlo

Message 21 of 24
StephenB
Guru

Re: Cannot move files on share / cannot activate HTTP on RN102


@LaszloFolgerts wrote:

Going through the log files, it shows that the balance was ended as soon as it started, which leads me to suspect that he balance didn't really run at all

 

output putty 3.jpg

 

I saw somewhere that you can run a balance through putty as well, but the how-to was a bit confusing to me.

 

# df -h data

gives me: "no such file or directory"

 


 

of course it's

# df -h /data

 

 

On manually running balance, 

 

btrfs balance /data

should work.

Message 22 of 24
EskenderNG
NETGEAR Employee

Re: Cannot move files on share / cannot activate HTTP on RN102

Sorry, I meant 15 % free space, 85 % occupied space.

 

Eskender

Message 23 of 24
LaszloFolgerts
Aspirant

Re: Cannot move files on share / cannot activate HTTP on RN102

of course it's

# df -h /data

 I figured that out, eventally 😉 but thanks!

 

I kinda just followed this thread: https://community.netgear.com/t5/Using-your-ReadyNAS/No-available-diskspace-but-admin-page-reports-1...

 

after correcting some typos, it worked. After running the balance, I now have double the amount of totally allotted metadata space, yay! 🙂

 

@EskenderNG: hah, goog thing I didn't go through with it, then 😉

 

@EskenderNG, @StephenB, @vandermerwe: Thank you guys so much for responding to my questions; I wouldn't have otherwise been able to solve it! 🙂

 

Message 24 of 24
Top Contributors
Discussion stats
  • 23 replies
  • 4078 views
  • 0 kudos
  • 4 in conversation
Announcements