Ugreen Nas
导言
Several troublesome bugs are prompting a need for CLI diagnosis.
Bugs¶
1:Read/Write is foridden in certain folders under SMB¶
绿联使用SMB挂载,部分目录无法读写
ssh to change the mode
$ssh -p 922 [email protected]
root@UGREEN-A0E9:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/dm-0 9.1T 527.1G 8.6T 6% /mnt/dm-0
/dev/dm-5 14.6T 1.5T 13.1T 10% /mnt/dm-5
root@UGREEN-A0E9:/mnt/dm-5# du -h -d 1 .
8.0K ./.album
4.0K ./.data
0 ./.thumb
1.4T ./.ugreen_nas
1.4T .
All data is saved in .ugreen_nas/268599
folder
root@UGREEN-A0E9:/mnt/dm-5/.ugreen_nas/268599/Video# ls -al
drwxrwxrwx 6 911 911 86 Dec 6 11:33 .
drwxrwxrwx 7 shaojiem shaojiem 153 Dec 5 23:58 ..
drwxr-xr-x 5 911 911 57 Dec 6 00:06 18x
drwxrwxrwx 5 shaojiem shaojiem 246 Dec 1 00:49 cnTV
drwxrwxrwx 3 shaojiem shaojiem 98 Nov 25 15:48 englishMovie
drwxrwxrwx 3 shaojiem shaojiem 81 Nov 23 06:47 englishTV
可以明显的发现 被不知名用户911
修改。chmod -R 777 18x
to solve.
2 Docker can not find its volume after reboot¶
Docker启动失败
invalid mount config for type "bind":bind source path does not exist:/mnt/dm-0/.ugreen nas/6/volumes/20e2c7a5fe8b42747a45bc8cb0541f0302d3d1887fa84c090988c88923a0f0d1/data
命令行查看后发现,由于新插了一块盘,9T的盘挂载的位置重启后从/mnt/dm-0/
变成了/mnt/dm-1/
将volumes内对应的内容移动到dockerMeta
文件夹存储。