[SOLVED] share sub directory not present on all allowed disk


Recommended Posts

Krusader is failing to copy files from one share to another (/mnt/user/downloads/  to  /mnt/user/media/) with the following error: 

 

There is not enough space on the disk... (see screenshot for more details)

 

I get a similar failure using Windows file explorer. 

 

Taking a look a the file system I noticed that the "shows" sub directory in the /mnt/user/media/ share only points to disk2 which is 100% full.

 

Why is this?

 

Shouldn't sub directory /mnt/user/media/shows/ be present on all the same disk as other sub directories under  /mnt/user/media/ such as /mnt/user/media/movies/ ?

 

Might this be a bug or more likely something that I've failed to configure correctly? 

 

I've got plenty of space on the array, disk2 thru disk5 are used for my media. 

 

Thank you in advance for any help that your able to offer. 

root@unraid:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          7.3G  723M  6.6G  10% /
tmpfs            32M  568K   32M   2% /run
devtmpfs        7.3G     0  7.3G   0% /dev
tmpfs           7.4G     0  7.4G   0% /dev/shm
cgroup_root     8.0M     0  8.0M   0% /sys/fs/cgroup
tmpfs           128M  452K  128M   1% /var/log
/dev/sda1        30G  468M   29G   2% /boot
/dev/loop0      9.2M  9.2M     0 100% /lib/modules
/dev/loop1      7.3M  7.3M     0 100% /lib/firmware
tmpfs           1.0M     0  1.0M   0% /mnt/disks
/dev/md1        3.7T  800G  2.9T  22% /mnt/disk1
/dev/md2        3.7T  3.7T  939M 100% /mnt/disk2
/dev/md3        932G  103G  829G  12% /mnt/disk3
/dev/md4        932G  983M  931G   1% /mnt/disk4
/dev/sde1       112G   19G   93G  17% /mnt/cache
shfs             13T  4.7T  8.2T  37% /mnt/user0
shfs             13T  4.7T  8.2T  37% /mnt/user
/dev/loop2       20G  8.0G   12G  41% /var/lib/docker
/dev/loop3      1.0G   17M  905M   2% /etc/libvirt
/dev/md5        3.7T  113G  3.6T   4% /mnt/disk5
shm              64M     0   64M   0% /var/lib/docker/containers/64ebb28d73ef3a670a2f4961b99c745bd8475c5190fbfe6b1ba13c34c65c1015/mounts/shm

root@unraid:~# tree -I 'backups|documents|isos|pictures|system' /mnt/disk1
/mnt/disk1

0 directories, 0 files

root@unraid:~# tree -d -L 2 /mnt/disk2
/mnt/disk2
├── downloads
│   ├── complete
│   ├── incomplete
│   ├── torrents
│   └── unzipped
└── media
    ├── ROMS
    ├── books
    ├── games
    ├── movies
    ├── music
    ├── openvpn
    ├── other
    └── shows

root@unraid:~# tree -d -L 2 /mnt/disk3
/mnt/disk3
└── media
    └── movies

root@unraid:~# tree -d -L 2 /mnt/disk4
/mnt/disk4

0 directories

root@unraid:~# tree -d -L 2 /mnt/disk5
/mnt/disk5
└── media
    ├── Scooby Doo
    └── movies

3 directories

 

 

not-enough-space.PNG

Link to comment

I may have found a workaround. 

 

I made a few changes to my /mnt/user/media/ share settings and I'm now using the unBALANCE plugin to move files between disk. 

 

The changes that I made were as follows:

 

Allocation method: from high-water to Most-free

Minimum free space: from 0KB to 10GB

 

The previous settings may not have directly contributed to the issue but I think that the new configuration fits my needs better than the defaults. 

 

Whatever unBALANCE is doing in the background, we now see the /mnt/user/media/shows/ sub directory present on disk5. 

 

root@unraid:~# ls -la /mnt/disk5/media/
total 8
drwxrwxrwx  5 nobody users   67 Jan  7 11:19 ./
drwxrwxrwx  3 nobody users   19 May 22 15:33 ../
drwxrwxrwx  9 nobody users 4096 May 23 01:52 Scooby\ Doo/
drwxrwxrwx 10 nobody users 4096 May 25 12:37 movies/
drwxrwxrwx  3 nobody users   48 May 25 22:36 shows/

 

Link to comment

Even though /mnt/user/media/shows/ now points to both disk2 and disk5 why is unraid copying files from disk2 to disk2 when disk2 is 100% used and disk5 is 4% used? 

 

root@unraid:~# tree -d -L 2 /mnt/disk2 | grep -E 'media|shows|downloads'
├── downloads
└── media
    └── shows

root@unraid:~# tree -d -L 2 /mnt/disk5 | grep -E 'media|shows'
└── media
    └── shows

root@unraid:~# df -h | grep -E 'disk2|disk5'
/dev/md2        3.7T  3.7T   32G 100% /mnt/disk2
/dev/md5        3.7T  137G  3.6T   4% /mnt/disk5

 

Link to comment
  • JorgeB changed the title to [SOLVED] share sub directory not present on all allowed disk

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.