在 Ubuntu Server 22.04 上,我在/scratch
. 我替换/tmp
为一个符号链接,/scratch/tmp
以便将临时文件存储在 SSD 上:
$ ls -l /tmp
lrwxrwxrwx 1 root root 12 Jan 13 16:22 /tmp -> /scratch/tmp
这似乎有一个障碍: 的内容/tmp
在重新启动时不再被删除,正如我所期望的那样。我怎样才能做到这一点?
在 Ubuntu Server 22.04 上,我在/scratch
. 我替换/tmp
为一个符号链接,/scratch/tmp
以便将临时文件存储在 SSD 上:
$ ls -l /tmp
lrwxrwxrwx 1 root root 12 Jan 13 16:22 /tmp -> /scratch/tmp
这似乎有一个障碍: 的内容/tmp
在重新启动时不再被删除,正如我所期望的那样。我怎样才能做到这一点?
我有一个 Likebook Mars 电子阅读器。当我用 USB 线将它插入我的笔记本电脑时,它会出现在 PCManFM-Qt 中,我可以从那里以图形方式访问它上面的文件:
没问题。我想做的是在命令行上使用cd
、ls
、cp
等浏览、读取和写入文件。但是电子阅读器似乎无法通过我cd
在真实文件系统中可以访问的任何地方访问(即使我已经已经查看了 PCManFM-Qt 中的一些文件,在其他情况下这似乎是必要的)。看过问题如何从终端访问 USB 闪存驱动器?,我试过lsblk
了,但是电子阅读器好像没有列出来:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 953.9G 0 disk
├─nvme0n1p1 259:1 0 300M 0 part /boot/efi
├─nvme0n1p2 259:2 0 653.6G 0 part /
├─nvme0n1p3 259:3 0 16M 0 part
└─nvme0n1p4 259:4 0 300G 0 part /media/hippo/A4A60CCCA60CA142
df
不提供提示,要么:
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.6G 1.9M 1.6G 1% /run
/dev/nvme0n1p2 643G 240G 371G 40% /
tmpfs 7.6G 0 7.6G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/nvme0n1p1 300M 33M 267M 11% /boot/efi
tmpfs 1.6G 92K 1.6G 1% /run/user/1000
/dev/nvme0n1p4 300G 154G 147G 52% /media/hippo/A4A60CCCA60CA142
我正在尝试使用新的 PDP Xbox One 控制器(“深红色”)。实际上,我的 Ubuntu 18.10 系统似乎无法识别它;它的电源灯甚至不亮。使用此处发布的一些提示,我得到了xpad.c
我的内核 (4.18.0) 的副本,编辑xpad.c
为我的控制器 ID (0e6f:02c6) 添加了一些行,并编译并安装了模块。然而,sudo modprobe xpad
产量modprobe: ERROR: could not insert 'xpad': Operation not permitted
。是什么赋予了?的输出sudo modprobe -vvv xpad
是:
modprobe: INFO: ../libkmod/libkmod.c:364 kmod_set_log_fn() custom logging function 0x5605fa960ee0 registered
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.dep.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.alias.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.symbols.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:755 index_mm_open() file=/lib/modules/4.18.0-13-generic/modules.builtin.bin
modprobe: DEBUG: ../libkmod/libkmod-module.c:556 kmod_module_new_from_lookup() input alias=xpad, normalized=xpad
modprobe: DEBUG: ../libkmod/libkmod-module.c:562 kmod_module_new_from_lookup() lookup modules.dep xpad
modprobe: DEBUG: ../libkmod/libkmod.c:574 kmod_search_moddep() use mmaped index 'modules.dep' modname=xpad
modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='xpad' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28bff0 key='xpad'
modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:402 kmod_pool_get_module() get module name='ff_memless' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:410 kmod_pool_add_module() add 0x5605fc28c100 key='ff_memless'
modprobe: DEBUG: ../libkmod/libkmod-module.c:196 kmod_module_parse_depline() add dep: /lib/modules/4.18.0-13-generic/kernel/drivers/input/ff-memless.ko
modprobe: DEBUG: ../libkmod/libkmod-module.c:202 kmod_module_parse_depline() 1 dependencies for xpad
modprobe: DEBUG: ../libkmod/libkmod-module.c:583 kmod_module_new_from_lookup() lookup xpad=0, list=0x5605fc28bc40
modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=xpad
modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=ff_memless mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod.c:501 lookup_builtin_file() use mmaped index 'modules.builtin' modname=ff_memless
modprobe: DEBUG: ../libkmod/libkmod-module.c:1306 kmod_module_probe_insert_module() Ignoring module 'ff_memless': already loaded
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bt87x mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=cx88_alsa mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=saa7134_alsa mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_atiixp_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_intel8x0m mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_via82xx_modem mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_caiaq mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_ua101 mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_us122l mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_usx2y mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_cmipci mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_pcsp mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=snd_usb_audio mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=bonding mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=dummy mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vmwgfx mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1393 kmod_module_get_options() modname=vt mod->name=xpad mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1750 kmod_module_get_initstate() could not open '/sys/module/xpad/initstate': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/xpad': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
insmod /lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko
modprobe: DEBUG: ../libkmod/libkmod-module.c:744 kmod_module_get_path() name='xpad' path='/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko'
modprobe: INFO: ../libkmod/libkmod-module.c:886 kmod_module_insert_module() Failed to insert module '/lib/modules/4.18.0-13-generic/kernel/drivers/input/joystick/xpad.ko': Operation not permitted
modprobe: ERROR: could not insert 'xpad': Operation not permitted
modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28bff0 released
modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28bff0 key='xpad'
modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x5605fc28c100 released
modprobe: DEBUG: ../libkmod/libkmod.c:418 kmod_pool_del_module() del 0x5605fc28c100 key='ff_memless'
modprobe: INFO: ../libkmod/libkmod.c:331 kmod_unref() context 0x5605fc284460 released
我的系统是带有集成显卡的联想 Thinkpad T450s。从 Lubuntu 18.04 升级到 18.10 后(我只是在这次升级后才知道你不应该这样做),我在 Wine 中运行 GameMaker 游戏时遇到了问题,可能是由于缺少 32 位 libGL:
0009:err:wgl:init_opengl 加载 libGL 失败:libGL.so.1:无法打开共享对象文件:没有这样的文件或目录
我认为libglx-mesa0:i386
可能是要安装的正确软件包,但是在尝试安装它时遇到了一些奇怪的错误,这表明依赖关系搞砸了。我以前从 PPA 安装了一些 Intel 驱动程序,但我ppa-purge
在升级之前安装了它。我现在该怎么办?
$ sudo apt install libglx-mesa0:i386
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libglx-mesa0:i386 : Depends: libdrm2:i386 (>= 2.4.75) but it is not going to be installed
Depends: libglapi-mesa:i386 (= 18.2.2-0ubuntu1) but it is not going to be installed
Depends: libgl1-mesa-dri:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo aptitude install libglx-mesa0:i386
印刷:
The following NEW packages will be installed:
libdrm-amdgpu1:i386{ab} libdrm-intel1:i386{ab} libdrm-nouveau2:i386{ab} libdrm-radeon1:i386{ab} libdrm2:i386{ab} libedit2:i386{a} libelf1:i386{a} libgl1-mesa-dri:i386{ab}
libglapi-mesa:i386{ab} libglx-mesa0:i386{b} libllvm7:i386{ab} libpciaccess0:i386{a} libx11-xcb1:i386{a} libxcb-dri2-0:i386{a} libxcb-dri3-0:i386{a} libxcb-glx0:i386{a}
libxcb-present0:i386{a} libxcb-sync1:i386{a} libxdamage1:i386{a} libxshmfence1:i386{a}
0 packages upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.2 MB of archives. After unpacking 234 MB will be used.
The following packages have unmet dependencies:
libdrm-nouveau2 : Breaks: libdrm-nouveau2:i386 (!= 2.4.96+git1812190630.597725~oibaf~b) but 2.4.95-1 is to be installed
libdrm-nouveau2:i386 : Breaks: libdrm-nouveau2 (!= 2.4.95-1) but 2.4.96+git1812190630.597725~oibaf~b is installed
libllvm7 : Breaks: libllvm7:i386 (!= 1:7.0.1-1~oibaf~b) but 1:7-3 is to be installed
libllvm7:i386 : Breaks: libllvm7 (!= 1:7-3) but 1:7.0.1-1~oibaf~b is installed
libglapi-mesa : Breaks: libglapi-mesa:i386 (!= 19.0~git1812271930.6adbd9~oibaf~b) but 18.2.2-0ubuntu1 is to be installed
libglapi-mesa:i386 : Breaks: libglapi-mesa (!= 18.2.2-0ubuntu1) but 19.0~git1812271930.6adbd9~oibaf~b is installed
libdrm-amdgpu1 : Breaks: libdrm-amdgpu1:i386 (!= 2.4.96+git1812190630.597725~oibaf~b) but 2.4.95-1 is to be installed
libdrm-amdgpu1:i386 : Breaks: libdrm-amdgpu1 (!= 2.4.95-1) but 2.4.96+git1812190630.597725~oibaf~b is installed
libdrm2 : Breaks: libdrm2:i386 (!= 2.4.96+git1812190630.597725~oibaf~b) but 2.4.95-1 is to be installed
libdrm2:i386 : Breaks: libdrm2 (!= 2.4.95-1) but 2.4.96+git1812190630.597725~oibaf~b is installed
libgl1-mesa-dri : Breaks: libgl1-mesa-dri:i386 (!= 19.0~git1812271930.6adbd9~oibaf~b) but 18.2.2-0ubuntu1 is to be installed
libgl1-mesa-dri:i386 : Breaks: libgl1-mesa-dri (!= 18.2.2-0ubuntu1) but 19.0~git1812271930.6adbd9~oibaf~b is installed
libdrm-intel1 : Breaks: libdrm-intel1:i386 (!= 2.4.96+git1812190630.597725~oibaf~b) but 2.4.95-1 is to be installed
libdrm-intel1:i386 : Breaks: libdrm-intel1 (!= 2.4.95-1) but 2.4.96+git1812190630.597725~oibaf~b is installed
libdrm-radeon1 : Breaks: libdrm-radeon1:i386 (!= 2.4.96+git1812190630.597725~oibaf~b) but 2.4.95-1 is to be installed
libdrm-radeon1:i386 : Breaks: libdrm-radeon1 (!= 2.4.95-1) but 2.4.96+git1812190630.597725~oibaf~b is installed
libglx-mesa0 : Breaks: libglx-mesa0:i386 (!= 19.0~git1812271930.6adbd9~oibaf~b) but 18.2.2-0ubuntu1 is to be installed
libglx-mesa0:i386 : Breaks: libglx-mesa0 (!= 18.2.2-0ubuntu1) but 19.0~git1812271930.6adbd9~oibaf~b is installed
open: 48; closed: 2024; defer: 21; conflict: 30 .The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libdrm-amdgpu1:i386 [Not Installed]
2) libdrm-intel1:i386 [Not Installed]
3) libdrm-nouveau2:i386 [Not Installed]
4) libdrm-radeon1:i386 [Not Installed]
5) libdrm2:i386 [Not Installed]
6) libgl1-mesa-dri:i386 [Not Installed]
7) libglapi-mesa:i386 [Not Installed]
8) libglx-mesa0:i386 [Not Installed]
9) libllvm7:i386 [Not Installed]
Accept this solution? [Y/n/q/?]
我在联想 ThinkPad T450s 笔记本电脑上运行 Lubuntu 16.10。我用 VGA 电缆将它连接到 Acer V173 显示器。我的机器双引导 Lubuntu 和 Windows 10,我可以在 Windows 中正常使用显示器,但 Lubuntu 似乎甚至没有检测到它——它没有出现在 xrandr 中。当我尝试一台旧的戴尔显示器时,也遇到了同样的情况。但是,在我从加利福尼亚飞往新泽西之前,昨天我的另一台显示器工作正常(不幸的是,我不记得品牌或型号)。我该如何调试呢?
我在笔记本电脑上运行 Lubuntu 16.04.1。在工作中,我用以太网电缆将它插入墙上。这提供了 Internet 访问,还允许我访问称为 cchfs ( ) 的文件目录(可能是共享,或者是服务器,或两者?)smb://cchfs
,它在这里用作 Windows 机器上的映射网络驱动器。我可以通过打开 PCManFM,选择 Go → Network,然后打开图标“Windows Network”、“NPI_HRRP”、“CCHFS”(此处提示我输入登录详细信息)、“Root”来查看 cchfs 中的文件。
这一切都很好,但我希望能够在 zsh 中与这些文件进行交互,而不仅仅是 PCManFM,我不知道该怎么做。我认为,在使用 创建挂载点之后,第一步sudo mkdir /media/cchfs
是像这样挂载文件系统:
sudo mount -t cifs -o user=NPI_HRRP/KArfer smb://cchfs /media/cchfs
但这会产生错误Mounting cifs URL not implemented yet.
From this question,这是关于此错误消息的,看起来我需要替换smb://cchfs
为//SOMETHING/cchfs
or //cchfs/SOMETHING
。但我不知道哪个,也不知道SOMETHING
应该是什么。我已经尝试了很多猜测,但只得到了非常神秘的错误消息。
编辑 1:在办公室的 Windows 机器上按照这些说明操作,我得到:
C:\Users\karfer>net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
OK X: \\cchfs\root Microsoft Windows Network
The command completed successfully.
C:\Users\karfer>nslookup cchfs
Server: nsmcoint.medctr.ucla.edu
Address: 10.2.14.10
Name: cchfs.cch.ucla.edu
Address: 10.48.154.235
所以我尝试了:
sudo mount -t cifs -o user=NPI_HRRP/KArfer //10.48.154.235/cchfs /media/cchfs
产生mount error(13): Permission denied
(-v
只是添加mount.cifs kernel mount options: ip=10.48.154.235,unc=\\10.48.154.235\cchfs,user=NPI_HRRP/KArfer,pass=********
)和dmesg
:
[ 2734.297317] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2734.297332] CIFS VFS: Send error in SessSetup = -13
[ 2734.297591] CIFS VFS: cifs_mount failed w/return code = -13
我也试过//10.48.154.235/root
代替//10.48.154.235/cchfs
,它没有改变任何东西。
我很确定我输入的密码正确。我的密码中有大写字母和感叹号。mount
尽管这对 PCManFM 来说似乎不是问题,但这可能是个问题吗?
编辑 2:如果我使用KArfer
代替NPI_HRRP/KArfer
. (我是否也通过似乎并没有什么不同domain=NPI_HRRP
。)但现在我得到了:
mount.cifs kernel mount options: ip=10.48.154.235,unc=\\10.48.154.235\cchfs,user=KArfer,pass=********
Retrying with upper case share name
mount.cifs kernel mount options: ip=10.48.154.235,unc=\\10.48.154.235\CCHFS,user=KArfer,pass=********
mount error(6): No such device or address
更改cchfs
为其他一些东西不会改变任何东西,除了如果我使用X$
代替cchfs
,我会Permission denied
再次得到。
编辑3:输出smbclient -W=NPI_HRRP -U=KArfer -L //CCHFS
是:
WARNING: The "syslog" option is deprecated
Enter KArfer's password:
Domain=[NPI_HRRP] OS=[Windows Server 2008 R2 Enterprise 7601 Service Pack 1] Server=[Windows Server 2008 R2 Enterprise 6.1]
Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
Root Disk
X$ Disk
Domain=[NPI_HRRP] OS=[Windows Server 2008 R2 Enterprise 7601 Service Pack 1] Server=[Windows Server 2008 R2 Enterprise 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
但是,mount -t cifs -o username=NPI_HRRP/KArfer'%hunter2' //CCHFS /mnt
替换hunter2
为我的密码会产生mount error(22): Invalid argument
(在提示输入我的密码后,尽管我将其包含在命令行中)。如果我替换CCHFS
为10.48.154.235
.