Interesting on the zpool front. I've certainly been able to execute a 
similar test on an 11.3 host recently.

Slightly newer though:
system/kernel                                     0.5.11-0.175.3.35.0.6.0

I doubt a bad name-service/switch would lead to SMF ditching the actual 
resolver settings, though.

On Sun, 29 Mar 2020, Tim Hogard wrote:

> What time does the system think it is?
>
> use truss to see what it thinks it is doing.  It might be trying to do dns 
> lookup using NIS.
>
>
> I have a solaris 11.3 box where this doesn't work:
>
> zpool create test c3d0s0
> zpool export test
> zpool import
>
> zpool import with -d and -D doesn't help.  The new zpool is just gone.
>
> Its an older 11.3:
>             FMRI: 
> pkg://solaris/system/[email protected],5.11-0.175.3.31.0.3.0:20180326T170250Z
>
> The intent was to create a new pool that is version 28 so I can move it to 
> freebsd.  Note that
> the pool needs to be version 28 and the zfs version needs to be 5 to do that.
>
> -tim
>
>> On Mar 29, 2020, at 12:37 PM, Chris Wells <[email protected]> wrote:
>>
>> Solaris 10 Intel Box seems to be an amnesiac.
>>
>>
>>
>> WHY WONT YOU WORK?????
>>
>>
>>
>>
>>
>>
>> root@marvin:~# svcprop "*" | grep 192.168.0.200
>> svc:/network/dns/client:default/:properties/config/nameserver net_address 
>> 192.168.0.200
>>
>> root@marvin:~# svccfg -s svc:/network/dns/client:default
>> svc:/network/dns/client:default> setprop config/nameserver = net_address: 
>> (192.168.0.5 192.168.0.6)
>> svc:/network/dns/client:default> quit
>> root@marvin:~# cat /etc/resolv.conf
>>
>> #
>> # _AUTOGENERATED_FROM_SMF_V1_
>> #
>> # WARNING: THIS FILE GENERATED FROM SMF DATA.
>> #   DO NOT EDIT THIS FILE.  EDITS WILL BE LOST.
>> # See resolv.conf(4) for details.
>>
>> domain  crispi.com <http://crispi.com/>
>> nameserver      192.168.0.200
>>
>> root@marvin:~# svcadm refresh network/dns/client
>> root@marvin:~# cat /etc/resolv.conf
>>
>> #
>> # _AUTOGENERATED_FROM_SMF_V1_
>> #
>> # WARNING: THIS FILE GENERATED FROM SMF DATA.
>> #   DO NOT EDIT THIS FILE.  EDITS WILL BE LOST.
>> # See resolv.conf(4) for details.
>>
>> domain  crispi.com <http://crispi.com/>
>> nameserver      192.168.0.5
>> nameserver      192.168.0.6
>>
>> root@marvin:~# sync
>> root@marvin:~# init 6
>>
>>
>>
>>
>> # AFTER REBOOT:
>>
>>
>> crispi@marvin:~$ cat /etc/resolv.conf
>>
>> #
>> # _AUTOGENERATED_FROM_SMF_V1_
>> #
>> # WARNING: THIS FILE GENERATED FROM SMF DATA.
>> #   DO NOT EDIT THIS FILE.  EDITS WILL BE LOST.
>> # See resolv.conf(4) for details.
>>
>> domain  crispi.com <http://crispi.com/>
>> nameserver      192.168.0.200
>>
>> crispi@marvin:~$ svcprop "*" | grep 192.168.0.200
>> svc:/network/dns/client:default/:properties/config/nameserver net_address 
>> 192.168.0.200
>>
>>
>>
>>
>> _______________________________________________
>> msosug mailing list
>> [email protected]
>> http://mexico.purplecow.org/m/listinfo/msosug
>> Delivered for: [email protected]
>
>

-- 
Andre van Eyssen.                  Phone:     +61 417 211 788
mail:     [email protected]      http://andre.purplecow.org
About & Contact:          http://www.purplecow.org/andre.html

_______________________________________________
msosug mailing list
[email protected]
http://mexico.purplecow.org/m/listinfo/msosug
Delivered for: [email protected]

Reply via email to