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.

【HELP】 After executing the "mv" command, Data wasn't disappears

Featured Replies

My Array and pool are both in btrfs format
For some reason, I had to transfer the data from the xfs drive to the Array via the "mv" command (can't via unbalance)
But after rebooting, the transferred data is gone, I'm very frustrated now.😥😥
Is there any rescue method? thanks a lot!!
 
*The target disk (new disk) is in btrfs-encrypt format.
*The new disk should be full normally

图像 2.png

图像 3.png

Without know what command you actually used, it's hard to say what happened here.  It's extremely unlikely that if the command was correct and structured to properly move from one UD disk to another UD disk that data loss would have occurred.

 

OTOH, what ever command you used wound up putting it into RAM and it is now lost after rebooting.

 

  • Author

I run "mv -fC olddisk newdisk" and then shut down the machine

I have confirmed that the data has been moved, but I did not expect the data to disappear directly after reboot...

27 minutes ago, wdnaser said:

"mv -fC olddisk newdisk"

In linux, exact is critical. If you mistyped something in the newdisk path, the files would end up in RAM instead of on the disk.

 

What EXACTLY did you put in the "olddisk" and "newdisk" part of the command? How did you determine what to put there?

  • Author

Before I shutdown, I saw all my files on the newdisk (that should mean it's really transferred, right?) 

Just after reboot, the data is almost gone (remove the auto-generated docker.img, only about 10 gb left...)

  • Author
1 hour ago, wdnaser said:

Before I shutdown, I saw all my files on the newdisk (that should mean it's really transferred, right?) 

Just after reboot, the data is almost gone (remove the auto-generated docker.img, only about 10 gb left...)

Just now I remembered the full command

#backup folder is empty
mv -fC mnt/disks/olddiskid/* mnt/disk1/backup

 

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.