PDF Google Drive Downloader v1.1


Báo lỗi sự cố

Nội dung text Chapter 8 - Implementing advanced storage features - Summary.pdf

SA2-CHAPTER8-IMPLEMENTING ADVANCED STORAGE FEATURES Managing layered storage with stratis ➢ A new generation of storage management solutions appeared in recent years, referred to as volume-managing file systems, that dynamically and transparently manage the volume layer as file systems are created and sized. ➢ With RHEL8, RedHat introduces the stratis storage management solution ➢ Stratis works with existing RHEL storage components. ➢ Stratis runs as a service that manages pools of physical storage devices and transparently creates and manage volumes for the file systems being created. ➢ In a volume-managed file system, file systems are built inside shared pools of disk devices using a concept known as thin provisioning. ➢ Stratis file systems do not have fixed sizes. ➢ Stratis uses stored metadata to recognize managed pools, volumes, and file systems.Therefore, file systems created by stratis should never be reformatted or reconfigured manually. ➢ You can create multiple pools with different sets of block devices. ➢ From each pool, you can create one or more file systems. Managing Thin-provisioned file systems ➢ To manage the thin-provisioned file systems using the stratis storage management solution, install the ‘stratis-cli’ and ‘stratisd’ packages. #yum install -y stratis-cli stratisd →install packages #systemctl enable --now stratisd →start and enable service
#stratis pool create →create pool #stratis pool list →view the list of pools #stratis pool add-data →add additional blockdevice to pool #stratis blockdev list →to view the block devices of a pool #startis filesystem create →create flexible filesystem from a pool #stratis filesystem snapshot →create snapshots of filesystem #stratis filesystem list →to view the list of available file systems #lsblk --output=UUID /stratis// →displays UUID of filesystem #mkdir dir1 →create directory for mounting #vim /etc/fstab →persistent mounting UUID= /dir1 xfs defaults,x- systemd.requires=stratisd.service 0 0
#mount -a →to mount the configuration in file Compressing and deduplicating storage with VDO ➢ RHEL8 includes the VDO driver, which optimizes the data footprint on block devices. ➢ VDO is a Linux device mapper driver that reduces disk space usage on block devices, and minimizing the replication of data, saving disk space and even increasing data throughput. ➢ VDO includes two kernel modules:the ‘kvdo’ module to transparently control data compression, and the ‘uds’ module for deduplication. Implementing VDO ➢ The logical devices that you create using VDO are called VDO volumes. ➢ VDO volumes sre similar to disk partitions ➢ You can format the volumes with the desired file-system type and mount it like a regular file system. #yum install vdo kmod-kvdo →install packages #vdo create --name= --device= -- vdoLogicalSize=50G →creating VDO volume #vdo status --name= →Analyzing a VDO volume #vdo status -name= | grep Deduplication →verify the volume has deduplication feature enabled
#vdo status -name= | grep Compression →verify the volume has compression feature enabled #mkfs.xfs -K /dev/mapper/ →formatting #udevadm settle →register the new device node #mkdir /mnt/vdo1 →create directory for mounting #vim /etc/fstab →persistent mounting /dev/mapper/ /dir1 xfs defaults,_netdev,x- systemd.requires=vdo.service 0 0 #mount -a →to mount the configuration in file

Tài liệu liên quan

x
Báo cáo lỗi download
Nội dung báo cáo



Chất lượng file Download bị lỗi:
Họ tên:
Email:
Bình luận
Trong quá trình tải gặp lỗi, sự cố,.. hoặc có thắc mắc gì vui lòng để lại bình luận dưới đây. Xin cảm ơn.