Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix databases

Associated Information

- Creating a logical volume
- Changing the dump area
- Mirroring disks with LVM
- Mirroring the root volume
- Disk striping with LVM
- Setting up swap under LVM

Useful Links

- HP-UX Online Manuals
- HP-UX FAQ
- HP-UX Mailing List Archive
- HP-UX US User Group
- HP-UX UK User Group
- HP-UX Public Domain Software

Moving LVM disk

  1. Backup data and lvm configuration (vgcfgbackup)

  2. vgchange -a n /dev/vg_name to deactivate volume group

  3. vgexport /dev/vg_name to remove volume group

  4. move disk

  5. vgscan -v

  6. vgimport /dev/vg_name /dev/dsk/device to re-add volume

  7. vgchange -a y /dev/vg_name to reactivate volume group

  8. backup the LVM configuration again

Moving a disk to a different server

  1. vgchange -a n /dev/vg_name

  2. vgexport -p -v -m /tmp/map_file vg_name

  3. If OK, repeat command omitting the -p flag

  4. create volume group directory on the target server, mkdir /dev/vg_name and mknod the group file

  5. Transfer /tmp/map_file to the target server

  6. vgimport -p -v -m /tmp/map_file /dev/vg_name /dev/dsk/device

  7. If OK, repeat the command without the -p flag

  8. vgchange -a y /dev/vg_name


Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries