Creating Large File Systems: EVMS sees no free space
This document (3733121) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 9
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
- 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
The file system should now be mounted and accessible, you can verify it with df or mount, for example.
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3733121
- Creation Date: 20-Nov-2006
- Modified Date:05-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com