Skip to content

Commit

Permalink
Merge pull request #429 from bgraef/main
Browse files Browse the repository at this point in the history
update acl and mdadm posts
  • Loading branch information
bgraef authored Sep 8, 2024
2 parents a80e13d + f534027 commit 71135d4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
19 changes: 10 additions & 9 deletions content/posts/ol/storage/post-22/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,24 @@ showDate: true

A Redundant Array of Independent Disks or RAID device is a virtual device created from two or more real block devices. This functionality allows multiple devices (typically disk drives or partitions of a disk) to be combined into a single device to hold a single filesystem. Some RAID levels include redundancy, allowing the filesystem to survive some degree of device failure.

The Oracle Linux kernel uses the Multiple Device (MD) driver to support Linux software RAID and enable you to organize disk drives into RAID devices and implement different RAID levels.
The Oracle Linux kernel uses the Multiple Device (MD) driver to support Linux software RAID. This driver enables you to organize disk drives into RAID devices and implement different RAID levels.

For more information on these different RAID levels, see the [Oracle documentation](https://docs.oracle.com/en/operating-systems/oracle-linux/8/stordev/stordev-WorkingWithSoftwareRAID.html?xd_co_f=NjUzNDIzODAtMTcwNy00YzFlLTgxMDItNTM2YjIwZjBkMmQ0#about-raid) .
For more information on these different RAID levels, see the [Oracle documentation](https://docs.oracle.com/en/operating-systems/oracle-linux/8/stordev/stordev-WorkingWithSoftwareRAID.html#about-raid).

This tutorial will work with the MD utility (`mdadm`) to create a RAID1 device with a spare and then address a disk failure
This tutorial will work with the MD utility (`mdadm`) to create a RAID1 device with a spare and then address a disk failure.

### Objectives

In this tutorial, you will learn how to:

- Create a RAID1 device with a spare
- Recover a failed RAID1 device
- Create a RAID1 device with a spare
- Recover a failed RAID1 device

### Prerequisites

The tutorial uses the following system:
- Minimum of a single Oracle Linux system

- Any Oracle Linux 8 system with the following configurations:
- a non-root user with sudo permissions
- additional block volumes for use with Linux Software RAID
- Each system should have Oracle Linux installed and configured with:
- A non-root user account with sudo access
- Access to the Internet
- Two or more block devices attached to the system
17 changes: 10 additions & 7 deletions content/posts/ol/storage/post-25/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ showDate: true

Access Control Lists (ACLs) provide access control to directories and files. ACLs can set read, write, and execute permissions for the owner, group, and all other system users.

An ACL consists of a set of rules that specify how a specific user or group can access ACL enabled files and directories. A regular ACL entry specifies access information for a single file or directory. A default ACL entry is set on directories only, and specifies the default access information for any file within the directory that does not have an access ACL.
An ACL consists of a set of rules that specify how a specific user or group can access ACL-enabled files and directories. A regular ACL entry specifies access information for a single file or directory. A default ACL entry is set on directories only and specifies the default access information for any file within the directory that does not have an access ACL.

When setting a default ACL on a directory, its subdirectories inherit the same rights automatically. ACLs can be used with the `btrfs`, `ext3`, `ext4`, `OCFS2`, and `XFS` file systems, as well as mounted NFS file systems.
When setting a default ACL on a directory, its subdirectories inherit the same rights automatically. You can use ACLs with the `btrfs`, `ext3`, `ext4`, `OCFS2`, and `XFS` file systems, as well as mounted NFS file systems.

### Objectives

In this tutorial, you will learn how to:
In this tutorial, you'll learn how to:

- Check file system ACL support
- Use `setfacl` and `getfacl` commands to add and display ACL rules
- Check file system ACL support
- Use `setfacl` and `getfacl` commands to add and display ACL rules

### Prerequisites

The tutorial uses the following system:
- Minimum of one Oracle Linux system

- A system with an available disk and a fully patched installation of Oracle Linux.
- Each system should have Oracle Linux installed and configured with:
- A non-root user account with sudo access
- Access to the Internet
- An additional block device

0 comments on commit 71135d4

Please sign in to comment.