Jump to content

Recommended Posts

Posted

I need to delete around 1TB of data off of one of our ReadyNAS 2100s. Deleting all this data manually is a no go so is there any free software or scripts I can use to get rid of the data? I tried using Robocopy to delete the data but it kept throwing up (lack of) permission errors despite the account having full access to both folders and all data inside.

 

Any advice is much appreciated. Cheers!

Posted
might be quicker to reformat and copy back the data you do want on there

 

The NAS holds 4TB in total (it's 98% full) and we have no where to copy the other 3TB of data to. Good suggestion though.

Posted
can it be deleted from the web interface?

 

Heh I had completely forgotten I could do that :doh: I'm not confident in the web interface at all as it rarely works properly for us but |I'll give it ago. Thanks!

 

Any other solutions are more than welcome.

Posted

Using the web interface to delete the folder didn't do anything. I'll retry it again later and leave it going over night.

 

CMD rmdir /s is very effective with NAS boxes I've found - just did one yesterday with this where manual deletion had hit a roadblock. It's fast too.

 

I cannot get this command to work:

 

C:\>rmdir /s "\\netbackup2\pluto\student area\Year\H\RMUsers"

\\netbackup2\pluto\student area\Year\H\RMUsers, Are you sure (Y/N)? y

The system cannot find the path specified.

 

However I can make a new folder and then delete it:

 

C:\>mkdir "\\netbackup2\pluto\student area\Year\H\RMUsers\test1"

 

C:\>rmdir /s "\\netbackup2\pluto\student area\Year\H\RMUsers\test1"

\\netbackup2\pluto\student area\Year\H\RMUsers\test1, Are you sure (Y/N)? y

 

 

Anyone have any suggestions? I did reboot the NAS and still no luck.

Posted (edited)

Try this...

 

@echo off
pushd "\\netbackup2\pluto\student area\Year\H"
rd /s /q RMusers
popd

 

The pushd command will automatically map a drive letter for you directly to the "H" folder. :)

Edited by Arthur
Posted
is it just filenames are too long for windows to cope with might be worth mappign a drive furter down the chain of folders \\nas01\folder\folder\folder\folder and then trying
Posted (edited)

try using 7zip to delete the pesky long filenames

 

it workes great for me

use the 7zip browser and hit delete you might have to hold shift down at the same time so they dont goto the recycle bin

 

 

also i found i can only delete the files on our nas when connecting through the main server

http://www.edugeek.net/forums/windows-server-2008/82394-tip-delete-those-pesky-files-windows-refuses-delete-filename-too-long-ect.html

Edited by round2it
Posted
I have known DOS to be funny about UNC paths, try mapping it to a drive then running the command on the mapped drive

 

I mapped my R: Drive to \\netbackup2\pluto\student area\Year\H

 

R:\>rmdir /s \RMUsers

\RMUsers, Are you sure (Y/N)? y

\RMUsers\Students\Work\Year13 - The system cannot find the path specified.

\RMUsers\Students\Work\Visitors - The system cannot find the path specified.

\RMUsers\Students\Work\Year10 - The system cannot find the path specified.

 

The path is most definately correct and I've tried mapping the folder further up and still no luck

 

Try this...

 

@echo off
pushd "\\netbackup2\pluto\student area\Year\H"
rd /s /q RMusers
popd

 

The pushd command will automatically map a drive letter for you directly to the "H" folder. :)

 

I still get "The system cannot find the path specified" and the command doesn't map a drive.

 

is it just filenames are too long for windows to cope with might be worth mappign a drive furter down the chain of folders \\nas01\folder\folder\folder\folder and then trying

 

try using 7zip to delete the pesky long filenames

 

it workes great for me

use the 7zip browser and hit delete you might have to hold shift down at the same time so they dont goto the recycle bin

 

 

also i found i can only delete the files on our nas when connecting through the main server

http://www.edugeek.net/forums/windows-server-2008/82394-tip-delete-those-pesky-files-windows-refuses-delete-filename-too-long-ect.html

 

I'll try this now.

 

Thanks all I really appreciate the help :)

Posted (edited)
is it just filenames are too long for windows to cope with might be worth mappign a drive furter down the chain of folders \\nas01\folder\folder\folder\folder and then trying

 

try using 7zip to delete the pesky long filenames

 

it workes great for me

use the 7zip browser and hit delete you might have to hold shift down at the same time so they dont goto the recycle bin

 

 

also i found i can only delete the files on our nas when connecting through the main server

http://www.edugeek.net/forums/windows-server-2008/82394-tip-delete-those-pesky-files-windows-refuses-delete-filename-too-long-ect.html

 

7Zip couldn't delete the files either and it errored with "The system cannot find the path specified."

 

I mapped a drive on the server and tried using rmdir /s and still got the same error message.

 

Oddly 7Zip is utterly confused about the size of the disks on the NAS. See attachment. I'm going to reinstall the OS on the device to see if that fixes the problem.

nas.JPG

Edited by mwbutler

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...