Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Contents
20
Kernel Dump Device Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
Run Time Dump Device Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546
Dump Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
What Happens When the System Crashes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
Systems Running HP-UX Releases Prior to Release 11.0 . . . . . . . . . . . . . . . . . . 549
Operator Override Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
The Dump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
The Reboot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
The savecrash Processing Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
Dual-Mode Devices (dump / swap). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
What to Do After the System Has Rebooted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
Using crashutil to Complete the Saving of a Dump . . . . . . . . . . . . . . . . . . . . . . . 552
Savecrash Options for Compressed Dumps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
Converting the Format of Uncompressed Dumps . . . . . . . . . . . . . . . . . . . . . . . . . 553
Converting the Format of Compressed Dumps . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
Analyzing Crash Dumps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
6. Administering a System: Managing Disks and Files
Managing Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
Current Disk Management Facts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
The Logical Volume Manager (LVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
Useful Facts About LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
How LVM Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Planning for the Use of Logical Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
Setting Up Logical Volumes for File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
Setting Up Logical Volumes for Swap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Setting Up Logical Volumes for Raw Data Storage. . . . . . . . . . . . . . . . . . . . . . . . 565
Using Disk I/O Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
Bad Block Relocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
Increasing Availability with Alternate Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
LVM Naming Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Naming Physical Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Naming Volume Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
Naming Logical Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
Naming Physical Volume Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
Managing Logical Volumes Using SAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571