Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Safety move files from disk to disk

Featured Replies

Hello, I'm new here, using Unraid 6.9.2. I am currently converting my PC from Windows and I would like some help moving files.

I have a used 500GB drive (disk2) precleared and added to that array 4 days ago and today it that reported "current pending sectors 1" while main->view just shows "No listing: Too many files". I plan to transfer all the contents to an empty 1TB drive (disk4) while preserving the folder structure, share & dockers assignments, etc., especially the seeding torrents I have.

 

I have no parity set up yet since I was still in the process of moving stuff from Windows. I have confirmed some of the seeding torrents to be missing (through binhex-krusader) and several folders from across shares missing (through shares->view->location)

 

I was unable to use binhex-krusader to transfer since I couldn't get the disk2 mounted into the docker's config, the dropdown doesn't list it and manually typing "/mnt/disk2" doesn't work as well.

 

I'm terrible with CLI stuff (I'm such a noob hahaha) but I've read this page: https://wiki.unraid.net/Transferring_Files_Within_the_unRAID_Server,

and I believe that the command "cp -r /mnt/disk2 /mnt/disk4" is what I'm looking for but I'm not sure how to relink the files if linuxserver-qbittorent can't automatically do it.

I would like confirmation or a correction on the proper action to do. Attached is the downloaded SMART report of the 500GB drive: :)

 

Edit: I finally got unBALANCE to work and it reports disk2 "0 bytes" on columns SIZE, FREE and PLAN

Edit 2: Now main reports disk2 as unmountable

Edit 3: I posted in Reddit, I'm getting scared, https://www.reddit.com/r/unRAID/comments/qwo8xq/safety_move_files_from_disk_with_smart_error/
Note to self: You should've mounted the larger drives first so you could have prepared a parity drive. :'(

 

tower-smart-20211118-1806.zip

Edited by X500658
added reddit link

  • Community Expert
3 hours ago, X500658 said:

I'm getting scared

Do you not have the source files? Even if you had parity it's not a substitute for backup. 

 

Attach Diagnostics to your NEXT post in this thread. 

Without the diagnostics, your posted SMART shows 42000 CRC errors over the course of 27000 hours.  Reseat the cabling, remove power splitters etc.

  • Author

I no longer have any duplicates of those data unfortunately, even last week when I was still using Windows as host.  (same PC btw, in case this might be relevant)

 

I have now attached the Diagnostics file

tower-diagnostics-20211118-2127.zip

  • Community Expert
4 hours ago, X500658 said:

couldn't get the disk2 mounted into the docker's config, the dropdown doesn't list it and manually typing "/mnt/disk2" doesn't work as well.

Probably because you hadn't noticed yet that it was already unmountable

4 hours ago, X500658 said:

Edit 2: Now main reports disk2 as unmountable

 

Disk2 is failing

Serial Number:    WD-WMAYUC581458
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
197 Current_Pending_Sector  -O--CK   200   198   000    -    1
198 Offline_Uncorrectable   ----CK   198   198   000    -    184
# 1  Extended offline    Completed: read failure       90%     27768         488446396

unmountable, and can't be rebuilt since there is no parity.

 

This unassigned disk

Serial Number:    S2AGKCN9
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
187 Reported_Uncorrect      -O--CK   001   001   000    -    2117
197 Current_Pending_Sector  -O--C-   085   084   000    -    648
198 Offline_Uncorrectable   ----C-   085   084   000    -    648
# 1  Extended offline    Completed: read failure       90%     23557         95569456

is also failing. Why is it attached?

 

 

25 minutes ago, X500658 said:

no longer have any duplicates of those data

So this data isn't important enough to have backups?

 

I guess we will have to try to repair the filesystem on unmountable disk2, but since it is failing might be futile. Maybe we could try to clone it to a good disk and repair the filesystem on that.

 

Do you have any spare good disks?

 

Let's call in @JorgeB for a look.

 

  • Author

The unassigned disk has no more data, successfully moved....some of which were in disk2.... I just wasn't able to unplug it because I haven't shutdown the PC yet, spun down the drives several times though.

 

I would say that its important to me just I'm not able to keep backups, especially 3-2-1. My experience with using internal HDDs was actually better than externals HDDs, I just went on transplanting drives and data across platforms

 

My currently available good disk is disk4 (1TB)

  • Community Expert
8 minutes ago, X500658 said:

My currently available good disk is disk4 (1TB)

I meant a spare disk that could be used to clone bad disk2

  • Community Expert
9 minutes ago, X500658 said:

important to me just I'm not able to keep backups

You must always have another copy of anything important and irreplaceable? What is preventing you from having that in the future?

  • Community Expert
44 minutes ago, trurl said:

Maybe we could try to clone it to a good disk and repair the filesystem on that.

This is what I would recommend, as xfs_repair will abort on an i/o error, you can use ddrescue.

  • Author

I'm assuming that cloning a bad disk doesn't make the cloned drive bad, then disk4... I forgot to mention that its empty and also preleared.

 

I've actually only learned of actual backup practices this year. I used to just keep my external drives in the back of my closet, 9y.o. me saying "its the least disturbed place". The preventing me is that I'm actually still a full time student (lousy excuse but I'm in a 3rd world country)

  • Community Expert
6 hours ago, X500658 said:

disk4... I forgot to mention that its empty and also preleared

It may be empty, but since it has been formatted in the array, it is no longer clear. Since you don't have parity you can remove it from the array though. Doesn't matter if it's clear or not.

 

 

  • Author

It works! Thank you trurl, Squid and JorgeB! :))))))))))))))

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.