Re: Mounting root...

From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 08/23/04

  • Next message: John Baldwin: "Re: Introducing a poweroff(8) command"
    Date: Mon, 23 Aug 2004 23:47:29 +0200
    To: John Baldwin <jhb@FreeBSD.org>
    
    
    

    On Mon, Aug 23, 2004 at 05:16:31PM -0400, John Baldwin wrote:
    +> On Monday 23 August 2004 03:05 pm, Pawel Jakub Dawidek wrote:
    +> > On Mon, Aug 23, 2004 at 11:46:12AM -0400, John Baldwin wrote:
    +> > +> Why not have mirror create the provider instantly in an degraded state
    +> > as soon +> as one disk shows up and then change from degraded back to full
    +> > when the +> second disk finally arrives? Isn't this the same case as
    +> > someone jerking the +> disk out at run time and then shoving it (or a new
    +> > one) back in without +> rebooting?
    +> >
    +> > If it will be started in degraded mode, it can be mounted and modified
    +> > before next components arrive, so there will be a need to rebuild them.
    +>
    +> How is this different from jerking the disk out of a running system and then
    +> shoving it back in again?

    You don't want to rebuild a mirror on every boot after clean shutdown.
    In most cases one can set kern.geom.mirror.timeout to 0 and there will be
    no problem with this, because even after mirror start is degraded mode
    new components are not rebuilt if there were no writes, but it will be
    good to have more general solution...

    -- 
    Pawel Jakub Dawidek                       http://www.FreeBSD.org
    pjd@FreeBSD.org                           http://garage.freebsd.pl
    FreeBSD committer                         Am I Evil? Yes, I Am!
    
    



  • Next message: John Baldwin: "Re: Introducing a poweroff(8) command"

    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)
    • Trouble rebuilding array on 3ware 7000 (twe)
      ... I need a hand from a disk guru as I am having some problems with a 7000-2 ... the rebuild stopped and the web page showed "error." ... ran fsck -fy and tried the /usr dump again. ... the system runs but I have a degraded mirror (with its own ...
      (freebsd-questions)
    • 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: 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)