This section describes how to initialize a disk for EVMS management by adding a segment management container to manage the partitions that you later add to the disk.
In EVMS, you initialize a disk by assigning a segment manager to it. The segment manager creates metadata for the disk and exposes its free space so you can subdivide it into one or multiple segments (also called partitions).
The most commonly used segment manager is the DOS Segment Manager. The following table describes the segment managers available in EVMS.
Table 4.1. EVMS Segment Managers¶
After you initialize the disk by adding a segment manager, you see metadata and free space segments on the disk. You can then create one or multiple data segments in a disk segment.
Table 4.2. Disk Segment Types¶
You must initialize new disks and disks that you want to reformat. After the disk is initialized, you can subdivide, or carve, the device into one or more disk segments for your file systems.
If you use large disks or disk arrays, use the vendor’s tools to carve them into the sizes that are usable for the management tools you plan to use. For example, the md driver recognizes disks only up to 2 TB in size, so the limit also applies to the md plug-in for EVMS. Software RAID devices you create with EVMS can be larger than 2 TB, of course, because the md driver plug-in manages the disks underneath that storage structure.
When you boot the server, EVMS scans and recognizes all devices it manages. If you add a new device to the server or create a device using mkfs, EVMS automatically mounts it on reboot under /dev/evms
as a compatibility volume, such as /dev/evms/sdb
.
![]() | |
If you cannot find a new disk, device, or volume, look under |
Consider the following guidelines when initializing a disk:
EVMS might allow you to create segments without first adding a segment manager for the disk, but it is best to explicitly add a segment manager to avoid problems later.
![]() | |
You must add a Cluster segment manager if you plan to use the devices for volumes that you want to share as cluster resources. |
When you initialize an existing disk that is already formatted, the process of adding a segment manager destroys all data on the disk. If you want to keep the data on the disk, make sure to back up the data before you begin this process.
For existing disks on the system or disks that you move from another system, you must delete any existing volume management structures, and remove any segment managers. This removes the device’s metadata and data, and destroys all data on the disk.
![]() | |
Do not initialize the device that contains your current system disk or any device that contains the |
If a new disk does not show up in the list of sdb
would show up as /dev/evms/sdb
. Delete it from the Volumes list to force the disk to show up in , then create segments as desired.
Use the following procedure to assign a segment manager to device for servers using x86, x64, and IA64 controllers. This option is not available for S390 platforms, so simply continue with configuring software RAIDs or file system partitions, as desired.
![]() | |
Adding a segment manager initializes the disk, completely removing all the segments it contains. All the data stored on the device is lost. |
If the disk has any existing volume management structures or an existing segment manager, remove them.
Select
+ + to view the Volumes list.Select any existing volume management structures on the device, then click
.Select
+ + .Select the type of Segment Manager in use, then click
.Select the device, then click Remove.
If the disk is a new one that is listed as a compatibility volume in the Volumes list, delete it as a compatibility volume.
Select
+ + to view the Volumes list.Select the device, then click
.Add the Segment Manager.
In the list of
, select the device, then click + + .From the list, select one of the following types of segment manager, then click
.(the most common choice)
(for IA-64 platforms)
(available only if it is a viable option for the selected disk)
Select the device from the list of
, then click .If required, specify the disk type as Linux.
Click
to create the segment management container for the disk, then click to dismiss the confirmation message.In EVMS, select
+ + to see a list of segment managers.From the list, select the segment manager for the device you want to manage, then click
.(the most common choice)
(for IA-64 platforms)
(available only if it is a viable option for the selected disk)
For information about these and other segment managers available, see Section 4.1.1, “Segment Managers”.
Select the storage object that you want to segment, then click
.Complete the required configuration options for the segment, and modify default values as desired.
Size (MB): Specify the amount of space (in MB) that you want to use. Use the arrows or type a value. The interface corrects the value to the lower or upper size limit if you specify a size that is too small or that exceeds the amount of free space available.
Offset (Sectors): Specify the number of sectors to skip before beginning this partition if you want to leave free space in front of it.
Partition Type: From the drop-down list, select (default), , , , , , or .
Partition Type ID: This value changes automatically based on the value, except for the Other Partition Type option, where you must manually enter a value.
Bootable: Click to make a primary partition active so that you can boot from it, or click to make it unbootable. is the only option if you are creating a logical partition.
Primary Partition: Click for a primary partition, or click for a logical partition.
Required settings are denoted in the page by an asterisk (*). All required fields must be completed to make the
button active.Click
to create the segment.Verify that the new segment appears in the Segment list.
The following table describes the /etc/fstab
file and are applied upon reboot.
Table 4.3. Fstab Options in YaST¶
Fstab Option |
Description |
---|---|
Mount by |
|
Volume label |
A useful name to help you easily identify the volume on the server. By default, this field is empty. |
Mount read-only |
Select the check box to enable this option. It is deselected (disabled) by default. If this option is enabled, files and directories cannot be modified or saved on the volume. |
No access time |
Select the check box to enable this option. It is deselected (disabled) by default. By default, the Linux open(2) command updates the access time whenever a file is opened. The option disables the updating of access time, so that reading a file does not update its access time. Enabling the option allows you to back up a volume without modifying the access times of its files. |
Mountable by user |
Select the check box to enable this option. It is deselected (disabled) by default. If this option is enabled, the volume can be mounted by any user; |
Do Not Mount at System Start-up |
Select the check box to enable this option. It is deselected (disabled) by default. The system volumes such as |
Data journaling mode |
For journaling file systems, select the preferred journaling mode: |
Access Control LIsts (ACL) |
Select this option to enable access control lists on the file system. It is enabled by default. |
Extended user attributes |
Select this option to enable extended user attributes on the file system. It is enabled by default. |
Arbitrary option value |
Specify any mount option that is legal for the Mount Options column for a device entry in the |
You can modify these values for each entry by editing the /etc/fstab
file, or use the following procedure to modify the mount options for a volume in the /etc/fstab
file from YaST.
If multiple paths exist between your host bus adapters (HBAs) and the storage devices, configure multipathing for the devices before creating software RAIDs or file system volumes on the devices. For information, see Chapter 5, Managing Multipath I/O for Devices.
If you want to configure software RAIDs, do it before you create file systems on the devices. For information, see Chapter 6, Managing Software RAIDs with EVMS.