mirror of
https://github.com/IntenseWebs/servercode.git
synced 2024-11-25 10:00:16 -06:00
Update freeipa.md & disx-xfs.txt
This commit is contained in:
parent
ef4e8661b4
commit
3053cd2d44
@ -1,23 +1,24 @@
|
|||||||
https://www.redhat.com/sysadmin/lvm-vs-partitioning
|
# Easy way it to boot off Live CD, install gparted if needed and expand drive free space. Check FREE SPACE w/ below - 1st commands checks LVM Group has any free space and 2nd checks drive partition has free space. CHOOSE CAREFULLY lvextend command
|
||||||
|
|
||||||
# Check size of XFS file system by using either of next two lines
|
|
||||||
xfs_info /dev/mapper/fedora_tfedora-usr
|
xfs_info /dev/mapper/fedora_tfedora-usr
|
||||||
lsblk -fe7
|
lsblk -fe7
|
||||||
df -hT
|
df -hT
|
||||||
# Check FREE SPACE w/ below - 1st commands checks LVM Group has any free space and 2nd checks drive partition has free space CHOOSE CAREFULLY lvextend command
|
# vgdisplay and # lvdisplay and # pvdisplay /dev/vda3
|
||||||
# vgdisplay and # lvdisplay
|
|
||||||
vgs fedora_tfedora
|
vgs fedora_tfedora
|
||||||
sfdisk --list-free /dev/vda
|
sfdisk --list-free /dev/vda
|
||||||
|
|
||||||
|
lvextend -l +100%FREE /dev/mapper/fedora_tfedora-usr -r
|
||||||
|
|
||||||
# lvresize -L +1G /dev/mapper/fedora_tfedora-usr
|
# lvresize -L +1G /dev/mapper/fedora_tfedora-usr
|
||||||
# lvextend -L +1G /dev/mapper/fedora_tfedora-usr -r
|
# lvextend -L +1G /dev/mapper/fedora_tfedora-usr -r
|
||||||
# lvextend -l+10239 /dev/vg_webserver/lv_root
|
# lvextend -l+10239 /dev/vg_webserver/lv_root
|
||||||
# lvextend -l +100%FREE /dev/almalinux_alma1/root
|
# lvextend -l +100%FREE /dev/almalinux_alma1/root
|
||||||
|
|
||||||
# If xfs is not based on LVM , the use the xfs_growsfs command as shown below
|
# If xfs is not based on LVM , the use the xfs_growsfs command as shown below
|
||||||
dnf install cloud-utils-growpart
|
# dnf install cloud-utils-growpart
|
||||||
xfs_growfs /dev/almalinux_alma1/root
|
# xfs_growfs /dev/almalinux_alma1/root
|
||||||
xfs_growfs -n /dev/mapper/fedora_tfedora-usr
|
# xfs_growfs -n /dev/mapper/fedora_tfedora-usr
|
||||||
growpart --dry-run /dev/nvme0n1 3
|
# vgextend fedora_tfedora /dev/vda3
|
||||||
growpart --dry-run /dev/vda 3
|
# growpart --dry-run /dev/nvme0n1 3
|
||||||
|
# growpart --dry-run /dev/vda 3
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# FreeIPA requires over 2Gb+ in /usr
|
||||||
firewall-cmd --add-service=freeipa-ldap --add-service=freeipa-ldaps
|
firewall-cmd --add-service=freeipa-ldap --add-service=freeipa-ldaps
|
||||||
firewall-cmd --add-service=freeipa-ldap --add-service=freeipa-ldaps --permanent
|
firewall-cmd --add-service=freeipa-ldap --add-service=freeipa-ldaps --permanent
|
||||||
dnf install freeipa-server
|
dnf install freeipa-server
|
||||||
|
Loading…
Reference in New Issue
Block a user