Tag Archives: file system

Changes in Oracle Linux 7

The following is a list of changes I noted during installation of Oracle Linux 7. I imagine the same will apply to Red Hat Enterprise Linux 7, but I haven’t verified that to be the case.

Setting the Hostname

I was accustomed to updating /etc/sysconfig/network with the hostname of my machine as documented here for Oracle Linux 7. I did this and was then surprised to find that my hostname was not picked up. On returning to the documentation the following seemed worth looking into:

For more information, see /usr/share/doc/initscripts*/sysconfig.txt.

I’d never looked at this file in the past, so found the information very interesting. If you’ve never looked either I suggest you do… Anyway, the key text is:

obsoleted values from earlier releases:
.
.
.
  HOSTNAME=<fqdn by default, but whatever hostname you want>
    This is now configured in /etc/hostname.

If you were following closely you’ll have noticed that the Oracle Linux 7 documentation includes an example for /etc/sysconfig/network that is not applicable to Oracle Linux 7 🙂

File System Options

Mention of XFS as the default file system is something that had caught my eye before I’d even downloaded the ISO. During my first installation of Oracle Linux 7 I did what I have previously recommended to others: select “I will configure partitioning” (only it was labelled differently in earlier versions). I was very interested to see the “New mount points will use the following partition scheme” drop-down. The options are listed below along with what they translated to on my single disk VM:

  • Standard Partition: Creates 3 partitions and uses XFS as the file system for both /boot (partition 1) and / (partition 3). Partition 2 is used for swap.
  • BTRFS: Creates 3 partitions and uses XFS as the file system for /boot (partition 1). BTRFS is used for /home and /, both of which are subvolumes created from a volume (partition 3). Partition 2 is used for swap.
  • LVM: Creates 2 partitions and uses XFS as the file system for /boot (partition 1). Partition 2 is used as a LVM physical volume, which is split into logical volumes for swap and /. XFS is the file system on /.
  • LVM Thin Provisioning[1]: As for LVM, but creates an LVM “thin pool” from which the logical volume for / is created.

Text Installer

The text installer is still available in Oracle Linux 7, but a significant change is that attempting to install on a machine with less than 1G RAM will no longer force the (reduced functionality) text installer.

Footnotes

1 – I completely missed the introduction of LVM thin provisioning in 6.4 – I couldn’t find any mention of it in the Oracle Linux 6 documentation, but it is covered here for Red Hat 6.4