Skip to content

Instantly share code, notes, and snippets.

@marios88
Last active September 17, 2021 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marios88/031939dd47609a9b3083a1988fc1fd22 to your computer and use it in GitHub Desktop.
Save marios88/031939dd47609a9b3083a1988fc1fd22 to your computer and use it in GitHub Desktop.
Online resize with hpacucli to expand array's logical disk size when new larger disk are added
Replace slot=x
Replace ld ( LD not id ) with target logical disk
> hpacucli
> ctrl slot=2 show config detail
> ctrl slot=2 ld 1 modify size=max
> Warning: Extension may not be supported on certain operating systems.
Performing extension on these operating systems can cause data to
become inaccessible. See ACU documentation for details. Continue?
(y/n) y
---
Takes about 5 seconds
---
Needs restart to pickup changes
---
gksudo gparted
-> swapoff
-> make new swap at the end
-> grow root partition
-> apply
-> swapon on new swap partition
-> edit fstab with new swap UUID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment