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.

Is this the proper syntax/method to move files/preserve Share?

Featured Replies

 

 

I have a Share on disc9 name named Music and it's (suposed to be) exclusive to that disk. Somehow a Share named TV (which has exclude Disc9 like all others) has placed some files on it. On disc9 there are two top level folders named Music (correct) and TV (needs to be moved) that has 5 subfolders with files in them. Looks like about 230GB total. I have 2 HDs to install (a 2TB and a 1.5TB (just replaced parity)). Once installed can I simply copy the TV files to Disc 11 and the Share named TV will locate the files as if they were never moved?  Also is tis the correct syntax to use?

 

mv /mnt/disk9/TV /mnt/disk12

 

Project after this: rearranging discs. :o

 

screenshot_14.jpg

 

If /mnt/disk12/TV does not already exist, your syntax will work.

 

If /mnt/disk12/TV does currently exist, then you need to move the file/folders in it with something like

 

mv /mnt/disk9/TV/* /mnt/disk12/TV/

  • Author

If /mnt/disk12/TV does not already exist, your syntax will work.

 

If /mnt/disk12/TV does currently exist, then you need to move the file/folders in it with something like

 

mv /mnt/disk9/TV/* /mnt/disk12/TV/

Thanks Joe,

 

disk12 (and disc13) is a precleared yet to be installed and is blank.  The folder TV is on most (if not all) the other drives and corresponds to a Share named TV. So mv /mnt/disk9/TV /mnt/disk12 is correct for a blank disc and the Tower will automatically map the move to the Share TV?

If /mnt/disk12/TV does not already exist, your syntax will work.

 

If /mnt/disk12/TV does currently exist, then you need to move the file/folders in it with something like

 

mv /mnt/disk9/TV/* /mnt/disk12/TV/

Thanks Joe,

 

disk12 (and disc13) is a precleared yet to be installed and is blank.  The folder TV is on most (if not all) the other drives and corresponds to a Share named TV. So mv /mnt/disk9/TV /mnt/disk12 is correct for a blank disc and the Tower will automatically map the move to the Share TV?

When you add disk12 to the array it will initially show in the display as un-formatted.  You will then see a "Format" button on the web-management-console.  When you then press the "Format" button the disk will be formatted. Initially it will have no directories or files on it.  At that point in time you can use the command

mv /mnt/disk9/TV /mnt/disk12

exactly as you described. 

 

Depending on the amount of data, it could take anywhere from a few seconds to a few hours to move the files.  (most people report about 45 to 65 MB/s speeds in writing to the array.  At 50MB/s it will take 20 seconds per Gigabyte.  If you are transferring 1000 Gigabytes of files it would take 5 1/2 hours)

 

Joe L.

  • Author

Just started the move.  I'm moving disk9/Music to disk13. iTunes is still playing so is it OK to use (just read and after 45 minutes it seems to do fine) the Share Music while the move is in process?  Also the console doesn't give any indicator of moving or progress.  I looked on my Mac and see files are being added to disc13 so it working.  Is there any way to estimate the time, speed or progress?  Just looking at how long it takes for each file (song) it's going to be a looong time.

 

 

EDIT:  I guess just looking at the folder on my Mac is the only indicator.  It's not fast and looks to be about the speed of copying songs to my iPhone.  So with 20,000 songs it may take at least a day.

 

EDIT: Just a quick question...I noticed that files that have been "moved" to disk13 are still on disk9 also.  Does it first make a copy the files and then delete the originals?

Just started the move.  I'm moving disk9/Music to disk13. iTunes is still playing so is it OK to use the Share Music while the move is in process?  Also the console doesn't give any indicator of moving or progress.  I looked on my Mac and see files are being added to disc13 so it working.  Is there any way to estimate the time, speed or progress?  Just looking at how long it takes for each file (song) it's going to be a looong time.

You can install unMENU and use the "Disk Performance" screen to track the I/O

 

Or, you can download the utility it uses behind the scene and use it at the command line:

 

Download from here:

http://repository.slacky.eu/slackware-12.1/utilities/bwm-ng/0.6/bwm-ng-0.6-i486-2bj.tgz

Install by typing

installpkg bwm-ng-0.6-i486-2bj.tgz

 

Run it by typing:

bwm-ng -i disk -c 1 -I sdf,hdb,hdc,hdd,hde,hdf,hdg,hdl,hdk,hda,sde

(with the appropriate list of devices for your server.  The list must be comma separated, but with no additional spaces between them as in my example)

 

If you wish, you can use a command to create the list of assigned devices for you  (I'd cut and paste the following line as it is complex to type)

Type:

devices=`/root/mdcmd status|strings|grep -i rdevname|cut -d"=" -f2|sed "s/$/,/"| tr -d "\n"|sed -e "s/,$//" -e "s/,,/,/"`

followed by:

bwm-ng -i disk -c 1 -I $devices

 

At the command line, bwm-ng looks like this:

[pre]

  bwm-ng v0.6 (probing every 0.500s), press 'h' for help

  input: disk IO type: rate

  -        iface                  Rx                  Tx                Total

  ==============================================================================

              sde:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              sdf:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hde:        203.92 KB/s            0.00 KB/s          203.92 KB/s

              hdf:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hdg:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hdk:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hdl:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hda:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hdb:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hdc:          0.00 KB/s            0.00 KB/s            0.00 KB/s

              hdd:          0.00 KB/s            0.00 KB/s            0.00 KB/s

  ------------------------------------------------------------------------------

            total:        203.92 KB/s            0.00 KB/s          203.92 KB/s

[/pre]

 

On the unMENU screen, it looks like this (I was doing a parity check, so all disks were active):

2je9yec.jpg

 

How many Gigabytes of files are you moving?

 

Joe L.

  • Author

You can install unMENU and use the "Disk Performance" screen to track the I/O

 

Or, you can download the utility it uses behind the scene and use it at the command line:

 

Download from here:

http://repository.slacky.eu/slackware-12.1/utilities/bwm-ng/0.6/bwm-ng-0.6-i486-2bj.tgz

 

 

How many Gigabytes of files are you moving?

 

Joe L.

 

Thanks Joe,

 

I have a little over 500GB in about 20,000 files/songs (Apple Lossless).  I'm in no hurry since I can still read (use) the Music Share. I will download the utility for future but don't want to stop the process now that I'm well into it.

You can install unMENU and use the "Disk Performance" screen to track the I/O

 

Or, you can download the utility it uses behind the scene and use it at the command line:

 

Download from here:

http://repository.slacky.eu/slackware-12.1/utilities/bwm-ng/0.6/bwm-ng-0.6-i486-2bj.tgz

 

 

How many Gigabytes of files are you moving?

 

Joe L.

 

Thanks Joe,

 

I have a little over 500GB in about 20,000 files/songs (Apple Lossless).  I'm in no hurry since I can still read (use) the Music Share. I will download the utility for future but don't want to stop the process now that I'm well into it.

You don't need to stop the currently executing "mv" process.

 

You can open up a second telnet session and install the bwm-ng program from there, or, if using the system console, Alt-F1 through Alt-F6 allow you to switch between 6 virtual consoles.  Normally, you log in on console 1, but you can easily switch back and forth to the others.  Jus type Alt-F2, log in there, and proceed.  When you want to go back to the first console, just type Alt-F1.

 

No reboot is needed, the bwm-ng program is available as soon as it is installed.

 

Joe L.

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.