+ Post New Thread
Results 1 to 14 of 14
Windows Thread, Need to delete 1TB of data in Technical; I need to delete around 1TB of data off of one of our ReadyNAS 2100s. Deleting all this data manually ...
  1. #1
    mwbutler's Avatar
    Join Date
    Nov 2010
    Location
    Dorset
    Posts
    234
    Thank Post
    97
    Thanked 20 Times in 17 Posts
    Rep Power
    27

    Need to delete 1TB of data

    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!

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    might be quicker to reformat and copy back the data you do want on there

  3. #3
    mwbutler's Avatar
    Join Date
    Nov 2010
    Location
    Dorset
    Posts
    234
    Thank Post
    97
    Thanked 20 Times in 17 Posts
    Rep Power
    27
    Quote Originally Posted by sted View Post
    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.

  4. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    can it be deleted from the web interface?

  5. Thanks to sted from:

    mwbutler (20th October 2011)

  6. #5
    mwbutler's Avatar
    Join Date
    Nov 2010
    Location
    Dorset
    Posts
    234
    Thank Post
    97
    Thanked 20 Times in 17 Posts
    Rep Power
    27
    Quote Originally Posted by sted View Post
    can it be deleted from the web interface?
    Heh I had completely forgotten I could do that 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.

  7. #6

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,698
    Thank Post
    143
    Thanked 542 Times in 486 Posts
    Rep Power
    148
    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.

  8. #7
    mwbutler's Avatar
    Join Date
    Nov 2010
    Location
    Dorset
    Posts
    234
    Thank Post
    97
    Thanked 20 Times in 17 Posts
    Rep Power
    27
    Using the web interface to delete the folder didn't do anything. I'll retry it again later and leave it going over night.

    Quote Originally Posted by 3s-gtech View Post
    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.

  9. #8

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,432
    Thank Post
    1,432
    Thanked 1,160 Times in 794 Posts
    Rep Power
    705
    Quote Originally Posted by mwbutler View Post
    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.
    I have known DOS to be funny about UNC paths, try mapping it to a drive then running the command on the mapped drive

  10. #9


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,709
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    Try this...

    Code:
    @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.
    Last edited by Arthur; 20th October 2011 at 01:36 PM.

  11. #10


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    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

  12. #11
    round2it's Avatar
    Join Date
    May 2009
    Location
    UK
    Posts
    989
    Thank Post
    193
    Thanked 142 Times in 100 Posts
    Rep Power
    36
    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
    Tip To Delete those pesky files that windows refuses to delete filename too long ect
    Last edited by round2it; 20th October 2011 at 01:34 PM.

  13. #12
    mwbutler's Avatar
    Join Date
    Nov 2010
    Location
    Dorset
    Posts
    234
    Thank Post
    97
    Thanked 20 Times in 17 Posts
    Rep Power
    27
    Quote Originally Posted by LosOjos View Post
    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

    Quote Originally Posted by Arthur View Post
    Try this...

    Code:
    @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.

    Quote Originally Posted by sted View Post
    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
    Quote Originally Posted by round2it View Post
    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
    Tip To Delete those pesky files that windows refuses to delete filename too long ect
    I'll try this now.

    Thanks all I really appreciate the help

  14. #13
    mwbutler's Avatar
    Join Date
    Nov 2010
    Location
    Dorset
    Posts
    234
    Thank Post
    97
    Thanked 20 Times in 17 Posts
    Rep Power
    27
    Quote Originally Posted by sted View Post
    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
    Quote Originally Posted by round2it View Post
    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
    Tip To Delete those pesky files that windows refuses to delete filename too long ect
    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.
    Attached Images Attached Images
    Last edited by mwbutler; 20th October 2011 at 02:35 PM.

  15. #14


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,709
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    Something else you could try...

    Code:
    rd /s /q \\.\R:\RMUsers

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 5
    Last Post: 1st July 2014, 08:34 AM
  2. Best way to store 20TB of Data?
    By BackCat3 in forum Hardware
    Replies: 17
    Last Post: 20th May 2011, 11:53 AM
  3. Need to find out IP Address of switch
    By vunsev in forum Wireless Networks
    Replies: 15
    Last Post: 6th July 2009, 12:23 PM
  4. need a script to delete shortcuts
    By philtomo-25 in forum Scripts
    Replies: 2
    Last Post: 1st November 2007, 03:50 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •