Environment
Applies to any Linux host with large storage devices on which large
file systems are to be deployed and on which EVMS is available. In
the specific case that led to this document, the storage was a 5TB
device and the platform SLES9 SP3. Therefore, the following
platforms are applicable:
Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Server 9
Novell Open Enterprise Server (Linux based)
Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Server 9
Novell Open Enterprise Server (Linux based)
Situation
Instinct says use YaST
Partitioner (or fdisk, etc) to create a
partition and file system on a disk. These tools default to
creating DOS style partitions. Using LBA addressing, the maximum
partition size is 2^32 blocks. For 512 byte sectors (blocks) that
permits a theoretical maximum partition size of 2TB (0.5kB * 4G).
Instinct further suggests the use of larger sectors to get larger
partitions but the better solution is to abandon the DOS
partitioning scheme as being inadequate. Switching to something
like EVMS for storage carving resolves the issue. However, if you
have already created a DOS partition table, EVMS won't see any"free" space on the device, even if it is has no actual partitions.
This document explains how to resolve that.
Resolution
On the Linux host, in the X desktop, while logged in as root:
and it should be formatted with the file system specified at step
16. It should now be possible to mount the file system in the
normal way, e.g.:
The file system should now be mounted and accessible, you can verify it with df or mount, for example.
- Start evmsgui
- Select the "Disks" tab
- Locate the disk of interest
- Right click on it
- Select "Remove segment manager from Object..." and follow the instructions, selecting the "Remove" and "OK" buttons in the subsequent dialogs - This removes the partition table
- Select the "Segments" tab
- Locate the disk of interest
- Right click on it
- Select "Create EVMS Volume..."
- Enter a name for the volume in the create dialog - This name will become the devname name for device
- Press "Create" then "OK"
- Select the "Volumes" tab
- Locate, by name, the volume you created at step 10/11
- Right click on it
- Select "Make File System..."
- Select a suitable file system, e.g. ext2/3
- Press "Next"
- Specify appropriate parameters (e.g. "Create Ext3 journal" in the case of ext2/3). With very large volumes on storage systems with redundancy neither bad block check option should be necessary
- Press the "Make" then "OK" buttons
- Press the "Save" button on the evmsgui toolbar - This applies all the changes entered so far
- Press the "Quit" button on the toolbar
mount -t ext3
/dev/evms/groovybigdisk
The file system should now be mounted and accessible, you can verify it with df or mount, for example.
Additional Information
Configuring the host to mount the file system at system boot time
is left as an exercise for the reader (see /etc/fstab). This document
assumes EVMS is properly installed, configured and enabled at boot
time.