Seagate ST34572WC Specifications

Browse online or download Specifications for Unknown Seagate ST34572WC. Seagate ST34572WC Specifications User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 36
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 0
1 2 3 4 5 6 ... 35 36

Summary of Contents

Page 1 - When Good Disks Go Bad:

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 12

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

Page 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

Page 14

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

Page 15

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 24 - Appendix A: Procedures

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

Page 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

Page 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

Page 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

Page 28

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

Page 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

Page 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://

Page 31

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

Page 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

Page 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

Page 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

Page 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

Page 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

Comments to this Manuals

No comments