linux - vgcreate中 "-Ay" "-cy"选项的使用

标签 linux lvm

vgcreate 命令中的选项“-Ay”“-cy”有什么作用?我查看了手册页,但找不到它们。

例如:

vgcreate -Ay -cy cluster_vg /dev/vdb

最佳答案

来自 vgcreate(8) 手册页:

  -c, --clustered {y|n}
          If  clustered  locking is enabled, this defaults to y indicating
          that this Volume Group is shared with other nodes in  the  clus‐
          ter.

          If  the  new Volume Group contains only local disks that are not
          visible on the other nodes, you must specify --clustered n.   If
          the  cluster  infrastructure is unavailable on a particular node
          at a particular time, you may still be able to use  such  Volume
          Groups.

来自 lvm(8) 手册页:

   -A, --autobackup {y|n}
          Whether or not to metadata should  be  backed  up  automatically
          after  a  change.  You are strongly advised not to disable this!
          See vgcfgbackup(8).

关于linux - vgcreate中 "-Ay" "-cy"选项的使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34781139/

相关文章:

lvm - kpartx : read error when removing mapping

arrays - Shell脚本数组

c - 在 C 程序中实现 sudo su

c++ - 从 C++ 源文件创建全局变量列表

c# - .Net 核心互操作性 Linux

linux - lvcreate 在物理卷上创建什么?会删除数据吗?

c - 实现共享库/模块 - 参数结构不在 header 中

linux - 将 Debian 8.4 刷入 eMMC 后如何更改 Beaglebone Black 的启动分区?

c++ - 初始化 SDL_Mixer 给出错误 "Can' t 设置 PulseAudio 流”

linux - 如何让 linux 在通过 dd 删除磁盘后重新加载设备映射器?