Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 18:18:00 +0000
From:      Steven Hartland <killing@multiplay.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: 10.1 geom "diskid"
Message-ID:  <546CDED8.7040902@multiplay.co.uk>
In-Reply-To: <166BD891-B686-41F9-A741-9C7E7D989CB8@punkt.de>
References:  <FE4F6E61-C332-40A4-A913-281505819FA7@punkt.de> <166BD891-B686-41F9-A741-9C7E7D989CB8@punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19/11/2014 15:55, Patrick M. Hausen wrote:
> Now it's getting decidedly weird:
>
>> Am 19.11.2014 um 16:40 schrieb Patrick M. Hausen <hausen@punkt.de>:
>>
>> Hi, all,
>>
>> next question, sorry. I just created a fresh 10.1 installation
>> with ZFS. With the last reboot after adding dedicated SSD
>> based l2arc and zil, the underlying devices are referred to
>> by "diskid" instead of the GPT labels I have first been using:
>>
>> 	NAME                                STATE     READ WRITE CKSUM
>> 	zroot                               ONLINE       0     0     0
>> 	  mirror-0                          ONLINE       0     0     0
>> 	    gpt/disk0                       ONLINE       0     0     0
>> 	    gpt/disk1                       ONLINE       0     0     0
>> 	logs
>> 	  diskid/DISK-BTTV334403R7200GGNp2  ONLINE       0     0     0
>> 	cache
>> 	  diskid/DISK-BTTV334403R7200GGNp1  ONLINE       0     0     0
>>
>> I can live with that, but I do not understand why the ada2 device
>> changed from gpt/* to diskid/* while the others did not?
>>
>> /dev/gpt entries are not even present for ada2, neither are ada2p?
>>
>> At least the system could try to be consistent ;-)
> gnop create -S 4096 /dev/diskid/DISK-BTTV334403R7200GGNp3
> zpool create ssd /dev/diskid/DISK-BTTV334403R7200GGNp3.nop
> zpool export ssd
> gnop destroy /dev/diskid/DISK-BTTV334403R7200GGNp3.nop
> zpool import ssd
> zpool status
As a matter of reference you dont need to do this anymore, instead use:
sysctl vfs.zfs.min_auto_ashift=12
before creating the pool.

     Regards
     Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?546CDED8.7040902>