• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Create/Format/Extend Virtual Data Optimizer(VDO) Volumes using Cockpit Web Console in CentOS/RHEL 8

by admin

This post describes the Virtual Data Optimizer (VDO) configuration using the Cockpit web console.

Create VDO volumes

1. Log in to the OL 8 cockpit web console.

2. Click Storage.

3. Click the + icon in the VDO Devices box.

VDO devices

4. In the Name field, enter a name of a VDO volume without spaces.

5. Select the drive.

6. In the Logical Size bar, set up the size of the VDO volume.

7. In the Index Memory bar, allocate memory for the VDO volume.

8. Select the Compression option. This option can efficiently reduce various file formats.

9. Select the Deduplication option. This option reduces the consumption of storage resources by eliminating multiple copies of duplicate blocks.

10. [Optional] To use the VDO volume with applications that need a 512 bytes block size, select Use 512 Byte emulation.

11. Click Create.

create VDO device using cockpit

If the process of creating the VDO volume succeeds, the new VDO volume can be seen in the Storage section and format it with a file system.

Storage section cockpit

Format VDO volumes

1. Click on the new VDO volume.

2. Click on the Unrecognized Data tab.

3. Click Format.

format VDO volume using cockpit

4. In the Erase drop down menu, select:

Don’t overwrite existing data
The OL web console rewrites only the disk header. The advantage of this option is the speed of formatting.

Overwrite existing data with zeros
The OL web console rewrites the whole disk with zeros. This option is slower because the program has to go through the whole disk. Use this option if the disk includes any data that needs to be rewritten.

5. In the Type drop-down menu, select a filesystem:

The XFS file system supports large logical volumes, switching physical drives online without an outage, and growing. Leave this file system selected if there is no strong preference. XFS does not support shrinking volumes. Therefore, it will not be possible to reduce the volume formatted with XFS. The ext4 file system supports logical volumes, switching physical drives online without an outage, growing, and shrinking. It is also possible to select a version with the LUKS (Linux Unified Key Setup) encryption, which allows encryption of the volume with a passphrase.

6. In the Name field, enter the logical volume name.

7. In the Mounting drop-down menu, select Custom. The Default option does not ensure that the file system will be mounted on the next boot.

8. In the Mount Point field, add the mount path.

9. Select Mount at boot.

select mount at boot VDO cockpit

10. Click Format. Formatting can take several minutes depending on the used formatting options and the volume size. After a successful finish, the details of the formatted VDO volume can be seen in the Filesystem tab.

view formatted VDO volume

11. To use the VDO volume, click Mount. At this point, the system uses the mounted and formatted VDO volume.

Extend VDO volumes

1. Click VDO volume in the VDO Devices box.

extend VDO volumes using cockpit

2. In the VDO volume details, click the Grow button.

3. In the Grow logical size of VDO dialog box, extend the logical size of the VDO volume.

grow logical size of VDO volume using cockpit

4. Click Grow.

grow VDO volume in CentOS RHEL 8 using cockpit

If the process of growing VDO succeeds, the new size can be seen in the VDO volume details.

Filed Under: CentOS/RHEL, CentOS/RHEL 8, Linux

Some more articles you might also be interested in …

  1. wget V/s curl
  2. “az config” Command Examples (Manage Azure CLI configuration)
  3. ncview: command not found
  4. How to merge 2 volume groups (VGs) into one using vgmerge in LVM
  5. How to Configure a Fiber-Channel Over Ethernet (FCoE) Interface in CentOS/RHEL
  6. How to Disable or set SELinux to Permissive mode
  7. dpkg-reconfigure Command Options
  8. How to install git on ubuntu 16.04
  9. Understanding How Umask Controls the Initial File / Directory Permissions in Linux
  10. nmcli radio Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • ctags: Generates an index (or tag) file of language objects found in source files for many popular programming languages
  • csvtool: Utility to filter and extract data from CSV formatted sources
  • csvstat: Print descriptive statistics for all columns in a CSV file
  • csvsql: Generate SQL statements for a CSV file or execute those statements directly on a database

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright