Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 11:55:10 -0700
From:      Rudy Rucker <crapsh@monkeybrains.net>
To:        freebsd-current@freebsd.org
Cc:        rse@freebsd.org
Subject:   Will fdisk work on a gmirror device?
Message-ID:  <4361228E.9070003@monkeybrains.net>
In-Reply-To: <20051027014957.E472E16A424@hub.freebsd.org>
References:  <20051027014957.E472E16A424@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


I have a 200 GB mirrored gm0.  I have one slice with 6 partitions.  I 
would like to delete the 6th 100GB large partition on slice one, run 
fdisk, and make a second 100GB slice.

Will this not mangle my system (if reasonable values are entered, of 
course)?
  fdisk -u /dev/mirror/gm0

I am running FreeBSD 6.0-RC1.  (fdisk seems to see the gm0 better than 
in 5.4...).

Rudy




Geom name: gm0
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 2988355435
Providers:
1. Name: mirror/gm0
    Mediasize: 200049647104 (186G)
    Sectorsize: 512
    Mode: r6w6e7
Consumers:
1. Name: ad0
    Mediasize: 200049647616 (186G)
    Sectorsize: 512
    Mode: r1w1e1
    State: ACTIVE
    Priority: 0
    Flags: NONE
    GenID: 0
    SyncID: 1
    ID: 2584972746
2. Name: ad2
    Mediasize: 200049647616 (186G)
    Sectorsize: 512
    Mode: r1w1e1
    State: ACTIVE
    Priority: 0
    Flags: NONE
    GenID: 0
    SyncID: 1
    ID: 3791733936




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4361228E.9070003>