Re: Problems with geom_bde

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 09/30/03

  • Next message: Derek Ragona: "Re: SiI3112 SATA controller problems - status"
    To: Thorsten Greiner <thorsten.greiner@web.de>
    Date: Tue, 30 Sep 2003 22:57:31 +0200
    
    

    In message <20030930205400.GA4391@tybalt.greiner.local>, Thorsten Greiner writes:
    >* Poul-Henning Kamp <phk@phk.freebsd.dk> [2003-09-30 10:54]:
    >> Did you call "gbde detach" before the umount ? You need to unmount
    >> first.
    >
    >After investigating further I think I have found the reason for the
    >problem. When I created the disklabel for the partition I was lazy
    >and entered a size of 2000000 blocks for the slice. I just tried to
    >reproduce the problem and re-created the slice with a size of 1024M
    >(which is 2097152 blocks) and the problem seems to have disappeared
    >- at least I cannot reproduce it anymore.
    >
    >So now I wonder if there is any magic constant which the slice size
    >needs to be a multiple of...?

    Not that I know off.

    -- 
    Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
    phk@FreeBSD.ORG         | TCP/IP since RFC 956
    FreeBSD committer       | BSD since 4.3-tahoe    
    Never attribute to malice what can adequately be explained by incompetence.
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Derek Ragona: "Re: SiI3112 SATA controller problems - status"

    Relevant Pages

    • Re: "Cannot find file system superblock" error - how to recover?
      ... disklabel DOES work on slices and CREATES partitions. ... be run on the whole disk ad0 (as apposed to just a slice ad0s1) ... which will create a "dangerously dedicated" disk. ... sure what it is trying to do if you try to further partition a partition. ...
      (freebsd-questions)
    • Re: Location of disklabel
      ... The second sector of the slice that the disklabel is partitioning. ... the 'c' partition always covers the entire ... record which is the very first sector of the hard disk. ...
      (freebsd-questions)
    • Re: Fwd: Re: Please help. Cant see HD
      ... Malcolm Kay probably wrote: ... > the slice tableI don't believe it will help. ... > the disklabel in the first slice. ... > reconstruction of the original MBR with some confidence. ...
      (freebsd-questions)
    • Re: "Cannot find file system superblock" error - how to recover?
      ... and print your file out as disklabel understands it. ... > disk, ... >> looking at the proper label? ... Let me guess: a single large slice. ...
      (freebsd-questions)
    • Re: Tuple slices
      ... I posted my previous mail from Google groups, which for some reason put my ... > meaning of 'slice', as defined by GvR and implemented in core Python ... > sequence objects and documented in the reference manuals and reiterated by ...
      (comp.lang.python)