尝试通过/etc/fstab
条目安装工作中的共享驱动器。
我可以使用以下命令安装三个可能的网络共享中的两个...
//SHAREDDATA02/WORK1 /mnt/work1 cifs credentials=/etc/nfs_share.credentials,users,rw,uid=me,gid=me,sec=ntlm,noperm 0 0
//SHAREDDATA02/WORK2/USER /mnt/my_network cifs credentials=/etc/nfs_share.credentials,users,rw,uid=me,gid=me,sec=ntlm,noperm 0 0
Run Code Online (Sandbox Code Playgroud)
...第三个共享位于不同的(较新的)服务器上,并且以下条目...
//UOSFSTORE/SHARED/XDRIVE /mnt/xdrive cifs credentials=/etc/nfs_share.credentials,users,rw,uid=me,gid=me,sec=ntlm,noperm 0 0
Run Code Online (Sandbox Code Playgroud)
...导致以下错误消息...
# mount -v /mnt/xdrive
mount.cifs kernel mount options: ip=172.30.1.99,unc=\\UOSFSTORE\SHARED,sec=ntlm,noperm,uid=1000,gid=1000,user=cm1nds,prefixpath=XDRIVE,pass=********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
# dmesg | tail -n1
[257463.335188] CIFS VFS: cifs_mount failed w/return code = -95
Run Code Online (Sandbox Code Playgroud)
我已经尝试了所有可能的sec
选项,但均无济于事,因此这与服务器上实施的安全协议没有区别。
搜索周围我找不到任何关于返回代码-95
指示/建议的内容。
任何帮助将非常感激。
我最近发现了整洁的小猫,因为我在 ZSH 下使用的主题的某些方面在 Xfce 终端下不太正确,但在小猫下可以。
不幸的是,我在 SSH 连接上使用 tmux 时遇到了障碍,如果从我的桌面/服务器(运行Gentoo)到我的任何树莓派(运行Arch Linux ARM)或我的 VPS(也运行 Arch Linux)和开始一个 Tmux 会话我被告知....
open terminal failed: missing or unsuitable terminal: xterm-kitty
Run Code Online (Sandbox Code Playgroud)
但是,我有一台也在运行 Arch 的笔记本电脑,如果我从台式机/服务器通过 SSH 连接到它并启动 SSH 会话,则没有问题,反之亦然,从笔记本电脑到台式机/服务器和 Tmux 的 SSH 运行正常。
我应该补充一点,如果 SSH 连接到运行 Arch Linux 的 Raspberry Pi/VPS,如果它在 Xfce 终端下,我可以运行 Tmux 会话。
关于如何调查或解决这个问题以便 Tmux 会话在任何地方都能工作的任何想法?
不久前我在升级内核时遇到了这个问题,但直到现在才升级。
在我的系统上,我可以很高兴地使用运行内核 3.7.10 的 CIFS 挂载网络共享,但是当我尝试使用较新的内核时(当前尝试使用 3.13.1,但自 3.12.6 以来一直在尝试)当我遇到以下错误时尝试安装它们/etc/init.d/netmount start
(我正在运行 Gentoo):
# /etc/init.d/netmount restart
* Unmounting network filesystems ... [ ok ]
* Mounting network filesystems ...
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Run Code Online (Sandbox Code Playgroud)
尝试手动安装会导致相同的错误...
# mount -t cifs //Server/to_mount1 /mnt/network1 -o credentials=/etc/nfs_share.credentials,users,rw,uid=slackline,gid=slackline …
Run Code Online (Sandbox Code Playgroud) 我PATH
在我的环境变量中设置了一些额外的位置,~/.bashrc
以便这些位置包含/来源在登录和非交互式脚本中,这些脚本使用cron
.
我注意到虽然在一个系统上PATH
正确修改了,但是尽管所有权和权限设置正确,但其中的任何脚本都不会运行(据我所知)。
$ ls -l
total 756
-rw-r-xr-x 1 slackline slackline 300 Sep 6 07:35 backup
-rwxr-xr-x 1 slackline slackline 978 Dec 30 10:28 bbc_mpd
-rwxr-xr-x 1 slackline slackline 355483 Nov 29 07:31 get_iplayer
-rwxr-xr-x 1 slackline slackline 110 Sep 6 07:35 rsync.albums
-rwxr-xr-x 1 slackline slackline 114 Sep 6 07:35 rsync.climbing
-rwxr-xr-x 1 slackline slackline 108 Sep 6 07:35 rsync.films
-rwxr-xr-x 1 slackline slackline 125 Sep 6 07:35 rsync.mixes
-rwxr-xr-x 1 …
Run Code Online (Sandbox Code Playgroud)