206 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
0.0.0101 use_diag=0 readonly=0 erplog=0 failfast=0
0.0.0100 use_diag=0 readonly=0 erplog=0 failfast=0
0.0.0102
0.0.0103
6. Verify the new minidisks are activated by using the lsdasd command:
# lsdasd
Bus-ID Status Name Device Type BlkSz Size Blocks
==============================================================================
Bus-ID Status Name Device Type BlkSz Size Blocks
==============================================================================
0.0.0100 active dasda 94:0 ECKD 4096 2347MB 600840
0.0.0101 active dasdb 94:4 ECKD 4096 2347MB 600840
0.0.0300 active dasdc 94:8 FBA 512 256MB 524288
0.0.0301 active dasdd 94:12 FBA 512 512MB 1048576
0.0.0102 active dasde 94:16 ECKD 4096 1173MB 300420
0.0.0103 active dasdf 94:20 ECKD 4096 1173MB 300420
If you are creating a new logical volume, go to 13.2.1, “Creating a logical volume and file
system” on page 206. If you are extending an existing logical volume, go to 13.3, “Extending
an existing logical volume” on page 211.
13.2 Adding a logical volume
There are times when you require more disk space than a single direct access storage device
(DASD) volume provides. For example, if you want to have a shared /home/ directory, you
want it to be of sufficient size. When this is the case, you can use the Logical Volume
Manager (LVM) to combine multiple DASD volumes into one logical volume.
The following process describes how to create a logical volume with additional DASD on a
Linux guest. The overall steps in adding a logical volume are:
“Adding DASD” on page 204
“Creating a logical volume and file system” on page 206
“Updating the file system table” on page 209
13.2.1 Creating a logical volume and file system
The overall steps involved in creating a logical volume are:
Create physical volumes from the two partitions
Create a single volume group
Create a single logical volume
Make a file system from the logical volume
Kommentare zu diesen Handbüchern