{"id":6147,"date":"2016-08-07T15:15:07","date_gmt":"2016-08-07T07:15:07","guid":{"rendered":"http:\/\/rmohan.com\/?p=6147"},"modified":"2016-08-07T15:15:07","modified_gmt":"2016-08-07T07:15:07","slug":"rhel7-and-6-difference","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6147","title":{"rendered":"RHEL7 and 6 difference"},"content":{"rendered":"<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Features&quot;]\">Features<\/td>\n<td data-sheets-value=\"[null,2,&quot;RHEL 7&quot;]\">RHEL 7<\/td>\n<td data-sheets-value=\"[null,2,&quot;RHEL 6&quot;]\">RHEL 6<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Default File System&quot;]\">Default File System<\/td>\n<td data-sheets-value=\"[null,2,&quot;XFS&quot;]\">XFS<\/td>\n<td data-sheets-value=\"[null,2,&quot;EXT4&quot;]\">EXT4<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Kernel Version&quot;]\">Kernel Version<\/td>\n<td data-sheets-value=\"[null,2,&quot;3.10.x-x kernel&quot;]\">3.10.x-x kernel<\/td>\n<td data-sheets-value=\"[null,2,&quot;2.6.x-x Kernel&quot;]\">2.6.x-x Kernel<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Kernel Code Name&quot;]\">Kernel Code Name<\/td>\n<td data-sheets-value=\"[null,2,&quot;Maipo&quot;]\">Maipo<\/td>\n<td data-sheets-value=\"[null,2,&quot;Santiago&quot;]\">Santiago<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;General Availability Date of First Major Release&quot;]\">General Availability Date of First Major Release<\/td>\n<td data-sheets-value=\"[null,2,&quot;2014-06-09 (Kernel Version 3.10.0-123)&quot;]\">2014-06-09 (Kernel Version 3.10.0-123)<\/td>\n<td data-sheets-value=\"[null,2,&quot;2010-11-09 (Kernel Version 2.6.32-71)&quot;]\">2010-11-09 (Kernel Version 2.6.32-71)<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;First Process&quot;]\">First Process<\/td>\n<td data-sheets-value=\"[null,2,&quot;systemd (process ID 1)&quot;]\">systemd (process ID 1)<\/td>\n<td data-sheets-value=\"[null,2,&quot;init (process ID 1)&quot;]\">init (process ID 1)<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Runlevel&quot;]\">Runlevel<\/td>\n<td data-sheets-value=\"[null,2,&quot;runlevels are called as \\&quot;targets\\&quot; as shown below:\\n\\nrunlevel0.target -&gt; poweroff.target\\nrunlevel1.target -&gt; rescue.target\\nrunlevel2.target -&gt; multi-user.target\\nrunlevel3.target -&gt; multi-user.target\\nrunlevel4.target -&gt; multi-user.target\\nrunlevel5.target -&gt; graphical.target\\nrunlevel6.target -&gt; reboot.target\\n\\n\/etc\/systemd\/system\/default.target (this by default is linked to the multi-user target) &quot;]\">runlevels are called as &#8220;targets&#8221; as shown below:<\/p>\n<p>runlevel0.target -&gt; poweroff.target<br \/>\nrunlevel1.target -&gt; rescue.target<br \/>\nrunlevel2.target -&gt; multi-user.target<br \/>\nrunlevel3.target -&gt; multi-user.target<br \/>\nrunlevel4.target -&gt; multi-user.target<br \/>\nrunlevel5.target -&gt; graphical.target<br \/>\nrunlevel6.target -&gt; reboot.target<\/p>\n<p>\/etc\/systemd\/system\/default.target (this by default is linked to the multi-user target)<\/td>\n<td data-sheets-value=\"[null,2,&quot;Traditional runlevels defined :\\n\\nrunlevel 0\\nrunlevel 1\\nrunlevel 2\\nrunlevel 3\\nrunlevel 4\\nrunlevel 5\\nrunlevel 6\\n\\nand the default runlevel would be defined in \/etc\/inittab file.\\n\/etc\/inittab&quot;]\">Traditional runlevels defined :<\/p>\n<p>runlevel 0<br \/>\nrunlevel 1<br \/>\nrunlevel 2<br \/>\nrunlevel 3<br \/>\nrunlevel 4<br \/>\nrunlevel 5<br \/>\nrunlevel 6<\/p>\n<p>and the default runlevel would be defined in \/etc\/inittab file.<br \/>\n\/etc\/inittab<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Host Name Change&quot;]\">Host Name Change<\/td>\n<td data-sheets-value=\"[null,2,&quot;In Red Hat Enterprise Linux 7, as part of the move to the new init system (systemd), the hostname variable is defined in \/etc\/hostname.&quot;]\">In Red Hat Enterprise Linux 7, as part of the move to the new init system (systemd), the hostname variable is defined in \/etc\/hostname.<\/td>\n<td data-sheets-value=\"[null,2,&quot;In Red Hat Enterprise Linux 6, the hostname variable was defined in the \/etc\/sysconfig\/network configuration file.&quot;]\">In Red Hat Enterprise Linux 6, the hostname variable was defined in the \/etc\/sysconfig\/network configuration file.<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Change In UID Allocation&quot;]\">Change In UID Allocation<\/td>\n<td data-sheets-value=\"[null,2,&quot;By default any new users created would get UIDs assigned starting from 1000.\\n\\nThis could be changed in \/etc\/login.defs if required.&quot;]\">By default any new users created would get UIDs assigned starting from 1000.<\/p>\n<p>This could be changed in \/etc\/login.defs if required.<\/td>\n<td data-sheets-value=\"[null,2,&quot;Default UID assigned to users would start from 500.\\n\\n\\nThis could be changed in \/etc\/login.defs if required.&quot;]\">Default UID assigned to users would start from 500.<\/p>\n<p>This could be changed in \/etc\/login.defs if required.<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Max Supported File Size&quot;]\">Max Supported File Size<\/td>\n<td data-sheets-value=\"[null,2,&quot;Maximum (individual) file size = 500TB \\nMaximum filesystem size = 500TB \\n\\n(This maximum file size is only on 64-bit machines. Red Hat Enterprise Linux does not support XFS on 32-bit machines.)&quot;]\">Maximum (individual) file size = 500TB<br \/>\nMaximum filesystem size = 500TB<\/p>\n<p>(This maximum file size is only on 64-bit machines. Red Hat Enterprise Linux does not support XFS on 32-bit machines.)<\/td>\n<td data-sheets-value=\"[null,2,&quot;Maximum (individual) file size = 16TB \\nMaximum filesystem size = 16TB \\n\\n(This maximum file size is based on a 64-bit machine. On a 32-bit machine, the maximum files size is 8TB.)&quot;]\">Maximum (individual) file size = 16TB<br \/>\nMaximum filesystem size = 16TB<\/p>\n<p>(This maximum file size is based on a 64-bit machine. On a 32-bit machine, the maximum files size is 8TB.)<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;File System Check&quot;]\">File System Check<\/td>\n<td data-sheets-value=\"[null,2,&quot; \\&quot;xfs_repair\\&quot; \\n\\nXFS does not run a file system check at boot time.\\n&quot;]\">&#8220;xfs_repair&#8221;<\/p>\n<p>XFS does not run a file system check at boot time.<\/td>\n<td data-sheets-value=\"[null,2,&quot;\\&quot;e2fsck\\&quot; \\n\\nFile system check would gets executed at boot time.&quot;]\">&#8220;e2fsck&#8221;<\/p>\n<p>File system check would gets executed at boot time.<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Differences Between xfs_repair &amp; e2fsck&quot;]\">Differences Between xfs_repair &amp; e2fsck<\/td>\n<td data-sheets-value=\"[null,2,&quot;                \\n                     \\&quot;xfs_repair\\&quot;\\n\\n- Inode and inode blockmap (addressing) checks.\\n- Inode allocation map checks.\\n- Inode size checks.\\n- Directory checks.\\n- Pathname checks.\\n- Link count checks.\\n- Freemap checks.\\n- Super block checks.\\n&quot;]\">\n&#8220;xfs_repair&#8221;<\/p>\n<p>&#8211; Inode and inode blockmap (addressing) checks.<br \/>\n&#8211; Inode allocation map checks.<br \/>\n&#8211; Inode size checks.<br \/>\n&#8211; Directory checks.<br \/>\n&#8211; Pathname checks.<br \/>\n&#8211; Link count checks.<br \/>\n&#8211; Freemap checks.<br \/>\n&#8211; Super block checks.<\/td>\n<td data-sheets-value=\"[null,2,&quot;                       \\n                          \\&quot;e2fsck\\&quot;\\n\\n- Inode, block, and size checks.\\n\\n- Directory structure checks.\\n\\n- Directory connectivity checks.\\n\\n- Reference count checks.\\n\\n- Group summary info checks.&quot;]\">\n&#8220;e2fsck&#8221;<\/p>\n<p>&#8211; Inode, block, and size checks.<\/p>\n<p>&#8211; Directory structure checks.<\/p>\n<p>&#8211; Directory connectivity checks.<\/p>\n<p>&#8211; Reference count checks.<\/p>\n<p>&#8211; Group summary info checks.<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Difference Between xfs_growfs &amp; resize2fs&quot;]\">Difference Between xfs_growfs &amp; resize2fs<\/td>\n<td data-sheets-value=\"[null,2,&quot;                   \\&quot;xfs_growfs\\&quot;\\n\\nxfs_growfs takes mount point as arguments.&quot;]\">&#8220;xfs_growfs&#8221;<\/p>\n<p>xfs_growfs takes mount point as arguments.<\/td>\n<td data-sheets-value=\"[null,2,&quot;                           \\&quot;resize2fs\\&quot;\\n\\nresize2fs takes logical volume name as arguments.&quot;]\">&#8220;resize2fs&#8221;<\/p>\n<p>resize2fs takes logical volume name as arguments.<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Change In File System Structure&quot;]\">Change In File System Structure<\/td>\n<td data-sheets-value=\"[null,2,&quot;\/bin, \/sbin, \/lib, and \/lib64 are now nested under \/usr.&quot;]\">\/bin, \/sbin, \/lib, and \/lib64 are now nested under \/usr.<\/td>\n<td data-sheets-value=\"[null,2,&quot;\/bin, \/sbin, \/lib, and \/lib64 are usually under \/&quot;]\">\/bin, \/sbin, \/lib, and \/lib64 are usually under \/<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Boot Loader&quot;]\">Boot Loader<\/td>\n<td data-sheets-value=\"[null,2,&quot;GRUB 2\\nSupports GPT, additional firmware types, including BIOS, EFI and OpenFirmwar. Ability to boot on various file systems (xfs, ext4, ntfs, hfs+, raid, etc)&quot;]\">GRUB 2<br \/>\nSupports GPT, additional firmware types, including BIOS, EFI and OpenFirmwar. Ability to boot on various file systems (xfs, ext4, ntfs, hfs+, raid, etc)<\/td>\n<td data-sheets-value=\"[null,2,&quot;GRUB 0.97&quot;]\">GRUB 0.97<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;KDUMP&quot;]\">KDUMP<\/td>\n<td data-sheets-value=\"[null,2,&quot;RHEL7 supports kdump on large memory based systems up to 3 TB&quot;]\">RHEL7 supports kdump on large memory based systems up to 3 TB<\/td>\n<td data-sheets-value=\"[null,2,&quot;Kdump doesn\\u2019t work properly with large RAM based systems.&quot;]\">Kdump doesn\u2019t work properly with large RAM based systems.<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;System &amp; Service Manager&quot;]\">System &amp; Service Manager<\/td>\n<td data-sheets-value=\"[null,2,&quot;\\&quot;Systemd\\&quot;\\n\\nsystemd is a system and service manager for Linux, and replaces SysV and Upstart used in previous releases of Red Hat Enterprise Linux. systemd is compatible with SysV and Linux Standard Base init scripts.&quot;]\">&#8220;Systemd&#8221;<\/p>\n<p>systemd is a system and service manager for Linux, and replaces SysV and Upstart used in previous releases of Red Hat Enterprise Linux. systemd is compatible with SysV and Linux Standard Base init scripts.<\/td>\n<td data-sheets-value=\"[null,2,&quot;Upstart&quot;]\">Upstart<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Enable\/Start Service&quot;]\">Enable\/Start Service<\/td>\n<td data-sheets-value=\"[null,2,&quot;For RHEL 7, the systemctl command replaces service and chkconfig.\\n\\n- Start Service : \\&quot;systemctl start nfs-server.service\\&quot;.\\n\\n- Enable Service : To enable the service (example: nfs service ) to start automatically on boot : \\&quot;systemctl enable nfs-server.service\\&quot;.\\n\\nAlthough one can still use the service and chkconfig commands to start\/stop and enable\/disable services, respectively, they \\nare not 100% compatible with the RHEL 7 systemctl command (according to redhat). &quot;]\">For RHEL 7, the systemctl command replaces service and chkconfig.<\/p>\n<p>&#8211; Start Service : &#8220;systemctl start nfs-server.service&#8221;.<\/p>\n<p>&#8211; Enable Service : To enable the service (example: nfs service ) to start automatically on boot : &#8220;systemctl enable nfs-server.service&#8221;.<\/p>\n<p>Although one can still use the service and chkconfig commands to start\/stop and enable\/disable services, respectively, they<br \/>\nare not 100% compatible with the RHEL 7 systemctl command (according to redhat).<\/td>\n<td data-sheets-value=\"[null,2,&quot;Using \\&quot;service\\&quot; command and \\&quot;chkconfig\\&quot; commands.\\n\\n- Start Service : \\&quot;service start nfs\\&quot; OR \\&quot;\/etc\/init.d\/nfs start\\&quot;\\n\\n- Enable Service : To start with specific runlevel : \\&quot;chkconfig --level 3 5 nfs on\\&quot;\\n&quot;]\">Using &#8220;service&#8221; command and &#8220;chkconfig&#8221; commands.<\/p>\n<p>&#8211; Start Service : &#8220;service start nfs&#8221; OR &#8220;\/etc\/init.d\/nfs start&#8221;<\/p>\n<p>&#8211; Enable Service : To start with specific runlevel : &#8220;chkconfig &#8211;level 3 5 nfs on&#8221;<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Default Firewall&quot;]\">Default Firewall<\/td>\n<td data-sheets-value=\"[null,2,&quot;\\&quot;Firewalld (Dynamic Firewall)\\&quot;\\n\\nThe built-in configuration is located under the \/usr\/lib\/firewalld directory. The configuration that you can customize is under the \/etc\/firewalld directory. It is not possible to use Firewalld and Iptables at the same time. But it is still possible to disable Firewalld and use Iptables as before.&quot;]\">&#8220;Firewalld (Dynamic Firewall)&#8221;<\/p>\n<p>The built-in configuration is located under the \/usr\/lib\/firewalld directory. The configuration that you can customize is under the \/etc\/firewalld directory. It is not possible to use Firewalld and Iptables at the same time. But it is still possible to disable Firewalld and use Iptables as before.<\/td>\n<td data-sheets-value=\"[null,2,&quot;Iptables&quot;]\">Iptables<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Network Bonding&quot;]\">Network Bonding<\/td>\n<td data-sheets-value=\"[null,2,&quot;                    \\&quot;Team Driver\\&quot;\\n\\n-\/etc\/sysconfig\/network-scripts\/ifcfg-team0\\n- DEVICE=\\u201dteam0\\u201d\\n- DEVICETYPE=\\u201dTeam\\u201d        &quot;]\">&#8220;Team Driver&#8221;<\/p>\n<p>-\/etc\/sysconfig\/network-scripts\/ifcfg-team0<br \/>\n&#8211; DEVICE=\u201dteam0\u201d<br \/>\n&#8211; DEVICETYPE=\u201dTeam\u201d<\/td>\n<td data-sheets-value=\"[null,2,&quot;                                \\&quot;Bonding\\&quot;\\n\\n-\/etc\/sysconfig\/network-scripts\/ifcfg-bond0\\n- DEVICE=\\u201dbond0\\u201d&quot;]\">&#8220;Bonding&#8221;<\/p>\n<p>-\/etc\/sysconfig\/network-scripts\/ifcfg-bond0<br \/>\n&#8211; DEVICE=\u201dbond0\u201d<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Network Time Synchronization&quot;]\">Network Time Synchronization<\/td>\n<td data-sheets-value=\"[null,2,&quot;Using Chrony suite (faster time sync compared with ntpd)&quot;]\">Using Chrony suite (faster time sync compared with ntpd)<\/td>\n<td data-sheets-value=\"[null,2,&quot;Using ntpd&quot;]\">Using ntpd<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;NFS&quot;]\">NFS<\/td>\n<td data-sheets-value=\"[null,2,&quot;NFS4.1\\nNFSv2 is no longer supported. Red Hat Enterprise Linux 7 supports NFSv3, NFSv4.0, and NVSv4.1 clients.&quot;]\">NFS4.1<br \/>\nNFSv2 is no longer supported. Red Hat Enterprise Linux 7 supports NFSv3, NFSv4.0, and NVSv4.1 clients.<\/td>\n<td data-sheets-value=\"[null,2,&quot;NFS4&quot;]\">NFS4<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Cluster Resource Manager&quot;]\">Cluster Resource Manager<\/td>\n<td data-sheets-value=\"[null,2,&quot;Pacemaker&quot;]\">Pacemaker<\/td>\n<td data-sheets-value=\"[null,2,&quot;Rgmanager&quot;]\">Rgmanager<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Load Balancer Technology&quot;]\">Load Balancer Technology<\/td>\n<td data-sheets-value=\"[null,2,&quot;Keepalived and HAProxy&quot;]\">Keepalived and HAProxy<\/td>\n<td data-sheets-value=\"[null,2,&quot;Piranha&quot;]\">Piranha<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Desktop\/GUI Interface&quot;]\">Desktop\/GUI Interface<\/td>\n<td data-sheets-value=\"[null,2,&quot;GNOME3 and KDE 4.10&quot;]\">GNOME3 and KDE 4.10<\/td>\n<td data-sheets-value=\"[null,2,&quot;GNOME2&quot;]\">GNOME2<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Default Database&quot;]\">Default Database<\/td>\n<td data-sheets-value=\"[null,2,&quot;MariaDB is the default implementation of MySQL in Red Hat Enterprise Linux 7&quot;]\">MariaDB is the default implementation of MySQL in Red Hat Enterprise Linux 7<\/td>\n<td data-sheets-value=\"[null,2,&quot;MySQL&quot;]\">MySQL<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"[null,2,&quot;Managing Temporary Files\\n&quot;]\">Managing Temporary Files<\/td>\n<td data-sheets-value=\"[null,2,&quot;RHEL 7 uses systemd-tmpfiles (more structured, and configurable, method to manage tmp files and directories.&quot;]\">RHEL 7 uses systemd-tmpfiles (more structured, and configurable, method to manage tmp files and directories).<\/td>\n<td data-sheets-value=\"[null,2,&quot;Using \\&quot;tmpwatch\\&quot;\\n&quot;]\">Using &#8220;tmpwatch&#8221;<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"1\" data-sheets-value=\"[null,2,&quot;\\nReferences :-\\n\\nWhat are the file and file system size limitations for Red Hat Enterprise Linux?\\n\\nAll About RHEL 7\\n\\nRed Hat Enterprise Linux technology capabilities and limits\\n\\nRHEL 7 Videos\\n&quot;]\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p> Features RHEL 7 RHEL 6 Default File System XFS EXT4 Kernel Version 3.10.x-x kernel 2.6.x-x Kernel Kernel Code Name Maipo Santiago General Availability Date of First Major Release 2014-06-09 (Kernel Version 3.10.0-123) 2010-11-09 (Kernel Version 2.6.32-71) First Process systemd (process ID 1) init (process ID 1) Runlevel runlevels are called as &#8220;targets&#8221; as shown [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6147"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6147"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6147\/revisions"}],"predecessor-version":[{"id":6148,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6147\/revisions\/6148"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}