0

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

例如:

vgcreate -Ay -cy cluster_vg /dev/vdb
4

1 回答 1

1

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).
于 2016-01-14T03:29:44.010 回答