zoukankan      html  css  js  c++  java
  • linux移动硬盘unmount报错处理

    备份数据用的移动硬盘unmount时报:

    通过fuser命令来kill掉设备进程,再unmount移动设备

    先看fuser命令帮助信息:

    [root@athenadb2 ~]# fuser -help
    Usage: fuser [ -a | -s | -c ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
    [ - ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
    fuser -l
    fuser -V
    Show which processes use the named files, sockets, or filesystems.

    -a display unused files too
    -c mounted FS
    -f silently ignored (for POSIX compatibility)
    -i ask before killing (ignored without -k)
    -k kill processes accessing the named file
    -l list available signal names
    -m show all processes using the named filesystems
    -n SPACE search in this name space (file, udp, or tcp)
    -s silent operation
    -SIGNAL send this signal instead of SIGKILL
    -u display user IDs
    -v verbose output
    -V display version information
    -4 search IPv4 sockets only
    -6 search IPv6 sockets only
    - reset options

    udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]]

    使用以下命令kill进程:

    fuser -km /mnt/mv--设备名称

  • 相关阅读:
    JS中null与undefined的区别
    <div> <p> <span>的用法和区别
    <img>的title和Alt有什么区别?
    null undefined NaN
    JavaScript中判断为整数的多种方式
    将博客搬至CSDN
    flex
    webpack插件url-loader使用规范
    Cordova 项目 加载不出XML文件
    pandas读取xlsx
  • 原文地址:https://www.cnblogs.com/zougang/p/6668743.html
Copyright © 2011-2022 走看看