mount

Force unmount of NFS-mounted directory [closed]

不打扰是莪最后的温柔 提交于 2019-12-03 01:29:03
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. I have an NFS-mounted directory on a Linux machine that has hung. I've tried to force an unmount, but it doesn't seem to work: $ umount

Linux: Which process is causing “device busy” when doing umount? [closed]

大兔子大兔子 提交于 2019-12-03 01:27:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Linux: Which process is causing "device busy" when doing umount? 回答1: Look at the lsof command (list open files) -- it can tell you which processes are holding what open. Sometimes it's tricky but often something as simple as sudo lsof | grep (your device name here) could do it for you. 回答2: Just in case...

Vagrant was unable to mount VirtualBox shared folders

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Current setup: Virtualbox 5.1.20 with Vagrant 1.9.3 Previous working setup: Virtualbox 5.1.18 with Vagrant 1.9.3 I installed the latest version of Virtualbox and tried to start my VM. The folder mounting has stopped working. The same folder mounting works fine in Virtualbox 5.1.18. I get the following error message: Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox Guest Additions and kernel module. Please verify that

How to mount a single file in a volume

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am pretty new to docker, and some concepts of volumes are quite confusing to me. What I am trying to do is to dockerize a php application. In the dockerfile I download the archive, extract it etc. Everything works fine, however if a new version gets released, and I update the dockerfile I have to reinstall the application, because the config.php gets overwritten. So I thought I can mount the file as a volume, like I do with the database. I tried it two ways, with a volume and a direct path. docker-compose: version : '2' services

Docker-compose volume mount before run

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a Dockerfile I'm pointing at from a docker-compose.yml. I'd like the volume mount in the docker-compose.yml to happen before the RUN in the Dockerfile. Dockerfile: FROM node WORKDIR /usr/src/app RUN npm install --global gulp-cli \ && npm install ENTRYPOINT gulp watch docker-compose.yml version: '2' services: build_tools: build: docker/gulp volumes_from: - build_data:rw build_data: image: debian:jessie volumes: - .:/usr/src/app It makes complete sense for it to do the Dockerfile first, then mount from docker-compose, however is there a

Docker Mount Project error response from daemon on Windows 10

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new in using Docker and I want to mount my project in a container to run it on a Virtual Host. First of all I installed the Docker Toolbox that works for Windows 10. I am using the Docker QuickStart Terminal as my CLI to work with. I tried to pull an image that I will use for my project and it was successfull. Unfortunately when I try to mount my project I get this error. C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: invalid mode: /var/www/app/. See 'C:\Program Files\Docker Toolbox\docker.exe run --help'. And

[转帖]【mount】Linux根目录空间不足

心已入冬 提交于 2019-12-03 01:18:52
【mount】Linux根目录空间不足 2019.04.15 21:30:47字数 1094阅读 107 一、问题背景 一台数据库服务器,突然监控告警,报根目录空间不足(no space left on device),登录机器初步查看,发现根目录确实满了。 # df -hT 二、问题排查 根目录下包括所有的目录,而有些目录是挂了盘的,这些目录不会占用根目录下的系统磁盘空间。 出现根目录空间不足的情况只要关注那些未挂盘的文件大小,使用du命令查看各个目录的大小(只显示一层目录) # du -h --max-depth=1 / 但是却并没有发现某个目录下有特大的文件存在。 灵机一动,是否有文件已被删除,但是引用该文件的进程仍然活动,导致文件所占磁盘没有被释放。 # lsof | grep deleted 根目录磁盘空间已满,根目录没有大文件,文件如果正在使用的时候被删除,进程可以继续读取文件,文件仍然占用空间,导致文件被删除但是空间未释放。 解决方法是删掉占用文件的进程,但结果中仍然没有发现有大文件。 有没有可能是这台服务器的block虽然还有剩余,但inode已经用满,因此在创建新目录或文件时,系统提示磁盘空间不足? inode译成中文就是索引节点,每个存储设备(例如硬盘)或存储设备的分区被格式化为文件系统后,应该有两部份,一部份是inode,另一部份是 block

centos 用nfs加mount命令挂载目录

匿名 (未验证) 提交于 2019-12-03 00:39:02
源服务器: 1、安装 编辑/etc/exports, 3、启动服务 添加开启启动服务 service rpcbind start 4、开启防火墙 客户端: 1、安装客户端 yum install -y nfs-utils 2、启动服务 3、创建挂载点 4、mount -t nfs 服务器端IP: 5、添加开机自动挂载,编辑etc/fstab 文章来源: centos 用nfs加mount命令挂载目录

Unable to mount volumes for pod "prometheus&expired waiting for volumes to attach or mount for pod

匿名 (未验证) 提交于 2019-12-03 00:37:01
[root@szy-k8s-master log] # kubectl describe pod prometheus-544bf54848-b97rn --namespace=kube-system Name: prometheus- 544 bf54848-b97rn Namespace : kube-system Node: szy-k8s-node1/ 10.10 .31 .203 Start Time: Tue, 26 Jun 2018 17 : 05 : 08 + 0800 Labels: app=prometheus pod-template-hash= 1006910404 Annotations: <none> Status: Pending IP: Controlled By : ReplicaSet/prometheus- 544 bf54848 Containers: prometheus: Container ID: Image: prom/prometheus:latest Image ID: Port: 9090 /TCP Host Port: 0 /TCP State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Environment: <none> Mounts:

ASM Disk Group Will not Mount In Presence Of Duplicate Disks / Devices: ORA-15032, ORA-15017, ORA-15063 (文档 ID 1501660.1)

匿名 (未验证) 提交于 2019-12-03 00:34:01
APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.1 and later Information in this document applies to any platform. SYMPTOMS 2 node RAC - 11201 - Solaris10 alert__ASM1.log: ~~~~~~~~~~~~~ ... Fri Oct 19 13:09:35 2012 NOTE: No asm libraries found in the system ERROR: -5(Duplicate disk DATA:DATA_0000) * instance_number obtained from CSS = 1, checking for the existence of node 0... * node 0 does not exist. instance_number = 1 Starting ORACLE instance (normal) ... Starting up: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Real Application