Update freeipa.md & disx-xfs.txt

This commit is contained in:
IntenseWebs 2023-12-17 20:01:11 -06:00
parent ef4e8661b4
commit 3053cd2d44
2 changed files with 12 additions and 10 deletions

View File

@ -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
lsblk -fe7
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
# vgdisplay and # lvdisplay and # pvdisplay /dev/vda3
vgs fedora_tfedora
sfdisk --list-free /dev/vda
lvextend -l +100%FREE /dev/mapper/fedora_tfedora-usr -r
# lvresize -L +1G /dev/mapper/fedora_tfedora-usr
# lvextend -L +1G /dev/mapper/fedora_tfedora-usr -r
# lvextend -l+10239 /dev/vg_webserver/lv_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
dnf install cloud-utils-growpart
xfs_growfs /dev/almalinux_alma1/root
xfs_growfs -n /dev/mapper/fedora_tfedora-usr
growpart --dry-run /dev/nvme0n1 3
growpart --dry-run /dev/vda 3
# dnf install cloud-utils-growpart
# xfs_growfs /dev/almalinux_alma1/root
# xfs_growfs -n /dev/mapper/fedora_tfedora-usr
# vgextend fedora_tfedora /dev/vda3
# growpart --dry-run /dev/nvme0n1 3
# growpart --dry-run /dev/vda 3

View File

@ -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 --permanent
dnf install freeipa-server