Re: SSA Disk Replacement... Unmount of filesystem needed?

From: Nathan (nathan_at_nospam.org)
Date: 10/03/05


Date: Mon, 03 Oct 2005 14:13:13 -0500

patrick.danko@gmail.com wrote:

> On one of the volume groups this drive is a member of there is logical
> volume that has part of this disk on both sides of the mirror... i.e. a
> 'lslv -m lvXXX' shows the bad hdisk with entries on both columns (not
> on the same LP though). This worries be because I'm not sure I can
> break the mirror properly without losing data. Am I missing something
> here?
>
> -Patrick

I didn't pay close enough attention, my directions where for a raid5
array disk replacement, not a mirror replacement.

What is your disk configuration exactly? A single disk-to-disk mirror or
a raid to raid mirror (raid10)? Sounds like someone did a manual lv
mirror instead of a vg mirror, or that they didn't set "use strict" when
building the mirror to prevent lv's from growing across physical volumes.

I've not gotten into one of those situations before, you might be able
to migrate the lv to another disk and then back to the good one... Don't
know what would be the best method of attack.

 From the manpage, I've not tried this in your situation though:
   2. To move physical partitions in logical volume lv02 from hdisk1 to
      hdisk6, enter:

      migratepv -l lv02 hdisk1 hdisk6

      Only those physical partitions contained in lv02 are moved from one
      physical volume to another.



Relevant Pages

  • Solaris RAID failover problems
    ... My intent is to mirror the drives completely, ... Can't read disk label. ... WARNING: md: d10: needs maintenance ... WARNING: forceload of misc/md_trans failed ...
    (comp.unix.solaris)
  • Re: Huge Av Disk Queue Length
    ... Write performance = 130 per mirror ... Mixed performance at a 1:1 R:W ratio = 195 IOPS per mirror. ... (sort of like weighted fair queuing for disk performance). ... put a 3020 in each location with FCP shelves for the primary data and SATA ...
    (microsoft.public.exchange.admin)
  • Re: how i locate swap area
    ... what you have with the command 'vgdisplay -v vg00'. ... Why Mirror Copies is 0? ... it seems that you have no disk mirroring. ... Primary Partition Table: ...
    (comp.sys.hp.hpux)
  • Re: Using mirroring to replace drive?
    ... I upgrade and rebuild it. ... drive which happens to be the system disk. ... and mirror the failing drive on the new drive. ... upgrade to 7.0 after establishing the new good drives). ...
    (freebsd-questions)
  • Re: VxVM : Cant open /dev/vx/rdsk/bootdg/rootvol
    ... disk as explained in the document). ... before "Reattaching the plexes rootvol-01, swapvol-01, to the relevant ... of the root mirror and change the state of the rootdisk to detached. ... # vxplex att rootvol-01 rootvol-02 ...
    (comp.unix.solaris)