无法将文件夹移动到自身的子目录 – 发生了什么?

好吧,我正在尝试执行以下非常简单的命令,并且失败如下…

mv '/home/admin/Downloads/folder1' '/home/admin/MyLibrary/MyVideos/TV/folder1/' mv: cannot move `/home/admin/Downloads/folder1' to a subdirectory of itself, `/home/admin/MyLibrary/MyVideos/TV/folder1/' 

目的地不是源的子文件夹 – 为什么它给我这个错误? Linux版本是NAS盒子上的红帽定制版本。 谢谢

编辑:

如果我的文件系统不正确添加输出的DF – H

 -bash-3.2$ df -h Filesystem Size Used Avail Use% Mounted on rootfs 212M 156M 56M 74% / ubi0:rootfs 212M 156M 56M 74% / none 62M 40K 62M 1% /dev nodev 62M 28K 62M 1% /var/log nodev 62M 1.1M 61M 2% /mnt/tmpfs nodev 62M 0 62M 0% /var/lib/php/session nodev 3.7T 932G 2.8T 25% /tmp nodev 62M 1.1M 61M 2% /var/run nodev 62M 1.1M 61M 2% /var/cache nodev 62M 1.1M 61M 2% /var/lib/axentra_sync df: `/var/lib/oe-admin/minions': Permission denied df: `/var/lib/oe-admin/actions': Permission denied nodev 62M 1.1M 61M 2% /var/lib/oe-update-checker nodev 62M 1.1M 61M 2% /etc/blkid nodev 62M 1.1M 61M 2% /var/lib/dbus nodev 62M 1.1M 61M 2% /var/lib/dhclient nodev 62M 1.1M 61M 2% /var/lock nodev 62M 1.1M 61M 2% /var/spool nodev 62M 1.1M 61M 2% /var/lib/avahi-autoipd nodev 62M 1.1M 61M 2% /etc/dhclient-eth0.conf nodev 62M 1.1M 61M 2% /etc/printcap nodev 62M 1.1M 61M 2% /etc/resolv.conf /dev/md0 1.9T 473G 1.4T 26% /mnt/disk1 /dev/sdb1 1.9T 459G 1.4T 25% /mnt/disk2 none 3.7T 932G 2.8T 25% /home none 3.7T 932G 2.8T 25% /tmp none 3.7T 932G 2.8T 25% /var/cache/mt-daapd 

第二编辑:

我当时应该提到这一点,但是在我看来,这个NAS在JBODconfiguration中有两个物理磁盘(把两个磁盘当作一个文件系统)。 这是/ proc / mounts的内容。

 rootfs / rootfs rw 0 0 ubi0:rootfs / ubifs rw 0 0 /proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 /proc/bus/usb /proc/bus/usb usbfs rw 0 0 none /dev tmpfs rw 0 0 devpts /dev/pts devpts rw 0 0 nodev /var/log tmpfs rw 0 0 nodev /mnt/tmpfs tmpfs rw 0 0 nodev /var/lib/php/session tmpfs rw 0 0 nodev /tmp tmpfs rw 0 0 nodev /var/run tmpfs rw 0 0 nodev /var/cache tmpfs rw 0 0 nodev /var/lib/axentra_sync tmpfs rw 0 0 nodev /var/lib/oe-admin/minions tmpfs rw 0 0 nodev /var/lib/oe-admin/actions tmpfs rw 0 0 nodev /var/lib/oe-update-checker tmpfs rw 0 0 nodev /etc/blkid tmpfs rw 0 0 nodev /var/lib/dbus tmpfs rw 0 0 nodev /var/lib/dhclient tmpfs rw 0 0 nodev /var/lock tmpfs rw 0 0 nodev /var/spool tmpfs rw 0 0 nodev /var/lib/avahi-autoipd tmpfs rw 0 0 nodev /etc/dhclient-eth0.conf tmpfs rw 0 0 nodev /etc/printcap tmpfs rw 0 0 nodev /etc/resolv.conf tmpfs rw 0 0 /dev/md0 /mnt/disk1 xfs rw,noatime,nodiratime,grpid 0 0 /dev/sdb1 /mnt/disk2 xfs rw,noatime,nodiratime,grpid 0 0 none /home aufs rw,si=c7f860a0,xino=/mnt/disk1/.aufs.xino,noplink,create=mfs,sum,br:/mnt/disk1=rw:/mnt/disk2=rw 0 0 none /tmp aufs rw,si=c7f860a0,xino=/mnt/disk1/.aufs.xino,noplink,create=mfs,sum,br:/mnt/disk1=rw:/mnt/disk2=rw 0 0 none /var/cache/mt-daapd aufs rw,si=c7f860a0,xino=/mnt/disk1/.aufs.xino,noplink,create=mfs,sum,br:/mnt/disk1=rw:/mnt/disk2=rw 0 0 

输出fsck / home

 fsck /home fsck 1.39 (29-May-2006) e2fsck 1.39 (29-May-2006) fsck.ext2: Is a directory while trying to open /home The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> 

我没有在我的日志文件夹中看起来有关的任何东西 – 感谢您的input。

 -bash-3.2$ pwd /var/log -bash-3.2$ ls cups dmesg httpd igd-client samba wtmp xferlog 

第三编辑

包含fstab的内容

 # This file is edited by fstab-sync - see 'man fstab-sync' for details # # /etc/fstab: static file system information. # # file system mount type options dump pass #/dev/sda1 / ext3 defaults 1 1 proc /proc proc defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 #/dev/sda3 /home ext3 defaults,bsdgroups,noatime,nodiratime 0 0 ## other examples, uncomment to activate #/dev/sda2 swap swap defaults 0 0 nodev /var/log tmpfs nodev /mnt/tmpfs tmpfs ubi0:rootfs / ubifs defaults 1 1 nodev /var/lib/php/session tmpfs defaults 

你确定? 也许有一个符号链接,目标path实际上是源path的子文件夹。 比较readlink -e /home/admin/Downloads/folder1readlink -e /home/admin/MyLibrary/MyVideos/TV/folder1