Seagate ST34572WC Specifikace

Procházejte online nebo si stáhněte Specifikace pro ne Seagate ST34572WC. Seagate ST34572WC Specifications Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 36
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
When Good Disks Go Bad:
Dealing with Disk Failures under LVM
Abstract ..............................................................................................................................................3
Background.........................................................................................................................................3
1.
Preparing for Disk Recovery..........................................................................................................4
Defining a Recovery Strategy .............................................................................................................4
Using Hot-Swappable Disks ...............................................................................................................4
Installing the Patches that Enable LVM Online Disk Replacement.............................................................4
Mirroring Critical Information, Especially the Root Volume Group...........................................................4
Creating Recovery Media ..................................................................................................................5
Other Guidelines for Optimal System Recovery ....................................................................................5
2.
Recognizing a Failing Disk ...........................................................................................................7
I/O Errors in the System Log ..............................................................................................................7
Disk Failure Notification Messages from Diagnostics.............................................................................7
LVM Command Errors .......................................................................................................................8
3.
Confirming Disk Failure ................................................................................................................9
4.
Gathering Information about a Failing Disk...................................................................................11
Is the Questionable Disk Hot-Swappable?..........................................................................................11
Is it the Root Disk or Part of the Root Volume Group? ..........................................................................11
What Recovery Strategy Do You Have for the Logical Volumes on this Disk? .........................................11
5.
Removing the Disk .....................................................................................................................13
Removing a Mirror Copy from a Disk................................................................................................13
Moving the Physical Extents to Another Disk.......................................................................................13
Removing the Disk from the Volume Group ........................................................................................14
6.
Replacing the Disk .....................................................................................................................16
Step 1: Halting LVM Access to the Disk .............................................................................................16
Step 2: Replacing the Faulty Disk......................................................................................................18
Step 3: Initializing the Disk for LVM ..................................................................................................18
Step 4: Re-enabling LVM Access to the Disk.......................................................................................18
Step 5: Restoring Lost Data to the Disk ..............................................................................................19
Replacing a LVM Disk in an HP Serviceguard Cluster Volume Group ....................................................19
Disk Replacement Scenarios.............................................................................................................19
1
Zobrazit stránku 0
1 2 3 4 5 6 ... 35 36

Shrnutí obsahu

Strany 1 - When Good Disks Go Bad:

When Good Disks Go Bad: Dealing with Disk Failures under LVM Abstract ...

Strany 2

For example, the following shows a successful read of the first 64 megabytes of the disk: # dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=1024k count=64 64+0

Strany 3 - Abstract

4. Gathering Information about a Failing Disk Once you know which disk is failing, you can decide how to deal with it. You can choose to remove the di

Strany 4 - Using Hot-Swappable Disks

extents are mapped to an unavailable physical volume. The lvdisplay command shows ’???’ for the physical volume if it is unavailable. The problem wit

Strany 5 - Creating Recovery Media

5. Removing the Disk If you have a copy of the data on the failing disk, or you can move the data to another disk, you can choose to remove the disk f

Strany 6

physical extents on that disk to any other disks in the volume group, subject to any mirroring allocation policies. For example: # pvmove pvname You

Strany 7 - I/O Errors in the System Log

# vgreduce -f vgname # mv /etc/lvmtab /etc/lvmtab.save # vgscan –v This completes the procedure for removing the disk from your LVM configuration. I

Strany 8 - LVM Command Errors

6. Replacing the Disk If you decide to replace the disk, you must perform a five-step procedure. How you perform each step depends on the information

Strany 9 - 3. Confirming Disk Failure

3. To kill processes using the logical volume, enter the following command: # fuser –ku /dev/vgname/lvname 4. Then try to unmount the file system

Strany 10

Step 2: Replacing the Faulty Disk If the disk is hot-swappable, you can replace it without powering down the system. Otherwise, power down the system

Strany 11

Step 5: Restoring Lost Data to the Disk This final step can be a straightforward resynchronization for mirrored configurations, or a recovery of data

Strany 12

Scenario 1: Best Case ...19 Scenario 2:

Strany 13 - 5. Removing the Disk

Root: lvol3 on: /dev/dsk/c0t5d0 Swap: lvol2 on: /dev/dsk/c0t5d0 Dump: lvol2 on: /dev/dsk/c0t5d0, 0 # pvdisplay –v /dev/dsk/c2t

Strany 14

# fuser -u /dev/vg01/lvol1 /dev/vg01/lvol1: 27815c(root) 27184c(root) # ps -fp27815 -p27184 UID PID PPID C STIME TTY TIME COMMA

Strany 15

Disk Replacement Flowchart The following flowchart summarizes the disk replacement process. 22

Strany 16 - 6. Replacing the Disk

Conclusion In your role as system manager, you will encounter disk failures. LVM can lessen the impact of those disk failures, enabling you to configu

Strany 17

Appendix A: Procedures This section contains details on some of the procedures described earlier. Mirroring the Root Volume on PA-RISC Servers To set

Strany 18

# lvextend –m 1 /dev/vg00/lvol5 /dev/dsk/c2t15d0 # lvextend –m 1 /dev/vg00/lvol6 /dev/dsk/c2t15d0 # lvextend –m 1 /dev/vg00/lvol7 /dev/dsk/c2t15d0 # l

Strany 19 - Disk Replacement Scenarios

Mirroring the Root Volume on Integrity Servers The procedure to mirror the root disk on Integrity servers is similar to the procedure for PA-RISC serv

Strany 20

# mkboot –e –l /dev/rdsk/c2t1d0 6. Update the autoboot file in the EFI partition. a. Create an AUTO file in the current directory. If you expect

Strany 21

11. Add a line to /stand/bootconf for the new boot disk using vi or another text editor: # vi /stand/bootconf l /dev/dsk/c2t1d0s2 where l denotes LV

Strany 22 - Disk Replacement Flowchart

Appendix B: LVM Error Messages This appendix lists some of the warning and error messages reported by LVM. For each message, the cause is listed, and

Strany 23 - Conclusion

Abstract This white paper discusses how to deal with disk failures under the HP-UX Logical Volume Manager (LVM). It is intended for system administrat

Strany 24 - Appendix A: Procedures

Act PV 1 Max PE per PV 4350 VGDA 2 PE Size (Mbytes) 4

Strany 25

Cause: LVM OLR is not completely installed. Both the LVM command and kernel components are required to enable LVM OLR. In this case, the command patc

Strany 26

Detach the physical volume or deactivate the volume group before attempting to restore the physical volume. If there is reason to believe that the dat

Strany 27

vgchange: Couldn't set the unique id for volume group "/dev/vgname" Cause: There are multiple LVM group files with the same minor numb

Strany 28

Warning: couldn't query physical volume "pvname": The specified path does not correspond to physical volume attached to this volume gr

Strany 29 - LVM Command Error Messages

Syslog Error Messages LVM: VG 64 0x010000: Data in one or more logical volumes on PV 188 0x072000 was lost when the disk was replaced. This occurred b

Strany 30

For more information To learn more about LVM and HP-UX system administration, refer to the following documents on the HP documentation website http://

Strany 31

1. Preparing for Disk Recovery Forewarned is forearmed. Knowing that hard disks will fail eventually, you can take some precautionary measures to mini

Strany 32

# swlist -l fileset | grep -i mirror LVM.LVM-MIRROR-RUN B.11.23 LVM Mirror The process of mirroring is usually straightforward, and can be easily ac

Strany 33

reinstall a minimal system, restore a backup, and be back online within three hours of diagnosis and replacement of hardware. Three disks in the root

Strany 34

2. Recognizing a Failing Disk The guidelines in the previous section will not prevent disk failure on your system. Assuming you follow all the recomme

Strany 35 - Syslog Error Messages

LVM Command Errors Sometimes LVM commands, such as vgdisplay, return an error suggesting that a disk has problems. For example: # vgdisplay –v | more

Strany 36 - Call to action

3. Confirming Disk Failure Once you suspect a disk has failed or is failing, make certain that the suspect disk is indeed failing. Replacing or removi

Komentáře k této Příručce

Žádné komentáře