D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: maki on April 14, 2014, 01:31:23 AM

Title: HD 89% full and i cannot copy any more files
Post by: maki on April 14, 2014, 01:31:23 AM
I have DNS 320 revB. I have put 2 WD 3TB RED WD30EFRX-68AX9N0 in it as RAID 1. After formatting i had 2,68TB. And now i have 89% full and i cannot copy any more files on NAS. Reading from NAS and copying from it and deleting works. When i free some space i can copy again on NAS, like disk is full. It happens always at 89%. Quotas are off. I have installed new firmware a couple days ago and problem remained.

When problems appear i get this message:
 There is a problem accessing <folder where i am copying files on NAS>
Make sure you are connected to the network and try again.

Please help

Title: Re: HD 89% full and i cannot copy any more files
Post by: ivan on April 14, 2014, 02:11:42 AM
What are you using to see the amount of free space on the RAID array?

If you have the array mapped to a drive letter run dir<drive> from a command prompt this will give you the amount of space used and the amount free.  If the amount free is smaller than the size of the file you are trying to copy, there is your problem.

The other thing you should be looking at is how you use the files on your NAS.  If some is just storage then you should consider moving some of them to a stand alone drive that can be stored in a safe place so freeing up space for those files that are in everyday use.
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on April 14, 2014, 04:32:49 AM
I see how much space i have left with NAS UI (with IE) and it says "2748.2GB / 300.5GB Available " and with windows explorer (i have mapped it to a drive letter) (2.68TB/300GB). By using dir from comand prompt i get 300GB free but in bytes.

If the amount free is smaller than the size of the file you are trying to copy, there is your problem.
:)
I can put another 10GB of anything on HDD, and after that it wont accept even 100MB and it should have 290GB. I have tried several times. 290 GB is point where it wont accept any more data, and i must delete something if i want to copy another file onto HDD.

I use my HDD for storage and as media center and it should have enough space for now. Problem is that is says that it has 290 GB free but it acts as it is full!
Title: Re: HD 89% full and i cannot copy any more files
Post by: cable2 on April 14, 2014, 08:28:55 AM
Hi,
I don't know if there is some kind of "effective" limit for these drives but I have read in a few places that at least for windows machines, as a drive approaches less than 10% of it's useable space, it becomes increasingly problematic and will often throw up various types of errors because of needing to run programs and the size of windows swap files etc.  I would think that this would be less of an issue on what is basically a linux box but I simply don't know.  I would consider checking with WD support in addition to checking here.  Until you get a better answer, this is my guess.
Title: Re: HD 89% full and i cannot copy any more files
Post by: JavaLawyer on April 14, 2014, 08:54:27 AM
I don't fully understand the behavior of the DNS-320 on-board "Applications", but I'm also wondering if you have any services or Applications running on the DNS-320 that may be trying to reserve HDD space, reducing the effective storage.
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on April 14, 2014, 10:07:17 AM
I don't know if there is some kind of "effective" limit for these drives...
300 GB is too much. It is not system drive, so no swap file there. And i could fill any other drive to the last byte. Although this is my first WD red.

...if you have any services or Applications running on the DNS-320 that may be trying to reserve HDD space, reducing the effective storage.
How can i check what services or apps are running?
I sometimes run p2p app. Most of the time it is disabled. I was also wondering about that but i couldn't find any setting that could be the problem. (maybe i dont know where to look) I also sometimes run ftp server. Again, none of the settings seems to be the problem. I have 3 users, one for PC, one for my smartphone when i am in house WIFI, and one for smartfone when i am out of house WIFI network. Only setting that looks to me that could be the problem are quotas for users, but i never set any of them and they are disabled. All aps came with NAS, and i didnt install any 3rd party aps. I didnt even try other apps.
Title: Re: HD 89% full and i cannot copy any more files
Post by: JavaLawyer on April 14, 2014, 12:15:12 PM
. . . How can i check what services or apps are running?
I sometimes run p2p app. Most of the time it is disabled. I was also wondering about that but i couldn't find any setting that could be the problem. (maybe i dont know where to look) I also sometimes run ftp server. Again, none of the settings seems to be the problem. I have 3 users, one for PC, one for my smartphone when i am in house WIFI, and one for smartfone when i am out of house WIFI network. Only setting that looks to me that could be the problem are quotas for users, but i never set any of them and they are disabled. All aps came with NAS, and i didnt install any 3rd party aps. I didnt even try other apps.

You can navigate through the listed "Applications" and disable the ones you aren't using.  Services like FTP may use additional CPU, but won't allocate HDD space. Citing a real world example, a number of DNS-325/345 ShareCenter owners noticed missing HDD storage that was ultimately tied back to the Surveillance Center add-on storing recorded video as hidden files resulting in massive discrepancies in available storage. I don't believe the DNS-320 has that application in particular, but this example does illustrate how an add-on can play havoc with reported storage.
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on April 15, 2014, 11:59:25 AM
I went through all apps and they are disabled (where that setting exist). I also ran extended smart test (i takes loooooong time to complete) and result is PASS. It seems that i will have to buy another 3TB HD and put all my data on it and then reformat NAS and hope it will solve my problem. If anyone has any more ideas they are welcome.  :(
Title: Re: HD 89% full and i cannot copy any more files
Post by: JavaLawyer on April 15, 2014, 12:45:49 PM
By chance did you enable any user/group based quotas?
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on April 16, 2014, 12:12:42 AM
Quota
status: stopped

Thats the first thing i checked.

By the way thanks for trying to help.  :)
Title: Re: HD 89% full and i cannot copy any more files
Post by: cable2 on April 16, 2014, 07:02:48 AM
Hi,
You probably checked already but is the recycle bin enabled?
Title: Re: HD 89% full and i cannot copy any more files
Post by: JavaLawyer on April 16, 2014, 08:59:20 AM
Hi,
You probably checked already but is the recycle bin enabled?

Do items in the recycle bin count against available storage as reported by Windows?  :-\
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on April 17, 2014, 03:44:18 AM
I have 2 network shares, Volume_1, and P2P. None of them has recycle enabled.

Title: Re: HD 89% full and i cannot copy any more files
Post by: cable2 on April 17, 2014, 11:47:50 AM
"Do items in the recycle bin count against available storage as reported by Windows?"  I thought my memory recalled some problems with inaccurate disk space and the recycle bin but after some searching, I am certain it does, but I am not sure that is what is going on here. 

http://forums.dlink.com/index.php?topic=51794.0

http://forums.dlink.com/index.php?topic=45982.0
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on April 17, 2014, 12:58:55 PM
Interesting links cable2. Just to try everything i enabled recycle on both shares, and it was empty (i got only Volume_1 Recycle, and not P2P recucle), so i disabled it again.
Title: Re: HD 89% full and i cannot copy any more files
Post by: cable2 on April 18, 2014, 08:25:06 AM
Hi again,
I don't know if you are a linux guy but if you are, I would try pulling a drive and looking at it on your linux machine to see if you can find any "hidden" files / folders.  It might be possible to do something similar with one of the windows apps to do this but I am sure of neither option.  Just a thought. Good luck.
Update for windows only users.
http://forums.dlink.com/index.php?topic=41734.0
Courtesy of JavaLawyer (Sticky)
Title: Re: HD 89% full and i cannot copy any more files
Post by: JavaLawyer on April 21, 2014, 04:59:33 AM
Any update on this issue?  ???  :-\
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on April 21, 2014, 01:34:17 PM
I pulled out one HD to see what is on it. Windows could not read what was on the disk but it detected 2 partitions! Unfortunately i couldn't start linux on my machine from boot disk. The friend who was helping me will bring at some point in the future his laptop with linux and we will plug my HD into it to see if there is anything of importance. I will post here result. 
By the way when i turned on NAS with one HD everything was on it and accessible, so it was successful simulation of one HD failure in RAID1 on DNS 320 :)
Unfortunately it will take between 6 and 7 hours to rebuild RAID :( (if speed doesn't change)

Title: Re: HD 89% full and i cannot copy any more files
Post by: ivan on April 22, 2014, 05:14:53 AM
Maki, if you are using a windows computer and you want to read a linux formatted disk check out the sickies at the beginning of this forum, JavaLawyer has done a good job of distilling the ways to do that that have been posted here including what software is needed if you can't boot using a live linux CD/DVD.
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on May 08, 2014, 01:25:05 PM
I have just plugged each of my HDs into laptop with linux and it shows one HD with 1.1 TB, and other with 802 GB of space. No files in either of them. And much of properties are unknown! Any advice?
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on May 08, 2014, 03:40:48 PM
A little more detail:
HDDs are connected through USB dock.

listed devices.

vlada-AMILO-Pi-3525 ~ # ls /dev/sd*
/dev/sda   /dev/sda10  /dev/sda3  /dev/sda6  /dev/sda8  /dev/sdb
/dev/sda1  /dev/sda2   /dev/sda5  /dev/sda7  /dev/sda9  /dev/sdc


/dev/sdb  i  /dev/sdc  appear after HDDs are turned on.



Attempted mounting:


vlada-AMILO-Pi-3525 ~ # mount /dev/sdb /mnt
mount: you must specify the filesystem type
vlada-AMILO-Pi-3525 ~ # mount -t ext2 /dev/sdb /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

vlada-AMILO-Pi-3525 ~ # mount -t ext3 /dev/sdb /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

vlada-AMILO-Pi-3525 ~ # mount -t ext4 /dev/sdb /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Title: Re: HD 89% full and i cannot copy any more files
Post by: ivan on May 10, 2014, 04:06:16 PM
I hope you made a backup of your data while you could read one disk.

Quote
I have just plugged each of my HDs into laptop with linux and it shows one HD with 1.1 TB, and other with 802 GB of space. No files in either of them. And much of properties are unknown!

For a start if this is a RAID 1 array both disks should be the same but this is not what you show here.  It looks as if the disk with the largest amount of space has had a failure of some sort at some stage and the difference between the two disks is causing problems with the software trying to calculate the amount of free space in the RAID array.

At this point it would be better for you to reformat the RAID 1 array and restore your files from backup.
Title: Re: HD 89% full and i cannot copy any more files
Post by: maki on May 11, 2014, 02:11:19 PM
When i returned HDDs in NAS everyting was like before (all files are there), and NAS UI reports that RAID 1 i OK. But, i will find another 3TB HD and make bcup and then reformat both HDDs in NTFS in some regular enclosure, and fill them completly to check HDDs, and then again put them in NAS and reformat in RAID1 and see if anything has changed. It will take some time to get large bcup HD but when i get one and try this i will post here the result.