Introduction

This tutorial covers How to Configure LVM on SLES 16 on SLES 16. SLES 16 (SUSE Linux Enterprise Server 16) is SUSE’s enterprise-grade Linux distribution. It uses the zypper package manager, AppArmor for mandatory access control, and systemctl for service management.

Step 1 — Install LVM

zypper install -y lvm2

Step 2 — Create Physical Volume

pvcreate /dev/sdb

Step 3 — Create Volume Group

vgcreate vg_data /dev/sdb

Step 4 — Create Logical Volume

lvcreate -L 20G -n lv_data vg_data

AppArmor Considerations

Note: SLES 16 uses AppArmor for mandatory access control. Check AppArmor status with aa-status and enforce profiles with aa-enforce /etc/apparmor.d/<profile>.

Conclusion

You have successfully completed: How to Configure LVM on SLES 16. For more SLES 16 tutorials, see our full SLES 16 series.