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.

Can I use command line to manage my files?

Featured Replies

I have done couple changes to my Unraid service last week:

1. Since I set the "appdate" share as cache only, so I delete the empty folder "/appdate" in /mnt/disk1 by "rm -rf"

2. I mounted a new disk for the downloads, after checked in forum, I think mover cannot apply on files that already in disks, so I moved older downloads in disk1 to disk2 by "mv -f"

 

After I done those changes, my unraid service crashed 1~2 times a day, first I thought this may caused by my docker or VM, but the service keep crashing after I stoped the docker and VM.

And one of my disks was disabled by system during the checking yesterday. But verified in my desktop, this disk is working fine but the service still disable this disk.

 

So I will re-install the Unraid OS tonight, and I may need some help for future use:

1. Can I use command line like "rm" or "mv" to manage my files in Unraid. (Will this cause error in the parity? As the parity won't know if I deleted some file in disk)

2. What's the best way to manage files in disks like delete the file in disk1 or move something in disk1 to disk2?

 

Thanks in advance😀

  • Community Expert

Yes, you can manage files manually.

 

if Unraid disables a disk then this means that a write to it failed for some reason, so you probably need to pin down the cause.   It might just be a cabling issue, but it could be something else.

You can also use the krusader docker for a more visual file manager.

4 hours ago, Lancer said:

I have done couple changes to my Unraid service last week:

1. Since I set the "appdate" share as cache only, so I delete the empty folder "/appdate" in /mnt/disk1 by "rm -rf"

2. I mounted a new disk for the downloads, after checked in forum, I think mover cannot apply on files that already in disks, so I moved older downloads in disk1 to disk2 by "mv -f"

 

After I done those changes, my unraid service crashed 1~2 times a day, first I thought this may caused by my docker or VM, but the service keep crashing after I stoped the docker and VM.

And one of my disks was disabled by system during the checking yesterday. But verified in my desktop, this disk is working fine but the service still disable this disk.

 

So I will re-install the Unraid OS tonight, and I may need some help for future use:

1. Can I use command line like "rm" or "mv" to manage my files in Unraid. (Will this cause error in the parity? As the parity won't know if I deleted some file in disk)

2. What's the best way to manage files in disks like delete the file in disk1 or move something in disk1 to disk2?

 

Thanks in advance😀

Your crashing and disabled drive has nothing to with those commands.

 

What do you mean "unraid service"? What exactly crashed?

 

With regards to the disk, it would be a good idea to attach Diagnostics (Tools -> Diagnostics -> attach zip file to your next post) so someone can have a look at your disk SMART.

A disk can drop offline with no actual damage to the disk itself (e.g. cable problem) but it doesn't mean the write intended to the disk is complete. Hence a write error hence disk is disabled.

  • Author
12 hours ago, testdasi said:

Your crashing and disabled drive has nothing to with those commands.

 

What do you mean "unraid service"? What exactly crashed?

 

With regards to the disk, it would be a good idea to attach Diagnostics (Tools -> Diagnostics -> attach zip file to your next post) so someone can have a look at your disk SMART.

A disk can drop offline with no actual damage to the disk itself (e.g. cable problem) but it doesn't mean the write intended to the disk is complete. Hence a write error hence disk is disabled.

My bad, I will download the diagnostics before seeking help next time.

 

Thank you for the help, now I'm comfortable to use command lines to manage.

  • Community Expert

What about your disabled disk? You must take care of that immediately. Post your diagnostics.

  • 3 weeks later...

Hi,

 

Just migrate from OMV to Unraid
I have 3 data disks, one parity and 2 SSD cache disks.

Now I wonder how parity works when moving data between disks, using CLI (mv /mnt/disk1/stuff/* /mnt/disk2/stuff/).

Do I need to launch a job to re-compute the parity (as snapraid), or it's done automatically ?(even if I don't mv/copy through /mnt/user(0) folders)
 

  • Community Expert
47 minutes ago, mika91 said:

or it's done automatically

Parity in Unraid is real-time, regardless of using disk or user shares, just make sure you don't copy from user shares to disk shares or vice-versa.

ok perfect!

Archived

This topic is now archived and is closed to further replies.

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.