Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax for vgcreate is confusing #90

Closed
yanadior9029 opened this issue Aug 26, 2022 · 1 comment
Closed

Syntax for vgcreate is confusing #90

yanadior9029 opened this issue Aug 26, 2022 · 1 comment

Comments

@yanadior9029
Copy link

Please can you review the syntax for vgcreate as it is confusing
current syntax $vgcreate VG_New PV [options]
Please can you elaborate on what is meant by "VG_New" as well as what are the valid Positional Arguments apart from PV.
thank you

@zkabelac
Copy link
Contributor

VG_new is meant to be a new (unused) name for your created VG.
PV is list of devices you want to use for your VG

Accepted options are all IMHO easily visible in both 'man vgcreate' & 'vgcreate --help'

https://man7.org/linux/man-pages/man8/vgcreate.8.html

Is there something unclear about the options listing ?

Everything with '-' or '--' is an option (which may eventually consume some args)
Rest is positional arg where 1st. is vgname and remainder is list of PVs....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants