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
Hi there! I have noticed an issue while doing my first vagrant up with this environment; the deployment of the repo VM fails with the following error.
repo: Running: inline script repo: Physical volume "/dev/sdb" successfully created. repo: Volume group "rhel_rhel8" successfully extended repo: Size of logical volume rhel_rhel8/root changed from <28.93 GiB (7405 extents) to 30.92 GiB (7916 extents). repo: Logical volume rhel_rhel8/root successfully resized. repo: xfs_growfs: /dev/rhel_rhel8/root is not a mounted XFS filesystem
UPDATE: to fix this I have modified the xfs_growfs command in the vagrantfile as follows:
repo.vm.provision :shell, :inline => "pvs | grep '/dev/sdb' && echo 'The disk was already expanded!' || (pvcreate /dev/sdb; vgextend rhel_rhel8 /dev/sdb; lvextend -l +100%FREE /dev/rhel_rhel8/root; xfs_growfs /)"
Hope that can be useful for someone :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there!
I have noticed an issue while doing my first vagrant up with this environment; the deployment of the repo VM fails with the following error.
repo: Running: inline script
repo: Physical volume "/dev/sdb" successfully created.
repo: Volume group "rhel_rhel8" successfully extended
repo: Size of logical volume rhel_rhel8/root changed from <28.93 GiB (7405 extents) to 30.92 GiB (7916 extents).
repo: Logical volume rhel_rhel8/root successfully resized.
repo: xfs_growfs: /dev/rhel_rhel8/root is not a mounted XFS filesystem
UPDATE: to fix this I have modified the xfs_growfs command in the vagrantfile as follows:
repo.vm.provision :shell, :inline => "pvs | grep '/dev/sdb' && echo 'The disk was already expanded!' || (pvcreate /dev/sdb; vgextend rhel_rhel8 /dev/sdb; lvextend -l +100%FREE /dev/rhel_rhel8/root; xfs_growfs /)"
Hope that can be useful for someone :)
The text was updated successfully, but these errors were encountered: