Oracle RAC - fstab
Oracle RAC Solution · Config document · referenced from Storage and ASM disks
The file system table of a node. The system volumes are as the operating system installation left them; the only addition is the last line, the local volume /data that holds the Oracle software.
| Item | Value |
|---|---|
| Path | /etc/fstab |
| On | oradb01 and oradb02; the notes show the file once, without naming the node |
| Shown here | the whole file |
| Activated with | mkdir -p /data and mount -a, as root |
| Operating system | SUSE Linux Enterprise Server 11 SP3 |
The file
/dev/SYSTEM/swap1 swap swap defaults 0 0 /dev/SYSTEM/root / ext3 acl,user_xattr 1 1 /dev/disk/by-id/scsi-360022480000000000000000000000001-part1 /boot ext3 acl,user_xattr 1 2 /dev/SYSTEM/home /home ext3 nosuid,nodev,noexec,acl,user_xattr 1 2 /dev/SYSTEM/tmp /tmp ext3 nosuid,nodev,acl,user_xattr 1 2 /dev/SYSTEM/usr /usr ext3 nodev,acl,user_xattr 1 2 /dev/SYSTEM/var /var ext3 nodev,acl,user_xattr 1 2 /dev/SYSTEM/varlog /var/log ext3 nosuid,nodev,noexec,acl,user_xattr 1 2 /dev/SYSTEM/varlogaudit /var/log/audit ext3 nosuid,nodev,noexec,acl,user_xattr 1 2 /dev/SYSTEM/vartmp /var/tmp ext3 nosuid,nodev,noexec,acl,user_xattr 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 # Oracle Install Destination /dev/mapper/DATA-data /data ext3 nodev,acl,user_xattr 0 0
| Line | Meaning |
|---|---|
/dev/SYSTEM/… | the system volume group SYSTEM with separate volumes for /, /home, /tmp, /usr, /var, /var/log, /var/log/audit, /var/tmp and swap, all ext3 |
/dev/disk/by-id/scsi-…-part1 | /boot, the only file system outside LVM; the identifier is a made-up value of the right shape |
nosuid,nodev,noexec | hardening options on /home, /var/log, /var/log/audit and /var/tmp; /tmp has nosuid,nodev without noexec |
/dev/mapper/DATA-data on /data | the logical volume data in the volume group DATA, 99 GB, ext3 |
nodev,acl,user_xattr on /data | no nosuid and no noexec: the Oracle homes hold executables, some of them setuid |
0 0 on /data | not dumped and not checked by fsck at boot, unlike the system volumes with 1 2 |
The volume behind the last line is created with pvcreate, vgcreate, lvcreate and mkfs.ext3 in Storage and ASM disks. The shared ASM disks do not appear in this file: they carry no file system and are never mounted. The volume group DATA here is local LVM and has nothing to do with the ASM disk group of the same name.
Checked against SLES 15 SP7 and SLES 16.0
| As built | Today |
|---|---|
| ext3 on every volume | Still usable. The separate ext3 driver was removed in Linux 4.3 and the ext4 driver serves ext3 file systems; mkfs.ext3 still exists. On SLES 15 SP7 Btrfs is the default for the operating system and XFS for everything else, and the ext family remains supported, as it does on SLES 16 |
acl,user_xattr | Both are on by default in the ext4 driver, so the options are redundant |
| SLES 11 SP3 | General support ended on 31 January 2016, long-term support on 30 January 2019 |
The /data line would work unchanged on a current system.