bash_oneliners
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bash_oneliners [2023/04/14 09:23] – admin | bash_oneliners [2025/08/06 12:07] (current) – admin | ||
|---|---|---|---|
| Line 48: | Line 48: | ||
| vgextend VGEXL /dev/sdf1 | vgextend VGEXL /dev/sdf1 | ||
| lvresize -l +100%free / | lvresize -l +100%free / | ||
| + | </ | ||
| + | * Enlarge LVM 2 | ||
| + | < | ||
| + | echo ' | ||
| + | yum install cloud-utils-growpart | ||
| + | growpart | ||
| + | pvresize /dev/sdd1 | ||
| + | lvextend -l +100%FREE / | ||
| + | xfs_growfs / | ||
| + | </ | ||
| + | |||
| + | * polkit logging for debugging | ||
| + | < | ||
| + | |||
| + | cat / | ||
| + | |||
| + | polkit.addRule(function(action, | ||
| + | polkit.log(" | ||
| + | polkit.log(" | ||
| + | |||
| + | if (action.id.startsWith(" | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | polkit.log(" | ||
| + | return polkit.Result.YES; | ||
| + | } | ||
| + | |||
| + | polkit.log(" | ||
| + | }); | ||
| </ | </ | ||
bash_oneliners.1681464231.txt.gz · Last modified: by admin
