kern/138891: [geom] GEOM_PART_* fails with sliced gstripe

Stephen Hurd shurd at sasktel.net
Wed Sep 23 01:23:28 UTC 2009


Marcel Moolenaar wrote:
>> After wiping out the second sector or the drive (dd seek=1 count=1 
>> if=/dev/zero of=/dev/stripe/raid0)
>> fdisk now reports "invalid fdisk partition table found" but 
>> GEOM_PART_* still does not locate the a slice and the b/d slices will 
>> not mount.
>
> What is the sector size?

512 according to diskinfo and gstripe list:
 > diskinfo /dev/stripe/raid0
/dev/stripe/raid0       512     42934992896     83857408
 > gstripe list
Geom name: raid0
State: UP
Status: Total=4, Online=4
Type: AUTOMATIC
Stripesize: 262144
ID: 40432321
Providers:
1. Name: stripe/raid0
   Mediasize: 42934992896 (40G)
   Sectorsize: 512
   Mode: r3w3e4
Consumers:
1. Name: da0s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r3w3e5
   Number: 0
2. Name: da1s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r3w3e5
   Number: 1
3. Name: da2s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r3w3e5
   Number: 2
4. Name: da3s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r3w3e5
   Number: 3




More information about the freebsd-geom mailing list