-
Notifications
You must be signed in to change notification settings - Fork 20
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
[enhancement] extend OS support: ubuntu #136
Comments
Per my experiment, |
I second this, would be very useful. |
@davidkhala did using |
I am not file system expert to give accurate advice. But since ext4 is default in Debian, and my experiment environment did not change the default, it should work. |
Hi David I just tried running growfs and got this error on ubuntu : was there a workaround or a flag you used to get it to work on ubuntu? thank you. |
Hi @KingPin, What are the full steps to reproduce it? |
Hi @davidkhala thank you for responding.
I saw no flags to be used with it so I simply used the command as is. |
oci-utils is not supported on Ubuntu or Debian, has not been tested. tx. Guido |
ok well just for any future google searchers ending up here, the error I posted above seems to be a warning and not an error. after a backup (please always backup) and a reboot the resizing seems to have been successful. thanx @davidkhala for experimenting on this so I had the courage to try it out 💯 |
FYI, |
oci-growfs only handled xfs file systems; support for ext4 is in next release, support for Debian/Ubuntu is on the table but not yet decided. Guido |
The script internally calls sudo growpart /dev/sda 1
sudo resize2fs -z ./sda1.e2undo /dev/sda1 Since Oracle puts the boot partition after main, to be safe you can also install
then it means it uses SCSI disk/partition number to locate boot partition and it should be safe to reboot now. |
@Frederick888 Thank you, that worked flawlessly and you saved me a lot of headaches. |
@Frederick888 If we don't want to keep a undo back up, can we skip the option |
@davidkhala If it's what you want ¯\_(ツ)_/¯ |
This repo works for me on Ubuntu 22.04 out of the box. git checkout url-of-the-repo
cd oci-utils
python3 ./setup.py build
sudo python3 ./setup.py install
# the following will expand your volume(s)
sudo ./libexec/oci-growfs |
This worked. Thank you! |
It will be great that if we can provide a guideline to install oci-utils on Ubuntu or debian-like system.
The text was updated successfully, but these errors were encountered: