Initializing Disks

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.

Before You Begin

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.

[Important]Important

If you cannot find a new disk, device, or volume, look under /dev/evms in a file browser, or look for compatibility volumes in the Volumes Manager in the EVMS GUI (evmsgui).

Guidelines

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.

    [Important]Important

    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.

    [Warning]Warning

    Do not initialize the device that contains your current system disk or any device that contains the /boot, swap, or root (/) volumes.

  • If a new disk does not show up in the list of Available Objects, look for it in the Volumes list to see if the disk shows up as a compatibility volume. For example, a new disk sdb would show up as /dev/evms/sdb. Delete it from the Volumes list to force the disk to show up in Available Objects, then create segments as desired.

Adding a Segment Manager

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.

[Warning]Warning

Adding a segment manager initializes the disk, completely removing all the segments it contains. All the data stored on the device is lost.

  1. If the disk has any existing volume management structures or an existing segment manager, remove them.

    1. Select Actions+Delete+Volume to view the Volumes list.

    2. Select any existing volume management structures on the device, then click Delete.

    3. Select Actions+Remove+Segment Manager from Storage Object.

    4. Select the type of Segment Manager in use, then click Next.

    5. Select the device, then click Remove.

  2. If the disk is a new one that is listed as a compatibility volume in the Volumes list, delete it as a compatibility volume.

    1. Select Actions+Delete+Volume to view the Volumes list.

    2. Select the device, then click Delete.

  3. Add the Segment Manager.

    1. In the list of Availability Objects, select the device, then click Actions+Add+Segment Manager to Storage Object.

    2. From the list, select one of the following types of segment manager, then click Next.

      • DOS Segment Manager (the most common choice)

      • GPT Segment Manager (for IA-64 platforms)

      • Cluster Segment Manager (available only if it is a viable option for the selected disk)

    3. Select the device from the list of Plugin Acceptable Objects, then click Next.

    4. If required, specify the disk type as Linux.

    5. Click Add to create the segment management container for the disk, then click OK to dismiss the confirmation message.


SUSE® Linux Enterprise Server Storage Administration Guide 10