Hi, I'm coming from a Solaris background so have a few queries on FreeBSD 13.0 / OpenZFS, any help appreciated.
1. In Solaris 11- disks on SAS2 connections, even if they are SATA, are identified as /dev/dsk/<World Wide Number> and ZFS pools are created using these devices. This made it really easy to identify disks and ensured that disk id's did not change if disks moved between slots. I'm using FreeBSD 13.0 with an LSI SAS9201-16e and the drives show as da0, da1 etc. Is there any way to use an alternative naming scheme such as WWN or serial number. I've seen a few posts mentioning /dev/diskid devices but that directory does not seem to exist on FreeBSD 13.0.
2. If devices such as /dev/da0 are all that is available, is there any way to get the WWN associated with /dev/da0?
3. On OpenZFS is it recommended to give ZFS "the whole raw disk" when creating pools, e.g. use /dev/da0 rather than create a partition and use that? I know on Solaris "whole disk" was strongly encouraged.
Thanks, and if any of these questions are addressed elsewhere, apologies I did search before posting.
1. In Solaris 11- disks on SAS2 connections, even if they are SATA, are identified as /dev/dsk/<World Wide Number> and ZFS pools are created using these devices. This made it really easy to identify disks and ensured that disk id's did not change if disks moved between slots. I'm using FreeBSD 13.0 with an LSI SAS9201-16e and the drives show as da0, da1 etc. Is there any way to use an alternative naming scheme such as WWN or serial number. I've seen a few posts mentioning /dev/diskid devices but that directory does not seem to exist on FreeBSD 13.0.
2. If devices such as /dev/da0 are all that is available, is there any way to get the WWN associated with /dev/da0?
3. On OpenZFS is it recommended to give ZFS "the whole raw disk" when creating pools, e.g. use /dev/da0 rather than create a partition and use that? I know on Solaris "whole disk" was strongly encouraged.
Thanks, and if any of these questions are addressed elsewhere, apologies I did search before posting.