more gpart/glabel problems

Daniel Braniss danny at cs.huji.ac.il
Fri Jan 14 10:37:13 UTC 2011


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




More information about the freebsd-hackers mailing list