08-24-2004
No because you don't break a mirror to replace a bad hard drive. If you have a bad hard drive, you want a mirror.
Do a "vgdisplay -v vg00" (using which ever vg is in trouble). Some of the lv's should say "available/stale". Those are the ones affected by the bad drive.
You turn off the computer, and swap in the good drive. When the volume group is activated, typically at reboot time, it will sync the data. This can take a while. Just leave it alone. You can monitor the syncing process with lvdisplay -v and looking for changes in which extents are marked stale. And the system is usable during the sync...but it may be slower than usual.
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
Going to be applying patches to Sun prod (dev 1st) boxes soon,
I'm going to break the mirror's on 3 file systems on the root disk prior to that (/, /var, /swap),then run 9_Recommended. Then, run it for a day or 2 before re-syncing the mirrors.
But, what if I want to backout of this... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
2. Solaris
Hi,
am a newbie at solaris. Need advice and help on this.
1) How do I break the mirror between 2 hard disks. (wish to keep 1 good hard disk as backup)
2) After remove 1 hard disk and put in new hard disk, how do I initialise or fomat the new hard disk?
3) How do I put back the backup... (3 Replies)
Discussion started by: chongkls77
3 Replies
3. Solaris
I've looked a little but haven't found a solid answer, assuming there is one.
What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies
4. Solaris
Hi ,
I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through
metainit d51 1 1 c0t0d0s2
metainit d52 1 1 c1t0d0s2
In the next step
metainit d50 -m d51
d50: Mirror is setup
next step is
metaattach d50 d52
d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies
5. Shell Programming and Scripting
Hi,
I have a file that looks like this - lets call it fileA
>hhm2
IIIIIIIIILLLLLLLMMMMMMMMMNNNNNNNNNNGGGGGGHHHHHHHH
>hhm4
OOOOOKKKKKKKKMMMMMHHHHHLLLLLLLLWWWWWWWWWWW
>hhm9
OOOOOOOIIIIIIIIIKKKKKKKKKMMMMMHHHHHHHHHHHLLLLLLLLLL
So the file is pretty straight forward. The name is indicated... (2 Replies)
Discussion started by: phil_heath
2 Replies
6. Red Hat
Hey guys i have a machine running redhat enterprise 3.8 (i believe) and it has two hard drives that are mirrored. what would i have to do to get them to act as two seperate hard drives so i have 120gb capacity total as opposed to just 60?
also, what would i do if i just wanted to take one of... (4 Replies)
Discussion started by: pacman529
4 Replies
7. Shell Programming and Scripting
Dear Friends,
Here I need your guidance once again.
I have for loop which check all files in a folder for a particular string. If the string is found in a file it returns value other than 0 else returns 0 value in variable t2.
At times the string which we are looking for is in first file... (1 Reply)
Discussion started by: anushree.a
1 Replies
8. HP-UX
what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
9. UNIX for Advanced & Expert Users
We are in the process of migrating storage from one array to another. I know the commands I would use in LVM but I am not very familiar with VxVM.
The goal is to attach the new LUNs from the new array and add them to the disk group. Then mirror the data online to these new LUNs using VxVM... (4 Replies)
Discussion started by: keelba
4 Replies
LEARN ABOUT DEBIAN
ropkg::simba::exceptions
RoPkg::Simba::Exceptions(3pm) User Contributed Perl Documentation RoPkg::Simba::Exceptions(3pm)
NAME
RoPkg::Simba::Exceptions
VERSION
0.1.3
DESCRIPTION
Collection of exceptions used by Simba
SYNOPSIS
NotHashRef->throw(
error => 'No hash reference found',
pkg_name => 'RoPkg::Simba'
);
DEPENDENCIES
Exception::Class
SUBROUTINES
/METHODS
The following exceptions are defined:
*) NotHashRef - the parameter is not a hash reference
*) Mirror::Config - error in configuration of the mirror
*) Mirror::Inactive - the mirror is not active
*) Mirror::InProgress - the mirror is in progress
*) Mirror::Many - the criteria used to select the mirror, matches multiple mirrors
*) Command::FileNotFound - command file name was not found
DIAGNOSTICS
Unpack the source, and use 'make test' command
CONFIGURATION AND ENVIRONMENT
This module does not use any configuration files or environment variables
INCOMPATIBILITIES
None known to the author
BUGS AND LIMITATIONS
None known to the author
PERL CRITIC
This module is perl critic level 2 compliant
AUTHOR
Subredu Manuel <diablo@iasi.roedu.net>
LICENSE AND COPYRIGHT
Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself. The LICENSE file contains the full text of the license.
perl v5.14.2 2006-07-29 RoPkg::Simba::Exceptions(3pm)