Will fdisk work on a gmirror device?

From: Rudy Rucker <crapsh_at_monkeybrains.net>
Date: Thu, 27 Oct 2005 11:55:10 -0700
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
Received on Thu Oct 27 2005 - 16:55:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC