Download presentation
Presentation is loading. Please wait.
54
Configuring Disk Devices
Version A.01 H3064S Module 8 Slides
55
Disk Partitioning Each HP-UX disk can have one or more partitions.
Each partition can be used for a file system swap space raw data boot area /home file system /opt file system raw oracle data swap space a66929
56
Whole-Disk Partitioning
There are five ways to partition a disk using the whole disk approach. file system swap raw data boot area file system file system swap swap a66930
57
LVM Disk Partitioning logical volume 1 logical volume 2 Physical
Group 00 logical volume 3 logical volume 2 Physical Volume logical Volume 3 Group 01 volume 3 logical volume 1 a66931
58
LVM Device Files /dev dsk rdsk vg01 vg device file c0t5d0 c0t5d0 group
lvol1 c0t6d0 c0t6d0 block lv device files lvol2 block pv device files character (raw) pv device files rlvol1 raw lv device files (character) rlvol2 a66932
59
LVM Extents LEs for lvol1 LE0 LE1 LE2 LE3 PEs for c0tld0 PE0 PE1 PE2
a66933
60
Creating Physical Volumes
PVRA/VGRA PVRA/VGRA BBRA BBRA c0t3d0 c0t4d0 pvcreate /dev/rdsk/c0t3d0 pvcreate /dev/rdsk/c0t4d0 a66935
61
Creating Volume Groups
vg01 PVRA/VGRA PVRA/VGRA c0t3d0 c0t4d0 Create: mkdir /dev/vg01 mknod /dev/vg01/group c 64 0x010000 vgcreate vg01 /dev/dsk/c0t3d0 /dev/dsk/c0t4d0 Check: vgdisplay -v vg01 pvdisplay -v /dev/dsk/c0t3d0 pvdisplay -v /dev/dsk/c0t4d0 a66936
62
Creating Logical Volumes
vg01 myswap myfs1 myfs2 c0t3d0 c0t4d0 Create: lvcreate -L 16 -n myswap vg01 lvcreate -L 16 -n myfs1 vg01 lvcreate -L 16 -n myfs2 vg01 Check: vgdisplay -v vg01 lvdisplay -v /dev/vg01/myswap a66937
63
What’s Next Using Partitions or Logical Volumes to:
create and mount file systems add swap area(s) Manage Logical Volumes to: extend, reduce and remove a VG extend, reduce and remove a LV a66938
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.