Re: Mounting root...

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

  • Next message: Scott Long: "Re: potential re change for 5.3?"
    Date: Wed, 25 Aug 2004 22:18:27 +0200
    To: John Baldwin <jhb@FreeBSD.org>
    
    
    

    On Wed, Aug 25, 2004 at 09:33:56AM +0200, Pawel Jakub Dawidek wrote:
    +> On Tue, Aug 24, 2004 at 09:43:40AM -0400, John Baldwin wrote:
    +> +> The fact that a RAID can recover when a disk goes away and comes back is
    +> +> already the "general solution" it seems. It works all the time, not just at
    +> +> boot, so it seems to me like you are trying to solve a problem that is
    +> +> already solved. I think at most you could maybe have a system wide delay
    +> +> before that the user can tweak via a tunable (rather than a per-GEOM class
    +> +> tunable like your mirror one) in order to optimize the boot code for these
    +> +> rare cases but that is about it. I.e., if a user notices that one of the
    +> +> disks always takes an extra second they can set the tunable to force the
    +> +> kernel to wait 2 seconds before trying to mount root. Any such delay should
    +> +> be centralized, however, and not per-class, since all the per-class delays
    +> +> would end up being cumulative, so if MIRROR waits 2 seconds and STRIPE waits
    +> +> 3 seconds then the entire process actually waits 5 seconds as opposed to
    +> +> letting the user tweak a single centralized timeout.
    +>
    +> I second this, I'll prepare a patch then.

    Ok, here is proposed patch:

            http://people.freebsd.org/~pjd/patches/root_mount.patch

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



  • Next message: Scott Long: "Re: potential re change for 5.3?"

    Relevant Pages

    • Re: Windows Xp crash
      ... Message came up "Disk Boot failure.: ... indicated that all drives had no disk inserted. ... I tried about a week ago to install Windows 7 on the second hard ...
      (microsoft.public.windowsxp.hardware)
    • Re: Installation: doesnt see setup files on hard drive?
      ... > disk the BIOS is set to boot from must have an appropriate Master Boot ... I was worried about those points you made above so I removed all drives except the one I want to instll ...
      (microsoft.public.win2000.general)
    • Re: Boot Problem
      ... Was either disk set up as a Microsoft dynamic disk? ... Do not change the boot sector signature. ... I ensure all OK by swapping over drives. ... installing XP as it insisted there was no drive to install itself on! ...
      (microsoft.public.windowsxp.hardware)
    • Re: [SLE] Problems with initrd after mkinitrd
      ... A disk can have three real heads and report a dozen or a hundred! ... > natural metric for partitioning drives that use LBA. ... > - One, less frequent, is the failure of some of the cloned drives to boot ...
      (SuSE)
    • Re: Three Linux Operating Systems in One Computer (Is it possible?)
      ... Hard Disk 1 19.42GiB IDE ... The GRUB boot loader is installed on the first hard disk. ... I am planning to combine /dev/hda6 with /devhda1 using the Gnome Partition ...
      (Ubuntu)