1 月 142024
 

Source: What are the file and file system size limitations for Red Hat Enterprise Linux?

Certified and [maximum] individual file size

File systemRHEL 3RHEL 4RHEL 5RHEL 6RHEL 7RHEL 8
Ext2/31TiB (3.0) 2TiB (3.5+)2TiB2TiB2TiB2TiB2TiB
Ext4n/an/a16TiB (5.6+)216TiB16TiB16TiB
GFS12TiB16TiB [8EiB]16TiB [8EiB]n/an/an/a
GFS21n/an/a100TiB (5.3+) [8EiB]100TiB [8EiB]100TiB [8EiB]100TiB [8EiB]
XFS3n/an/a100TiB [8EiB]100TiB [8EiB]500TiB [8EiB]8EiB

Certified and [maximum] file system size

File systemRHEL 3RHEL 4RHEL 5RHEL 6RHEL 7RHEL 8
Ext2/31TiB (3.0) 2TiB (3.5+) [8TiB]8TiB8TiB (5.0), 16TiB (5.1+)416TiB16TiB16TiB
Ext4n/an/a16TiB [1EiB] (5.6+)216TiB [1EiB]50TiB [1EiB]50TiB [1EiB]
GFS2TiB16TiB [8EiB]16TiB [8EiB]n/an/an/a
GFS21n/an/a100TiB (5.3+) [8EiB]100TiB [8EiB]100TiB [8EiB]100TiB [8EiB]
XFS3n/an/a100TiB [16EiB]300TiB [16EiB]5500TiB [16EiB]1PiB

Units are given in binary prefix:

  • TiB = Tebibyte = 240
  • PiB = Pebibyte = 250
  • EiB = Exbibyte = 260
8 月 232022
 

Source: How to enable or disable services?

  • sudo systemctl start SERVICE: Use it to start a service. Does not persist after reboot
  • sudo systemctl stop SERVICE: Use it to stop a service. Does not persist after reboot
  • sudo systemctl restart SERVICE: Use it to restart a service
  • sudo systemctl reload SERVICE: If the service supports it, it will reload the config files related to it without interrupting any process that is using the service.
  • systemctl status SERVICE: Shows the status of a service. Tells whether a service is currently running.
  • sudo systemctl enable SERVICE: Turns the service on, on the next reboot or on the next start event. It persists after reboot.
  • sudo systemctl disable SERVICE: Turns the service off on the next reboot or on the next stop event. It persists after reboot.
  • systemctl is-enabled SERVICE: Check if a service is currently configured to start or not on the next reboot.
  • systemctl is-active SERVICE: Check if a service is currently active.
  • systemctl show SERVICE: Show all the information about the service.
  • sudo systemctl mask SERVICE: Completely disable a service by linking it to /dev/null; you cannot start the service manually or enable the service.
  • sudo systemctl unmask SERVICE: Removes the link to /dev/null and restores the ability to enable and or manually start the service.
3 月 052019
 

vi /etc/sysconfig/network-scripts/ifcfg-eth1

 DEVICE=eth1
HWADDR=XXXXXXXXXXX
UUID=XXXXXXXXXXX
BOOTPROTO="static"
IPADDR="10.255.69.122"
IPV6INIT="no"
NETMASK="255.255.255.252"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"

vi /etc/rc.local

/sbin/ip route add 10.0.0.0/8 via 10.255.69.121

OR

vi /etc/sysconfig/network-scripts/route-eth1

10.0.0.0/8 via 10.255.69.121