We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.1.12
12.21.31
CentOS Linux release 7.4.1708 (Core)
Resize physical volumes.
lvm_physical_volume '/dev/sdb' do action :resize end
Volume gets resized.
Nothing happens. Manually running pvresize /dev/sdb correctly resizes as expected.
pvresize /dev/sdb
Running chef-client:
* lvm_physical_volume[/dev/sdb] action resize[2018-05-02T11:33:36+02:00] INFO: Processing lvm_physical_volume[/dev/sdb] action resize (cubs-docker::default line 36) (up to date)
Checking pvs after:
# pvs PV VG Fmt Attr PSize PFree /dev/sda2 os lvm2 a-- <31.50g 100.00m /dev/sdb docker lvm2 a-- <20.00g 0
Manually resizing:
# pvresize /dev/sdb Physical volume "/dev/sdb" changed 1 physical volume(s) resized / 0 physical volume(s) not resized # pvs PV VG Fmt Attr PSize PFree /dev/sda2 os lvm2 a-- <31.50g 100.00m /dev/sdb docker lvm2 a-- <40.00g 20.00g
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Cookbook version
4.1.12
Chef-client version
12.21.31
Platform Details
CentOS Linux release 7.4.1708 (Core)
Scenario:
Resize physical volumes.
Steps to Reproduce:
Expected Result:
Volume gets resized.
Actual Result:
Nothing happens. Manually running
pvresize /dev/sdb
correctly resizes as expected.Running chef-client:
Checking pvs after:
Manually resizing:
The text was updated successfully, but these errors were encountered: