Date: Tue, 2 Aug 2016 20:47:13 -0700 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: uuid/label based fstab during bsdinstall Message-ID: <8f929142-8956-2cc6-bb10-3fcb2983702c@freebsd.org> In-Reply-To: <SIXPR06MB10225FD8491D8FFF2140F38BE4060@SIXPR06MB1022.apcprd06.prod.outlook.com> References: <SIXPR06MB10225FD8491D8FFF2140F38BE4060@SIXPR06MB1022.apcprd06.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Unfortunately, the glabel and (especially) GPT partition ID labelling has in-kernel race conditions that make it impossible to rely on in the installer. This has been an open problem since FreeBSD 9; hopefully it will be solved soon. -Nathan On 08/02/16 20:35, Alive 4ever wrote: > Greetings, everyone. > > I am testing FreeBSD 11.0-BETA3 release on a virtual machine (qemu, > with > edkII ovmf). > > Currently, bsdinstall creates device path based block device driver > scheme instead of uuid/label based device scheme. > > bsdinstall-generated fstab has some drawback. For example, when > switching from ide to virtio on qemu, freebsd can't find its root > partition because the path name has changed from 'da0' to 'vtbd0'. > > I suggest adding an option during bsdinstall to select fstab block > device pointer scheme. User will choose a scheme based on fs-uuid, > fs-label, geom label (glabel), gpt id, gpt label, or driver based > numbering scheme (da0/vtbd0 style). > > If fstab scheme choice is too hard to implement, it would be better to > just switch default fstab generation to label based scheme, so that > FreeBSD kernel will be able to find its rootfs in different > circumstances. > > I hope this will be implemented soon. > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f929142-8956-2cc6-bb10-3fcb2983702c>