Seagate ST34572WC Especificaciones Pagina 33

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 67
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 32
33
# vgchange -a y /dev/vgnn
Note: The vgchange command with the -a y option can be run on a volume group that is
deactivated or already activated. It attaches all paths for all disks in the volume group and
resumes automatically recovering any disks in the volume group that had been offline or any disks
in the volume group that were replaced. Therefore, run vgchange only after all work has been
completed on all disks and paths in the volume group, and it is necessary to attach them all.
Because all the data on the replaced disk was mirrored, you do not need to do anything else; LVM
automatically synchronizes the data on the disk with the other mirror copies of the data.
Replacing an Unmirrored Nonboot Disk
Use this procedure if any of the physical extents on the disk do not have mirror copies elsewhere, and
your disk is not a boot disk.
In this example, the disk to be replaced is at lunpath hardware path 0/1/1/1.0x3.0x0, with device
special files named /dev/disk/disk14 and /dev/rdisk/disk14. Follow these steps:
1. Save the hardware paths to the disk.
Enter the ioscan command and note the hardware paths of the failed disk:
# ioscan m lun /dev/disk/disk14
Class I Lun H/W Path Driver S/W State H/W Type Health Description
========================================================================
disk 14 64000/0xfa00/0x0 esdisk CLAIMED DEVICE offline HP MSA Vol
0/1/1/1.0x3.0x0
/dev/disk/disk14 /dev/rdisk/disk14
In this example, the LUN instance number is 14, the LUN hardware path is 64000/0xfa00/0x0,
and the lunpath hardware path is 0/1/1/1.0x3.0x0.
When the failed disk is replaced, a new LUN instance and LUN hardware path are created. To
identify the disk after it is replaced, you must use the lunpath hardware path
(0/1/1/1.0x3.0x0).
2. Halt LVM access to the disk.
If the disk is not hot-swappable, power off the system to replace it. By shutting down the system,
you halt LVM access to the disk, so you can skip this step. If the disk is hot-swappable, disable
user and LVM access to all unmirrored logical volumes.
First, disable user access to all unmirrored logical volumes. Halt any applications and unmount
any file systems using these logical volumes. This prevents the applications or file systems from
writing inconsistent data over the newly restored replacement disk.
For each unmirrored logical volume using the disk:
a. Use the fuser command to make sure no one is accessing the logical volume, either as
a raw device or as a file system. If users have files open in the file system or it is their
current working directory, fuser reports their process IDs.
For example, if the logical volume was /dev/vg01/lvol1, enter:
# fuser -cu dev/vg01/lvol1
/dev/vg01/lvol1: 27815c(root) 27184c(root)
Vista de pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 66 67

Comentarios a estos manuales

Sin comentarios