[linux-lvm] discuss: about master branch vgcreate parameter "--clustered"
zkabelac at redhat.com
Tue Dec 29 19:03:05 UTC 2020
Dne 28. 12. 20 v 9:35 heming.zhao at suse.com napsal(a):
> On master branch, clvmd had been removed, the "-c | --clustered" is deprecated.
> ~> sudo vgcreate -c n vg1 /dev/sda
> The clustered option is deprecated, see --shared.
> Run `vgcreate --help' for more information.
> ~> echo $?
> It looks the -c is useless, it only shows deprecated info and exit.
> Is it possible to remove the -c from lvm code?
Command keeps this option for backward compatibility.
So when the option is no longer supported - it should print the 'old usage'
was replaced with something else.
I don't quite understand why would you want to remove this logic
since we would report 'Invalid argument' anyway?
More information about the linux-lvm