Re: HEADSUP: GEOM label may be broken [Was Re: svn commit: r361838 - in head/sys/geom: . label]

2020-06-06 Thread Xin Li
Hi, Conrad, On 6/6/20 9:28 AM, Conrad Meyer wrote: > # geli attach /dev/gpt/testingeli > Enter passphrase: > GEOM_ELI: Device md0s1.eli created. > GEOM_ELI: Encryption: AES-XTS 128 > GEOM_ELI: Crypto: software > GEOM_LABEL[2]: Tasting md0s1.eli. > # ls -l /dev/gpt/testingeli* > lrwxr-xr-x 1 ro

Re: HEADSUP: GEOM label may be broken [Was Re: svn commit: r361838 - in head/sys/geom: . label]

2020-06-06 Thread Conrad Meyer
# geli attach /dev/gpt/testingeli Enter passphrase: GEOM_ELI: Device md0s1.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: software GEOM_LABEL[2]: Tasting md0s1.eli. # ls -l /dev/gpt/testingeli* lrwxr-xr-x 1 root wheel 8 Jun 6 09:22 /dev/gpt/testingeli -> ../md0s1 lrwxr-xr-x

Re: HEADSUP: GEOM label may be broken [Was Re: svn commit: r361838 - in head/sys/geom: . label]

2020-06-06 Thread Conrad Meyer
Hi Xin Li, Thank you for the report and diagnosis. Sorry for the breakage. I have reverted the change and hope to address the issues you have identified. There seem to be two issues identified: 1. When ZFS attaches to a partition of a disk, the /dev/diskid label disappears. 2. geli(8) attach of

Re: HEADSUP: GEOM label may be broken [Was Re: svn commit: r361838 - in head/sys/geom: . label]

2020-06-06 Thread Warner Losh
On Sat, Jun 6, 2020 at 2:17 AM Xin Li wrote: > I just spent quite some time to revive my laptop. TL;DR: if you are > using /dev/diskid or /dev/gptid labels and GELI, please wait until > things settled. > > === > > On 6/5/20 9:12 AM, Conrad Meyer wrote: > > Author: cem > > Date: Fri Jun 5 16:12:

HEADSUP: GEOM label may be broken [Was Re: svn commit: r361838 - in head/sys/geom: . label]

2020-06-06 Thread Xin Li
I just spent quite some time to revive my laptop. TL;DR: if you are using /dev/diskid or /dev/gptid labels and GELI, please wait until things settled. === On 6/5/20 9:12 AM, Conrad Meyer wrote: > Author: cem > Date: Fri Jun 5 16:12:21 2020 > New Revision: 361838 > URL: https://svnweb.freebsd.or