AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[fuse](server)

Martin Hope
famedoro
Asked: 2020-04-30 06:00:01 +0800 CST

为什么 /tmp 绑定在 /tmp 中?如何删除此绑定

  • 0

在 RHEL6 的克隆 Scientific Linux 6 中,我有以下mtab文件:

/dev/sda2 / ext4 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw,rootcontext="system_u:object_r:tmpfs_t:s0" 0 0
/dev/sda1 /boot ext4 rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/tmp /tmp none rw,bind 0 0
/var/tmp /var/tmp none rw,bind 0 0
/home /home none rw,bind 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev 0 0

fstab的内容是

enter code here
#
# /etc/fstab
# Created by anaconda on Tue Apr 21 14:07:48 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'       
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=ce58d311-5f32-4da6-9f96-ca9353dc421c /                       ext4    defaults        1 1
UUID=1e4e79e3-3317-4c50-8880-c25d6a03f4a4 /boot                   ext4    defaults        1 2
UUID=eec379ab-8116-46ef-b93b-9bdcd0ab65e2 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

mount命令的输出是:

/dev/sda2 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/tmp on /tmp type none (rw,bind)
/var/tmp on /var/tmp type none (rw,bind)
/home on /home type none (rw,bind)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)

为什么 /tmp 绑定在 /tmp 上?(还有 /home 在 /home 上,/var/tmp 在 /var/tmp 上)

如何删除此绑定并将 /tmp 作为公共目录放在 / 下?

我需要这个,因为我有一个使用指令重命名的旧可执行文件,它给了我以下错误

EXDEV oldpath 和 newpath 不在同一个挂载的文件系统上。(Linux 允许在多个点挂载文件系统,但 rename() 不能跨不同的挂载点工作,即使在两个挂载点上都挂载了相同的文件系统。)

当它尝试在 / 的子目录下使用 oldpath int /tmp 和 newpath 重命名文件时。

linux mount filesystems fstab fuse
  • 1 个回答
  • 287 Views
Martin Hope
Cam
Asked: 2017-02-14 09:23:53 +0800 CST

GCSFuse - Fusermount:安装点不为空

  • 2

使用 gcsfuse 在脚本内的服务器上本地挂载一个点。在 Ubuntu 14 LTS 服务器上运行。

我有两个保险丝挂载点,脚本将数据从其他挂载点传输到其中。

此脚本适用于其中一个安装点,但不适用于第二个。

gcsfuse --debug_fuse bucket /mnt/gcloud-bucket
Using mount point: /mnt/gcloud-bucket
Opening GCS connection...
Opening bucket...
Mounting file system...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithConn: Mount: mount: running fusermount: exit status 1

stderr:
fusermount: mountpoint is not empty
fusermount: if you are sure this is safe, use the 'nonempty' mount option

我检查了我的脚本是否有语法错误,它与工作脚本相同,我尝试在 shell 中运行该命令,但它继续返回错误。

我也尝试重新启动以清除安装,但这并没有解决。

如果我去 /mnt/gcloud-bucket 来自云的数据都在那里并已安装,我可以浏览它,但它不会出现在 mount -l 输出中。

我也尝试过 umount 但未找到安装。

谢谢,

凸轮

ubuntu fuse gcloud gcsfuse ubuntu-14.04
  • 1 个回答
  • 6627 Views
Martin Hope
hookenz
Asked: 2015-07-09 19:38:52 +0800 CST

如何使用 fuse 驱动程序挂载 rbd 设备?

  • 2

这是来自的后续问题:How do I mount an rbd device from fstab我问过一段时间。

如何使用 fuse 驱动程序挂载 rbd 设备?(如果不打开很多权限,我就无法使用 docker 的内核驱动程序)

据我所知,我在 fstab 文件中创建了一个条目,如下所示:

id=client.admin /mnt fuse.ceph 0 0

但是我看不到如何指定 rbd 块设备。如果我运行这个挂载,我会在 /mnt/mariadb1 中看到一个文件(mariadb1 是我使用 rbd create --size 250000 mariadb1 创建的 rbd 设备的名称)

我如何实际将其挂载为文件系统?

注意:是的,我真的很想使用内核 rbd 驱动程序并从主机挂载它,然后将它公开给我的 docker 容器,但是……我正在使用 CoreOS。

如果可以在主机挂载命名空间中挂载文件系统,我会接受,但还没有看到前进的方向。我管理的最好的方法是从具有很多特权的容器中安装它。但我不能与 --volumes-from 共享该容器。我真的不喜欢让这个特定的容器完全访问主机。

fuse
  • 2 个回答
  • 2513 Views
Martin Hope
Michael Neale
Asked: 2012-05-23 22:45:37 +0800 CST

以用户身份安装 webdav(无 sudo)

  • 6

使用 FUSE 可以纯粹以非特权用户身份挂载许多东西。然而,似乎对于 webdav davfs2 是首选项目,它似乎是一个文件系统驱动程序并使用需要特权的标准 mount/umount。

有没有办法使用这个(或另一个库)通过 fuse 仅作为用户安装 webdav ?(也就是说,每个用户都可以在不同的服务器上安装不同的 webdav,而无需在 fstab 等中配置任何内容)。

linux webdav fuse
  • 3 个回答
  • 11349 Views
Martin Hope
Switch
Asked: 2010-04-08 23:07:24 +0800 CST

红帽 | 保险丝 | SSH 文件系统

  • 2

我确实在我的 Redhat EL 5.4 上管理设置和配置fuse和 [sshfs][2]。但是当我点击 sshfs 时出现错误

sshfs: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory 

无法弄清楚确切原因,请求帮助

谢谢..

redhat sshfs fuse
  • 1 个回答
  • 2066 Views
Martin Hope
Mint
Asked: 2010-02-23 00:28:08 +0800 CST

将 FTPS 服务器挂载到 linux 目录(但出现 Access denied: 530 错误)

  • 2

我试图将 FTPS 挂载到一个目录,但它似乎不起作用......

我可以做这个:

lftp -p 990 user:[email protected]

它会很好地连接。

但如果我这样做:

curlftpfs 10.10.10.1:990 /mnt/test -o user=user:pass

我收到此错误:

* Couldn't find host 10.10.10.1 in the .netrc file; using defaults
* About to connect() to 10.10.10.1 port 990 (#0)
*   Trying 10.10.10.1... * connected
* Connected to 10.10.10.1 (10.10.10.1) port 990 (#0)
< 220-FileZilla Server version 0.9.34 beta
< 220-written by Tim Kosse ([email protected])
< 220 Please visit http://sourceforge.net/projects/filezilla/
> USER user
< 530 SSL required
* Access denied: 530
* Closing connection #0
Error connecting to ftp: Access denied: 530

这是怎么回事?

linux mount ftps fuse
  • 1 个回答
  • 5638 Views
Martin Hope
Chris Gow
Asked: 2009-07-16 14:45:07 +0800 CST

保险丝在centos 5.3 xen guest中不起作用

  • 0

我有一个在 64 位 centos 5.3 XEN 主机上运行的 centos 5.3 64 位 XEN 来宾。我正在尝试在其上安装 sshfs,但遇到了一些问题。我已经从 rpmforge 安装了 fuse 和 fuse-sshfs(使用 yum)。但是每当我尝试挂载目录时,都会出现以下错误:

保险丝:未找到设备,请先尝试“modprobe fuse”

运行 modprobe fuse 我得到:

致命:未找到模块保险丝。

我已经重新启动了客人,但我仍然得到同样的错误

xen centos sshfs fuse
  • 1 个回答
  • 1519 Views
Martin Hope
lloydsparkes
Asked: 2009-07-01 04:18:38 +0800 CST

将 FTP(S) 服务器挂载到 linux 目录

  • 5

我知道我可以使用 FUSE 挂载 ssh/sftp/sshfs,但 FTP/FTPS 也可以这样吗?

目的是将 FTPS 服务器挂载到 /databackup

我不能使用 SSH/SFTP/SSHFS,因为另一台服务器的主机不支持这些方法

linux ftp fuse
  • 2 个回答
  • 7752 Views
Martin Hope
Marcus Spiegel
Asked: 2009-06-23 00:49:37 +0800 CST

如何在 OpenVZ 容器中挂载 glusterfs?

  • 5

glusterfs 使用 fuse 挂载 glusterfsd 卷,在没有虚拟化的任何硬件节点上都可以正常工作。

但是,我现在尝试将设备安装在容器内

glusterfs --debug -f /etc/glusterfs/glusterfs.vol /storage

并得到以下错误:

fuse: failed to open /dev/fuse: Permission denied
[2009-06-20 18:36:29] D [fuse-bridge.c:2747:init] glusterfs-fuse: fuse_mount() failed with error Permission denied on mount point /storage

ls -al /dev/fuse 是

crw-rw-rw- 1 root fuse 10, 229 20. Jun 16:35 /dev/fuse

和 ls -al /storage 是

drwxr-xr-x   2 root root 4096 20. Jun 17:14 storage

该 HN 的内核已加载保险丝......一个 uname 是

2.6.18-14-fza-amd64 #1 SMP Mon Jan 5 17:36:46 UTC 2009 x86_64 GNU/Linux

有什么建议么?有没有人尝试在 openvz 容器中安装 glusterfs 并启动并运行它?

提前致谢。马库斯

cluster fuse openvz
  • 3 个回答
  • 5921 Views
Martin Hope
bene
Asked: 2009-05-10 14:27:01 +0800 CST

在断开连接后仍然存在的 SSHFS 挂载

  • 89

我正在使用从笔记本电脑到中央服务器的SSHFS挂载。

显然,SSHFS 挂载在较长时间断开后(例如在挂起期间)被破坏,导致底层 SSH 连接超时。

有没有办法让 SSHFS 挂载在长期断开连接(> 5 分钟)甚至使用不同 IP 的重新拨号中幸存下来?

linux networking ssh fuse
  • 6 个回答
  • 59890 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve