Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2011 12:37:11 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        freebsd-hackers@freebsd.org
Subject:   more gpart/glabel problems
Message-ID:  <E1Pdh1r-000MPA-G3@kabab.cs.huji.ac.il>

next in thread | raw e-mail | index | archive | help
the provider in this case is mfid0
	mfi0: <Dell PERC H700 Integrated>
	mfid0: <MFI Logical Disk> on mfi0
	mfid0: 953344MB (1952448512 sectors) RAID volume 'r0' is optimal

so I first use gpart:
	gpart create -s GPT mfid0
	gpart bootcode -b /boot/pmbr mfid0
	gpart add -s2G -t freebsd-ufs mfid0
so far, so good:
 	gpart show
	=>        34  1952448445  mfid0  GPT  (931G)
	          34         128      1  freebsd-boot  (64K)
	         162     4194304      2  freebsd-ufs  (2.0G)
	     4194466  1948254013         - free -  (929G)

now:
	glabel lable r0 mfid0

and on the console:
	GEOM: mfid0: the secondary GPT table is corrupt or invalid.
	GEOM: mfid0: using the primary only -- recovery suggested.
	GEOM: mfid0: the secondary GPT table is corrupt or invalid.
	GEOM: mfid0: using the primary only -- recovery suggested.
	GEOM: label/r0: corrupt or invalid GPT detected.
	GEOM: label/r0: GPT rejected -- may not be recoverable.

BTW, going the MBR way, it works as expected.

so what am I doing wrong?

thanks,
	danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Pdh1r-000MPA-G3>