1 / 16

Chapter 1

Chapter 1. Managing Storage. Contents. Understanding Partitioning Understanding LVM Understanding RAID Understanding Clustering and GFS Using Access Control Lists Using Disk Quotas. Understanding Partitioning.

adara
Download Presentation

Chapter 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 1 Managing Storage

  2. Contents • Understanding Partitioning • Understanding LVM • Understanding RAID • Understanding Clustering and GFS • Using Access Control Lists • Using Disk Quotas

  3. Understanding Partitioning • LVM and RAID offer benefits such as resizing, striping, and combining multiple hard drives into logical physical devices. • Feature of partition: • The partitions are created before the LVM or RAID layer is implemented. • A partition can be created from free space on a hard drive. • There are two partitioning utilities in Red Hat Enterprise Linux: parted and fdisk. • Partition can contain file system and label. • Partition can be mounted after file system created. • Partition can be resize or remove.

  4. Command for Manipulating Partition

  5. Partition Table from parted for Standard Partitions

  6. Understanding LVM • Logical Volume Manager(LVM): is a storage management solution that allows administrators to divide hard drive space into physical volumes (PV), which can then be combined into logical volume groups (VG), which are then divided into logical volumes (LV) on which the filesystem and mount point are created. • Feature of LVM: • logical volume group can include more than one physical volume, a mount point can include more than one physical hard drive. • LVM is used by default during installation for all mount points except the /boot partition, which cannot exist on a logical volume.

  7. How Logical Volume Manager Works

  8. LVM Tools

  9. The basic steps for increasing the size of a logical volume • Create new physical volume from free disk space. • Add physical volume to the logical volume group. • Expand the size of the logical volume to include the newly added disk space in the volume group. • Expand the filesystem on the logical volume to include the new space.

  10. Step to add a logical volume • Create new physical volume from free disk space. • Add physical volume to the logical volume group. • Create a logical volume with the new space in volume group. • Create a filesystem on the logical volume. • Create a mount point. • Mount the logical volume. • Test the filesystem. • Add the new mount point to /etc/fstab.

  11. Understanding RAID • RAID (Redundant Array of Independent Disks): allows an administrator to form an array of several hard drives into one logical drive recognized as one drive by the operating system. • Type of RAID: • Hardware RAID: is implemented through the disk controller for the system. • Software RAID: is implemented through the operating system and does use some processor and memory resources, although some software RAID implementations can produce faster disk access times than hardware RAID. • The Level of RAID: • RAID level 0, or striping: means that data is written across all hard drives in the array to accomplish the fast disk performance(No redundancy). • RAID level 1, or mirroring: means that all data is written to each disk in the array, accomplishing redundancy. • RAID level 5: combines striping and parity. Data is written across all disks as in RAID 0, but parity data is also written to one of the disks. • RAID level 6: is RAID level 5 with dual parity. Data is written across all disks as in RAID 5, but two sets of parity data is calculated.

  12. Command for Managing RAID

  13. Using Access Control Lists • ACLs allow for permissions to be set for any user, any user group, and the group of all users not in the group for the user. • To use ACLs, they must be enabled when an ext3 filesystem is mounted. • The categories of ACLs per file: • for an individual user • for a user group • via the effective rights mask • and for users not in the user group associated with the file. • To view the existing ACLs for a file getfacl <file>

  14. Command for Setting and Modifying ACLs

  15. Using Disk Quotas • Disk quotas is used to limiting disk space for user or group of user. • To use quotas, they must be enabled in /etc/fstab, which is read at boot time to mount filesystems. /dev/VolGroup00/LogVol01 /home ext3 usrquota,grpquota 1 2 Or using mount command mount -o remount,acl,usrquota,grpquota,rw<mountpoint>

  16. Command for Managing DiskQuota

More Related