mirror of
https://github.com/IntenseWebs/servercode.git
synced 2025-02-25 18:55:26 -06:00
Added freeipa.md and update disx-xfs.txt
This commit is contained in:
parent
693c4bf96d
commit
ef4e8661b4
Binary file not shown.
@ -1,7 +1,23 @@
|
||||
https://terminaltolinux.com/2021/05/24/extend-root-lvm-configured-partition-rhel8-rhel7-centos-8-centos-7-no-reboot-required/
|
||||
https://www.redhat.com/sysadmin/resize-lvm-simple
|
||||
https://www.redhat.com/sysadmin/lvm-vs-partitioning
|
||||
|
||||
growpart --dry-run /dev/nvme0n1 3
|
||||
lvextend -l +100%FREE /dev/almalinux_alma1/root
|
||||
# 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
|
||||
vgs fedora_tfedora
|
||||
sfdisk --list-free /dev/vda
|
||||
# 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
|
||||
|
||||
|
||||
|
@ -3,8 +3,11 @@ lsblk
|
||||
lsblk -fe7
|
||||
blkid
|
||||
parted -l
|
||||
parted /dev/sde u s p
|
||||
df -hT
|
||||
du -sh /home
|
||||
# Check FREE SPACE
|
||||
sfdisk --list-free /dev/vda
|
||||
hwinfo --short --block
|
||||
pvs
|
||||
vgs
|
||||
|
3
freeipa.md
Normal file
3
freeipa.md
Normal file
@ -0,0 +1,3 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user