I just installed 10.1-release on a Samaung EVO 250 SSD using the guided ZFS install steps. Unfortunately, the swap device (it partition does exist on the drive) isn't being created: # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 none swap sw 0 0 # ls -l /dev/ada0* crw-r----- 1 root operator 0x57 Jan 2 14:29 /dev/ada0 # swapinfo Device 1K-blocks Used Avail Capacity # gpart list Geom name: diskid/DISK-S21NNSAFC51114F modified: false state: OK fwheads: 16 fwsectors: 63 last: 488397134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: diskid/DISK-S21NNSAFC51114Fp1 Mediasize: 524288 (512K) Sectorsize: 512 Stripesize: 0 Stripeoffset: 17408 Mode: r0w0e0 rawuuid: ed197570-92ff-11e4-a9cb-6805ca13097a rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: gptboot0 length: 524288 offset: 17408 type: freebsd-boot index: 1 end: 1057 start: 34 2. Name: diskid/DISK-S21NNSAFC51114Fp2 Mediasize: 8589934592 (8.0G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 541696 Mode: r0w0e0 rawuuid: ed35488d-92ff-11e4-a9cb-6805ca13097a rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: swap0 length: 8589934592 offset: 541696 type: freebsd-swap index: 2 end: 16778273 start: 1058 3. Name: diskid/DISK-S21NNSAFC51114Fp3 Mediasize: 241468856832 (225G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 541696 Mode: r1w1e1 rawuuid: ed38d5f9-92ff-11e4-a9cb-6805ca13097a rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: zfs0 length: 241468856832 offset: 8590476288 type: freebsd-zfs index: 3 end: 488397134 start: 16778274 Consumers: 1. Name: diskid/DISK-S21NNSAFC51114F Mediasize: 250059350016 (233G) Sectorsize: 512 Mode: r1w1e2 So, what did I miss? Why isn't the /dev/ada0p2 device getting created? Thanks for any help! Bob -- Bob Willcox | Men who cherish for women the highest bob at immure.com | respect are seldom popular with them. Austin, TX | -- Joseph Addison
On Fri, 2 Jan 2015 15:08:55 -0600 Bob Willcox <bob at immure.com> wrote:> I just installed 10.1-release on a Samaung EVO 250 SSD using the > guided ZFS install steps. Unfortunately, the swap device (it > partition does exist on the drive) isn't being created: > > # cat /etc/fstab > # Device Mountpoint FStype Options > Dump Pass# /dev/ada0p2 none swap sw > 0 0 > > # ls -l /dev/ada0* > crw-r----- 1 root operator 0x57 Jan 2 14:29 /dev/ada0 > > # swapinfo > Device 1K-blocks Used Avail Capacity > > # gpart list > Geom name: diskid/DISK-S21NNSAFC51114F > modified: false > state: OK > fwheads: 16 > fwsectors: 63 > last: 488397134 > first: 34 > entries: 128 > scheme: GPT > Providers: > 1. Name: diskid/DISK-S21NNSAFC51114Fp1 > Mediasize: 524288 (512K) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 17408 > Mode: r0w0e0 > rawuuid: ed197570-92ff-11e4-a9cb-6805ca13097a > rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f > label: gptboot0 > length: 524288 > offset: 17408 > type: freebsd-boot > index: 1 > end: 1057 > start: 34 > 2. Name: diskid/DISK-S21NNSAFC51114Fp2 > Mediasize: 8589934592 (8.0G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 541696 > Mode: r0w0e0 > rawuuid: ed35488d-92ff-11e4-a9cb-6805ca13097a > rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b > label: swap0 > length: 8589934592 > offset: 541696 > type: freebsd-swap > index: 2 > end: 16778273 > start: 1058 > 3. Name: diskid/DISK-S21NNSAFC51114Fp3 > Mediasize: 241468856832 (225G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 541696 > Mode: r1w1e1 > rawuuid: ed38d5f9-92ff-11e4-a9cb-6805ca13097a > rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b > label: zfs0 > length: 241468856832 > offset: 8590476288 > type: freebsd-zfs > index: 3 > end: 488397134 > start: 16778274 > Consumers: > 1. Name: diskid/DISK-S21NNSAFC51114F > Mediasize: 250059350016 (233G) > Sectorsize: 512 > Mode: r1w1e2 > > So, what did I miss? Why isn't the /dev/ada0p2 device getting created? > > Thanks for any help! > > Bob >I just mounted it by diskid under /dev/diskid/... dont know if that right but it works
It did you just have disk idents enabled, which IMO are a PITA. Add this to /boot/loader.conf and you'll see the normal device names again. kern.geom.label.disk_ident.enable="0" If you also don't want gpt's or gptid's you can also add: kern.geom.label.gpt.enable="0" kern.geom.label.gptid.enable="0" Regards Steve On 02/01/2015 21:08, Bob Willcox wrote:> I just installed 10.1-release on a Samaung EVO 250 SSD using the guided ZFS > install steps. Unfortunately, the swap device (it partition does exist on the > drive) isn't being created: > > # cat /etc/fstab > # Device Mountpoint FStype Options Dump Pass# > /dev/ada0p2 none swap sw 0 0 > > # ls -l /dev/ada0* > crw-r----- 1 root operator 0x57 Jan 2 14:29 /dev/ada0 > > # swapinfo > Device 1K-blocks Used Avail Capacity > > # gpart list > Geom name: diskid/DISK-S21NNSAFC51114F > modified: false > state: OK > fwheads: 16 > fwsectors: 63 > last: 488397134 > first: 34 > entries: 128 > scheme: GPT > Providers: > 1. Name: diskid/DISK-S21NNSAFC51114Fp1 > Mediasize: 524288 (512K) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 17408 > Mode: r0w0e0 > rawuuid: ed197570-92ff-11e4-a9cb-6805ca13097a > rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f > label: gptboot0 > length: 524288 > offset: 17408 > type: freebsd-boot > index: 1 > end: 1057 > start: 34 > 2. Name: diskid/DISK-S21NNSAFC51114Fp2 > Mediasize: 8589934592 (8.0G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 541696 > Mode: r0w0e0 > rawuuid: ed35488d-92ff-11e4-a9cb-6805ca13097a > rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b > label: swap0 > length: 8589934592 > offset: 541696 > type: freebsd-swap > index: 2 > end: 16778273 > start: 1058 > 3. Name: diskid/DISK-S21NNSAFC51114Fp3 > Mediasize: 241468856832 (225G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 541696 > Mode: r1w1e1 > rawuuid: ed38d5f9-92ff-11e4-a9cb-6805ca13097a > rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b > label: zfs0 > length: 241468856832 > offset: 8590476288 > type: freebsd-zfs > index: 3 > end: 488397134 > start: 16778274 > Consumers: > 1. Name: diskid/DISK-S21NNSAFC51114F > Mediasize: 250059350016 (233G) > Sectorsize: 512 > Mode: r1w1e2 > > So, what did I miss? Why isn't the /dev/ada0p2 device getting created? > > Thanks for any help! > > Bob >