Re: [osol-discuss] zone IPS issues after Solaris 11 Express -> Solaris 11 release upgrade

2011-11-28 Thread Mike Gerdts
On Mon, Nov 28, 2011 at 1:12 PM, Brett Eisenberg  wrote:
>
> It would appear that there are some strange IPS issues within after upgrading 
> from 11E to 11R. If anyone has any pointers on possible paths forward, it 
> would be much appreciated.
>
> Best,
> Brett
>
>
> root@global:~# zoneadm -z zone1 halt
> root@global:~# zoneadm -z zone1 detach
> root@global:~# zoneadm -z zone1 attach -u

This would have brought the OS bits in sync between the global zone and zone1.

> Progress being logged to /var/log/zones/zoneadm.2028T180910Z.zone1.attach
> Attaching...
>    Installing: Using existing zone boot environment
>      Zone BE root dataset: data/zones/zone1/rpool/ROOT/zbe-8
>                     Cache: Using /var/pkg/publisher.
> Updating image format
> Image format already current.
>  Updating non-global zone: Linking to image /.
>  Updating non-global zone: Syncing packages.
> No updates necessary for this image.
>
>  Updating non-global zone: Zone updated.
>                    Result: Attach Succeeded.
> Log saved in non-global zone as 
> /zones/zone1/root/var/log/zones/zoneadm.2028T180910Z.zone1.attach
> root@global:~# zoneadm -z zone1 boot
> root@global:~# zlogin zone1
> [Connected to zone 'zone1' pts/12]
> Oracle Corporation      SunOS 5.11      11.0    November 2011
> root@zone1:~# pkg list -u
> NAME (PUBLISHER)                                  VERSION                    
> IFO
> consolidation/SunVTS/SunVTS-incorporation         0.5.11-0.172.0.0.0.0.0     
> i--
> consolidation/ips/ips-incorporation               0.5.11-0.175.0.0.0.2.2576  
> i--
> consolidation/osnet/osnet-incorporation           0.5.11-0.175.0.0.0.2.1     
> i--
> entire                                            0.5.11-0.175.0.0.0.2.0     
> i--
> package/pkg                                       0.5.11-0.175.0.0.0.2.2576  
> i--
> system/core-os                                    0.5.11-0.175.0.0.0.2.1     
> i--
> system/file-system/nfs                            0.5.11-0.175.0.0.0.2.1     
> i--
> system/file-system/zfs                            0.5.11-0.175.0.0.0.2.1     
> i--
> system/kernel                                     0.5.11-0.175.0.0.0.2.1     
> i--
> system/zones                                      0.5.11-0.175.0.0.0.2.1     
> i--
> root@zone1:~# pkg update
> Creating Plan \
> pkg update: No solution was found to satisfy constraints
> Plan Creation: Package solver has not found a solution to update to latest 
> available versions.
> This may indicate an overly constrained set of packages are installed.
>
> latest incorporations:
>
>  pkg://solaris/consolidation/SunVTS/SunVTS-incorporation@0.5.11,5.11-0.175.0.1.0.4.0:2008T154138Z
> Dependency analysis is unable to determine exact cause.
> Try specifying expected results to obtain more detailed error messages.

Solaris 11 introduces "parent dependencies", as described on page 38
of the draft "Packaging and Delivering Software with the Image
Packaging System" available at
http://defect.opensolaris.org/bz/attachment.cgi?id=4607.  I believe
that what pkg is inelegantly telling you is that you can't update to
the latest version of the desired packages because that would break
the parent dependencies.  That is, unlike Solaris 11 Express, Solaris
11 has mechanisms in place to be sure that the global zone and
non-global zone software that must be in sync is in sync.  If you want
the zone to run the latest version of the packages that make up
Solaris, the global zone must also be updated.

If you need a more detailed or certain answer, you may want to ask on
pkg-disc...@opensolaris.org.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Change host name on ora-Sol 11

2011-11-15 Thread Mike Gerdts
On Tue, Nov 15, 2011 at 8:43 PM, Harry Putnam  wrote:
> Is there some different way to change host name in oracle-solaris 11?
>
> There is no /etc/nodename file.  and I find the only place under /etc/
> the hosts' current name is referenced is in:
>   /etc/svc/profile/site/sc_profile.xml
>
> That doesn't look like the kind of place renaming would be done.
>
> So any special technique involved or am expected to create /etc/nodename?

>From nodename(4):

 When a machine is standalone or its IP address is configured
 locally,  the  svc:/system/identity:node  SMF  service has a
 property, namely nodename, for setting the system name.

 To set the name of the node use the following command:

   # svccfg -s node setprop config/nodename = "mynodename"
   # svcadm refresh node


-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris11 zone networking on VirtualBox

2011-11-15 Thread Mike Gerdts
On Tue, Nov 15, 2011 at 12:14 AM, Deniz Rende  wrote:
> Hi Mike,
>>
>> Option 1: Use shared-stack
>
> But that means that I am not going to be able to use all the goodies that
> come with ip-excl. :(

Agreed.  :(

>>
>>  You will then need to transition your network configuration in the
>
> zone from net0 to net1.
> Do you mean, sysconfig configure here or some othe procedure. Right now it
> looks like this:
> LINK                CLASS     MTU    STATE    OVER
> net0                phys      1500   up       --
> net1                phys      1500   unknown  --
> zdev1/net1          phys      1500   unknown  --

Whatever you do to reconfigure it, you need to do it in the zone.  You
can use sysconfig configure, or use ipadm.  I think the steps are
something along the lines of:

root@zone# ipadm delete-ip net0/
root@zone# ipadm create-ip net1/v4
root@zone# ipadm create-addr -T static -a local=addr/mask net1/v4

My fingers are still learning the new magic, so there could be
something horribly wrong in my advice.  If Seb gives conflicting
advice, he's probably right.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris11 zone networking on VirtualBox

2011-11-14 Thread Mike Gerdts
On Mon, Nov 14, 2011 at 11:25 PM, Deniz Rende  wrote:
>> It could be that this anet resource automatically picked the wrong
>> lower link.  From the global zone, what do "dladm show-link" and
>> "ipadm show-addr" say?
>
> I get the following information:
> root@solaris11:~# dladm show-link
> LINK                CLASS     MTU    STATE    OVER
> net0                phys      1500   up       --
> zdev1/net0          vnic      1500   up       net0
> root@solaris11:~# ipadm show-addr
> ADDROBJ           TYPE     STATE        ADDR
> lo0/v4            static   ok           127.0.0.1/8
> net0/v4           static   ok           192.168.1.20/24
> lo0/v6            static   ok           ::1/128
> net0/v6           addrconf ok           fe80::a00:27ff:fe22:cf2f/10
> I don't know if it worths to mention but the version of Solaris 11 is the
> text installI also don't have any trouble GZ networking:
> root@solaris11:~# ping www.google.com
> www.google.com is alive

I suspect that what is happening is that the zdev1/net0 vnic thinks it
is OK to allocate another MAC (Ethernet) address but virtualbox isn't
happy with it and thinks something in the VM is trying to spoof
packets  There may be a way within virtualbox to disable this
behavior, but I've not used virtualbox recently enough to remember.

Assuming you can't disable the vbox feature that seems to be getting
in the way, instead of using an anet resource which creates a vnic on
top of the global zone's net0, try one of the following:

Option 1: Use shared-stack

zonecfg -z zdev1
remove anet linkname=net0
set ip-type=shared
add net
set name=net0
set addr=192.168.1.13/24
set defrouter=192.168.1.254
end
exit
zoneadm -z zdev1 reboot

You will probably need to do some ipadm magic (ipadm delete-ip
net0/?) to make the configuration for net0 go away, else
network/physical:default will probably be in maintenance.


Option 2: Allocate another network

In this option, you need to have virtualbox provide another NIC.  That
is, shut down the VM, within the VirtualBox GUI, configure a second
network to look just like the first one, then boot the VM.

Once you are back in Solaris:

zonecfg -z zdev1
remove anet linkname=net0
add net
set physical=net1
end
exit
zoneadm -z zdev1 reboot

You will then need to transition your network configuration in the
zone from net0 to net1.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris11 zone networking on VirtualBox

2011-11-14 Thread Mike Gerdts
On Mon, Nov 14, 2011 at 10:46 PM, Deniz Rende  wrote:
> root@solaris11:~# zonecfg -z zdev1 info
> zonename: zdev1
> zonepath: /zones/zdev1
> brand: solaris
> autoboot: true
> bootargs: -m verbose
> file-mac-profile:
> pool:
> limitpriv:
> scheduling-class:
> ip-type: exclusive
> hostid:
> fs-allowed:
> anet:
> linkname: net0
> lower-link: auto

It could be that this anet resource automatically picked the wrong
lower link.  From the global zone, what do "dladm show-link" and
"ipadm show-addr" say?

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] jmc250 nic driver

2011-10-23 Thread Mike DeMarco
Masa has gotten back to me and said just to comment out the lines since they 
were only for debug purposes. I did and the driver compiled but many errors 
came up when it went to attach. I am going to follow up with Masa to see what 
he thinks about the errors.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] jmc250 nic driver

2011-10-22 Thread Mike DeMarco
I down loaded the jmge nic driver for my jmicron 25x laptop nic. The driver 
does not compile as it is trying to call hretime and the structure for hrestime 
does not seam to exist. 

Does anyone know of a way to compile this?

TIA
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] snv_134 rebooting without any cause

2011-04-29 Thread Mike Gerdts
On Fri, Apr 29, 2011 at 7:11 AM, Orkan Dere  wrote:
> Hello,
>
> I have a Sun Fire X4540 running opensolaris snv_134 and acting as nfs and 
> iSCSI storage. It's rebooting irregularly (couldn't find any pattern). 
> /var/adm/messages doesn't show any errors other than these (which I don't 
> think is the cause):
>
> Apr 29 14:27:22 thor console-kit-daemon[482]: [ID 702911 daemon.warning] 
> GLib-GObject-WARNING: g_object_set_property: construct property "seat-id" for 
> object `CkSession' can't be set after construction
> Apr 29 14:27:23 thor gnome-session[1668]: [ID 702911 daemon.warning] WARNING: 
> IceListenForConnections returned 2 non-local listeners: 
> inet/thor:54283,inet6/thor:47443
>
> "svcs -xv" doesn't return anything so everything seems to be working fine.
>
> And I cannot figure out what's causing the reboots. Can you please help me to 
> figure this out?

I suspect you have a hardware, cooling, or power problem.  I suspect
you may find more by poking around in the ILOM.

http://download.oracle.com/docs/cd/E19469-01/820-5549-12/

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] automounter permission denied

2011-04-27 Thread Mike DeMarco
I am running solaris 11 b151 on a T2000. I have automounter mounting several 
different nas appliances from different servers. I am trying to mount a 
filesystem from one of the nas servers through automounter and keep getting 
permission denied! Yet if I do a command line mount -F nfs I am able to mount 
the filesystem without a issue. What does automounter look at that mount does 
not to give this permission denied message? Note both server and client are on 
the same subnet with no firewalls. 
rpcinfo -p  from client reports  15 tcp/udp 1,2,3 all valid.

A snoop gets the following error
RPC R (#4) XID=1304395328 Program number mismatch (low=3, high=3)

Anybody know what is going on?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Solaris 11 release date

2011-04-01 Thread Mike DeMarco
Wouldn't it be great if Solaris 11 was released at 11:11 am on November 11, 2011

11 11 11 11 11 = 1023 decimal 

   O  R  A  C   L   E  ,S   O  L  A   RI   S
ascii   79 82 65 67 76 69 44 83 79 76 65 82 73 83  = 1023
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System hangs with mirrored root drive

2011-03-16 Thread Mike DeMarco
I just had another system hang at boot with a root mirror zpool. The partition 
tables of all disks in the mirror set are exactly identical. System hangs 
during a reboot and will go no further. I had to boot off of the CD and remove 
the mirrors from the root drive in order to get the host to boot. Several 
systems now do the same thing. All disks are Fdisk partitioned and then given 
to zfs.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Dropped my PC, S11e behaves strange??? Help!

2011-03-14 Thread Mike Gerdts
On Mon, Mar 14, 2011 at 4:29 PM, Orvar Korvar
 wrote:
> Ok, I think it seems easier to "zpool import" than open the chassi again. I 
> will try to boot live CD S11e and do a zpool import. I'll report back in 15 
> min.

If it made it far enough to tell you that filesystem/local is in
maintenance and gave you a login prompt, you can probably just log in,
look at the log I previously suggested and fix the problem.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Dropped my PC, S11e behaves strange??? Help!

2011-03-14 Thread Mike Gerdts
On Mon, Mar 14, 2011 at 2:26 PM, Orvar Korvar
 wrote:
> SunOS Release 5.11 Version snv_151a 64-bit
> Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
> Hostname: JamesBond
> mount: No such file or directory
> svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit 
> status 32
> Mar 14 18:23:07 svc.startd[9]: svc:/system/filesystem/local:default: Method 
> "/lib/svc/method/fs-local" failed with exit status 95.
> Mar 14 18:23:07 svc.startd[9]: system/filesystem/local:default failed 
> fatally: transitioned to maintenance(see 'svcs -xv' for details)

Any time you see a message about svc.startd reporting some error, the
way to find out more about the error is:

svcs -x 

In this instance:

svcs -x svc:/system/filesystem/local:default

It will include a line that says where a log file is that will give
you more information.  Read the last few lines of that log file to see
if it is helpful.


-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] What pkg is my command in.

2011-03-10 Thread Mike DeMarco
Thanks all I had thought the search function was for pkg names and not files 
inside packages.

Thanks for the knowledge.

mike
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] What pkg is my command in.

2011-03-10 Thread Mike DeMarco
How do you go about finding which package the command you want to add is in.

The command /usr/bin/resize is valuable to me so when I resize my terminal I 
can set the width and height with a single command. 
This command is not currently installed on my system and I need to figure out 
what package it exists in.

More to the point I need to find out how to track down the package that a 
giving command lives in.

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Esata for X4600?

2011-03-07 Thread E. Mike Durbin

I bought this over a year ago and it works for me.

http://www.newegg.com/Product/Product.aspx?Item=N82E16816132020

emike



On 03/07/2011 04:24 PM, Ken Mandelberg wrote:

I'm looking for half height PCIe ESata2 300gps card that is OpenSolaris 
compatable and supports Port Multiplier.

The Solaris Ready I/O page seems dated. This is to go in a Sun X4600.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Looking for Sun Studio 12

2011-03-07 Thread Mike DeMarco
Thanks That did it. I was able to download it from that repository.


Thanks for the help


mike
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Looking for Sun Studio 12

2011-03-07 Thread Mike DeMarco
Running build 151b. Downloaded package for Solaris 10 from Oracles web site but 
when I go to install it says to get it from the package repository. I can not 
find it in the package repository.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] evolution

2011-03-03 Thread Mike DeMarco
IMAP does not seem to work.

Evolution is configured for server type Microsoft Exchange.  with a https 
address in OWA URL field.

Does not seem to be any way to do this with thunderbird.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Zpool with multiple Raid-Z set of different LUN sizes....

2011-03-03 Thread Mike DeMarco
The two raidZ portions will be concat together. You should not see any 
performance change in read or write speeds.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] evolution

2011-02-28 Thread Mike DeMarco
Well it seems I am hitting bug 602735. Whenever evolution attempts to open two 
entry windows at one time it looses the pointer to the first window when the 
second one is opened. So Since it opens a window asking if I want this to be my 
default application and opens a window for username and password login it 
looses the pointer to the first one and can not accept any info for it. 

BAD BAD evolution.

Anyone have another mail client that they use to access microsoft exchange? Is 
there a plugin to Thunderbird to access exchange?

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] evolution

2011-02-28 Thread Mike DeMarco
I just upgraded my laptop to build 151a. When I start evolution it comes up 
with a dialog box asking if
I want evolution to be my default. This box has a yes and no entry key that 
when I press them the entry key presses but nothing happens and I can not go 
any further.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Authenticate against AD

2011-02-24 Thread Mike DeMarco
Check out "LikeWise" I have not used it but it is suppose to authenticate 
Solaris/linux/windows to AD.

You can find it on Freshmeat.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 : The new "pkg" command does not take http_proxy shell variable

2011-02-23 Thread Mike Gerdts
On Wed, Feb 23, 2011 at 9:09 PM, Nitin Verma  wrote:
> The new "pkg" command does not take http_proxy shell variable, as mentioned 
> in the Man page.
>
> I am running Solaris 11 as guest in VBox.
>
> I have set http_proxy="http://my_proxy_ip:8080";
>
> when I run, # pkg refresh or # pkg set-publisher  it just times out 
> network unreachable!!!
>
> Any help would be appreciated!
>
> Please note: using curl with same proxy I can access internet from my Sol-11 
> VM.
>

If the publisher(s) you are trying to access are https (instead of
http) you will also need https_proxy set.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System hangs with mirrored root drive

2011-02-14 Thread Mike DeMarco
OK so that leads me to, when I mirrored the disks I added slice 0 to the rpool 
with the other disk slice 0. Slice 8 contains block 0 of the disk which is not 
a part of the mirror. So what if anything should be done for block 0
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System hangs with mirrored root drive

2011-02-14 Thread Mike DeMarco
> Hi Mike,
> 
> I would check that your hardware is functioning
> correctly by using these 
> commands:
> 
> # fmdump -eV
> # iostat -En
> # more /var/adm/messages
> 
> Thanks,
> 
> Cindy
Yes all hardware is working, as a single disk drive the OS has no probelms. 
System only hangs when it is mirroring two drives to the rpool. System has 8 
drives in with multiple partitions on each. Both drives that mirror to the 
rpool have Solaris2 partition type and both have the active partition set.

Years ago it was recommended that zpool be built only with the whole device and 
not with a slice from the device. I am at a loss as to why the install builds 
the rpool from a slice rather than the entire drive.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] System hangs with mirrored root drive

2011-02-14 Thread Mike DeMarco
Before I upgraded I tried to mirror my root drive using Sun Volume Manager 
(Disk Suites)
and the system would hang while booting most of the time at:

Probing for device nodes

Well I figured it was a Volume Manager problem and once I upgraded and run zfs 
and a root pool it would go away. Well I am getting the same thing under a 
mirrored rpool.

I installed build 150 from a clean install into a rpool. After the install I 
ran a zpool attach rpool origdev newdev

This when through without a issue and it silvered the new drive to the old one. 
Once it completed I rebooted the server and it rebooted without a problem.  But 
after that reboot now it hange about %80 of the time at
Probing for device nodes:

Any ideas why?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 Express is out

2011-02-07 Thread Mike Suchodolski
The Oracle distros are worthless to me if there's no security patches 
available.  I'm trying openIndiana now.. thanks for the advice Alex!  so far 
only one issue .. the system lost display when the machine was unattended for 
some time.. seme to remember that happening with early version of Solaris 9..  
when I get itme I'll play with it..  My .02:  I hope the source lives on 
independent of Oracle.. a shame they ruined Solaris for the non corporate crowd.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 Express is out

2011-02-05 Thread Mike Suchodolski
I just found my way to this post.. I've been scratching my head as to why 
update manager has been failing to find any updates and I downloaded the latest 
"Oracle Solaris" to see if that would fix things.. only to find I can't even 
register my solaris machine anymore.. :-(

I'm a manager now.. been a developer, dba, and system admin.. Solaris has been 
with me on and off for 30 years..  I've kept it at home so I could keep my unix 
skills up.. Paying $1000 a year doesn't make any sense to me for home use.. 
would it really kill them to just push security patches?  

It's truly sad what Oracle has done to Solaris.. I guess I'll look to Linux.. I 
hear Ubuntu is pretty good..
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Mounting hard drive NTFS

2011-01-19 Thread Mike DeMarco
Ran  the mkntfs on a 1Tbyte usb drive mounted it using mountntfs and was able 
to read and write to it without a problem.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Mounting hard drive NTFS

2011-01-17 Thread Mike DeMarco
Depends what build you are on. B134 has all the ntfs built in.

Look in /usr/sbin:

mkntfs*
ntfscat*
ntfsclone*
ntfscluster*
ntfscmp*
ntfscp*
ntfsfix*
ntfsinfo*
ntfslabel*
ntfsls*
ntfsmount*
ntfsresize*
ntfsundelete*


This will allow you to create a ntfs filesystem and mount it.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] "small" jbod tower?

2011-01-17 Thread Mike DeMarco
I use a SuperMicro case that has a backplane and 8 sata hotplug drive slots 
Here is a link:

http://www.supermicro.com/products/chassis/4U/747/SC747TG-R1400-SQ.cfm
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Working with Cron under Solaris 10

2011-01-14 Thread Mike Gerdts
On Fri, Jan 14, 2011 at 4:32 PM, Forrest Aldrich  wrote:

> Running crontab -e is not applicable to what I'm doing here.  I experimented 
> with it and it turns out you can't use that functionality in a scripted 
> environment, it doesn't work.    I have a script that edits a line of a 
> crontab, either commented out or not.  Then it needs to tell cron to re-read 
> the tabs.

How about:

tmpfile=`mktemp`
crontab -l > $tmpfile
...  # munge the file here or in a pipeline with the previous command
crontab $tmpfile
rm -f $tmpfile

Before I knew about that approach, I also did things like setting
EDITOR (be sure VISUAL is unset) to the name of a script that knows
how to munge it.  That is, something like the following:

env -i PATH=$PATH EDITOR=/my/script crontab -e

And if you already edited it in place (I advise against it...)

env -i PATH=$PATH EDITOR=touch crontab -e

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] can you help about process?

2011-01-14 Thread Mike Gerdts
On Thu, Jan 13, 2011 at 2:27 PM, Deric Kwok  wrote:
> Hi
>
> I can't find the top in the solairs. but how can I know the process using?
>
> I only know the system is using high as "w"
>
> load average: 55.55, 53.77, 49.33

prstat is what you are looking for.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] binding ntp to specific inteface

2011-01-03 Thread Mike DeMarco
A little bit cleaner may be to define a host based route to the ntp server and 
-setsrc to the interface that you want it to use. 

route add host   -setsrc 
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] binding ntp to specific inteface

2010-12-31 Thread Mike DeMarco
options are added using svccfg, the following will show the configurable 
options:

svccfg -s svc:/network/ntp:default listprop config

There is no prop for -I interface.

You may have to go directly into the method and hard code it. Ugly maybe 
someone else has a better way.

/lib/svc/method/ntp

# Start the daemon. If debugging is requested, put it in the background,
# since it won't do it on it's own.
if [ "$deb" -gt 0 ]; then
/usr/lib/inet/ntpd "$@" --set-debug-level=$deb >/var/ntp/ntp.debug &
else
/usr/lib/inet/ntpd "$@" #insert -I interface here.
  
fi

This is very ugly. Hopefully someone else will post a better way.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Memory leak?

2010-12-22 Thread Mike DeMarco
> Unfortuanetly, your description is not very clear.
> Can you be a bit more precise?
> 
> Your actual problem seems to be, that you cannot
> import your old zpool on a new version of
> (Open)Solaris, right? This is actually more of a ZFS
> problem, so I'd suggest to direct your question to
> the zfs discussion on this forum - you will be
> getting much better help there.
> 
> Anyway… when I suffered from a zpool that wouldn't
> import and that crashed my server whenever I tried to
> import it, I have been given a couple of advices:
> 
> a) have the system generate a core dump for analysis
> b) try to mount the zpool read-only, since it might
> be one ore more file systems on the pool, that causes
> these crashes
> 
> Cheers,
> budy
I have learned to live with the can't import zfs. Last night I did a little 
more testing
with my problem of running out of memory and hitting swap without anything 
running 
except a nfs file transfer.

So last night I did a zfs send to a local disk of 180Gbyte zfs filesystem. This 
went well without a issue. Next I did a dd of that 180Gbyte file from my local 
zfs filesystem to a nfs mounted zfs filesystem. After about 80Gbyte transfered 
the system started swapping out "w column in vmstat has over 200 apps swapped 
out all 4Gbytes of memory gone and system performance went into the 
toilet. Nothing else except the standard Solaris OS stuff running. No reason 
for it to consume so much memory. Something in either the network driver or zfs 
over nfs is sucking all my memory up.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Oracles support SUCKS

2010-12-22 Thread Mike DeMarco
> I haven't had to call support yet for anything. But I
> would recommend escalating 
> to your Oracle account rep. If it's a mission
> critical server and on premium 
> support, I'd go as far as escalating up to the VP
> that covers your region. Every 
> time there's a change in any tech support
> organization, things go to hell in a 
> hand basket. So really the only way to get Oracle to
> fix this is to complain and 
> escalate. The more of that, the more pressure will
> come down from above and 
> things will improve again. This happened years ago
> when Sun off-shored support 
> and things were horrible. Eventually they listened
> and moved things back to the 
> US and support improved again.
> 
> I also remember when Symantec bought out Veritas, the
> support situation was bad 
> for a while and then improved after customers
> complained extensively.
> 
> 
>  *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> *-*-*-*-*-*-*-*-*-*-*-*
> Octave J. Orgeron
> Solaris Virtualization Architect and Consultant
> Web: http://unixconsole.blogspot.com
> E-Mail: unixcons...@yahoo.com
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> *-*-*-*-*-*-*-*-*-*-*-*
Oracle has topped EMC for the worst support ever.
This link says it all.

http://www.youtube.com/watch?v=0gQbM5lUU_8
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Oracles support SUCKS

2010-12-22 Thread Mike DeMarco
We have the highest level support on all of our Sun products.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Oracles support SUCKS

2010-12-21 Thread Mike DeMarco
Thanks I have submitted at that link.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Oracles support SUCKS

2010-12-21 Thread Mike DeMarco
I have been on hold for over 1 hour, I created a ticket through the web 
interface "which also sucks" Seems the web interface did not register the 
support request.

Larry you should be drawn and quarted
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Memory leak?

2010-12-21 Thread Mike DeMarco
Last night I was doing a zfs send over nfs from one server to another around 
100Gbytes. Nic interface is a Realtec using the native rge driver on build 150. 
As the zfs sends were progressing I would start to run out of memory "4 Gbyte 
on system" with not much else running. Then over 200 processes would get 
swapped out. I did a top to see if anything was holding onto all my memory and 
nothing showed up. I limited arc_max to 2Gbyte and it still happens. Tonight I 
am going to eliminate the rge driver and use the yge on my pci card instead to 
see if it still happens. Help please I have to transfer over 4Tbytes from one 
system to the other so I can upgrade from build 115 to build 151 since I can 
not import a lower level zfs pool since build 123 it has crashed every system I 
have attempted it on.

Thanks
mike
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris Express repository.

2010-12-15 Thread Mike DeMarco
Are there any documents on how to add our own packages to the local repository?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris Express repository.

2010-12-15 Thread Mike DeMarco
Got it to work. 


Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris Express repository.

2010-12-15 Thread Mike DeMarco
pkg install issue.

  To set clients to use only this depot server to retrieve package content
for the Oracle Solaris Express 2010.11 release, execute the following
command on each client (where  is the value you provided for
'origins' above):

pkg set-publisher -O  solaris


on the solaris 11 express package repository the README nolonger includes set 
the origins in the cfg_file. As the cfg_file template is missing from the 
archive I have no way to perform this step. So how is the publisher to be set 
without the cfg_file?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris Express repository.

2010-12-15 Thread Mike DeMarco
a little more explanation:

 I have installed Solaris Express b151a onto a Sparc T2000. The install is
 bare bones and I have built a repository on this system from parts a and b
 and have configured the system to look in this repository. Problem here is
 that there is no tools to extract from this repository available to me on
 the systems. I do know how to pkgadd from a package but the repository is
 not built to have packages installed using pkgadd. How do I track down
 dependent package needs.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Solaris Express and FlashArchives

2010-12-15 Thread Mike DeMarco
We use Flash Archives to recover servers for DR. I have noticed that the flar 
script is nolonger included and never worked with zfs. Flash Recovery was a 
cornerstone of production Solaris and one of the keys to its success in the 
business world. 
What if anything exists to give the same functionality for Disaster Recovery of 
the OS residing on zfs?

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Solaris Express repository.

2010-12-15 Thread Mike DeMarco
How can I install from the repository to sparc hardware with no graphics 
console. I was able to find the ssh tunnel display problem as no xauth is 
included with the base build. I have been able to get graphics to display back 
but there is no packagemanager in /usr/bin. Is there  a text based install 
tool? How do you install from the repository to sparc based platforms?

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] songbird bug

2010-12-08 Thread Mike DeMarco
When I upgraded from b134 to b151a Songbird hit a bug that makes it play the 
second song over and over again. I tried to go into the b134 repository and 
download that version but even though I as in the 134 repository my system kept 
installing from the b151 repository. How can I install from an older repository?

Thanks
mike
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] ndis

2010-12-04 Thread Mike DeMarco
> > Regards -- Volker
> +1, never worked, whatever I tried on my dell
> latitude D620
> bought a pcmcia card which works with malo driver :-(
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
> 

can you tell me what card you bought, I will go that route
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] ndis

2010-12-04 Thread Mike DeMarco
Attempting to get ndis to work for my broadcom wireless. I was able to 
configure the 386 portion but get a:
section relocation failed
when I try to run ndiscvt on the amd64 version.

Any ideas on how to cope with this?

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to compile libc or pthread ?

2010-11-30 Thread Mike Gerdts
On Mon, Nov 29, 2010 at 3:26 PM, Afantee Lee  wrote:
> Thanks for the suggestion.
> it seems Dtrace can profile the enter point and exit point of the program.
> It is a nice tool, but, I probably need more insides into the pthread 
> function it self.
> for example, I need to profile how many times the pthread_lock try to get the 
> access to the critical section. it is part of the pthread detail 
> implementation code.
>
> please let me know if you know any other tool might be helpful.
> Thank you a lot :)

Using the dtrace PID provider you can trace every instruction.
Consider the following:

Use mdb to disassemble a function:

$ echo pthread_rwlock_wrlock::dis | mdb /lib/libc.so.1
pthread_rwlock_wrlock:  pushl  %ebp
pthread_rwlock_wrlock+1:movl   %esp,%ebp
pthread_rwlock_wrlock+3:pushl  %ebx
pthread_rwlock_wrlock+4:subl   $0x4,%esp<__strdupa_len>
pthread_rwlock_wrlock+7:call   +0x0 
pthread_rwlock_wrlock+0xc:  popl   %ebx
pthread_rwlock_wrlock+0xd:  addl   $0x9435c,%ebx<_vwscanf_c89+0x14>
pthread_rwlock_wrlock+0x13: subl   $0x8,%esp
pthread_rwlock_wrlock+0x16: pushl  $0x0
pthread_rwlock_wrlock+0x18: pushl  0x8(%ebp)
pthread_rwlock_wrlock+0x1b: call   -0x1d0   
pthread_rwlock_wrlock+0x20: addl   $0x14,%esp
pthread_rwlock_wrlock+0x23: popl   %ebx
pthread_rwlock_wrlock+0x24: leave
pthread_rwlock_wrlock+0x25: ret

Use dtrace to list the available probes in that function:

# dtrace -l -n 'pid$target:libc.so.1:pthread_rwlock_wrlock:' -c /bin/true
   ID   PROVIDERMODULE  FUNCTION NAME
71738pid6477 libc.so.1 pthread_rwlock_wrlock return
71739pid6477 libc.so.1 pthread_rwlock_wrlock entry
71740pid6477 libc.so.1 pthread_rwlock_wrlock 0
71741pid6477 libc.so.1 pthread_rwlock_wrlock 1
71742pid6477 libc.so.1 pthread_rwlock_wrlock 3
71743pid6477 libc.so.1 pthread_rwlock_wrlock 4
71744pid6477 libc.so.1 pthread_rwlock_wrlock 7
71745pid6477 libc.so.1 pthread_rwlock_wrlock c
71746pid6477 libc.so.1 pthread_rwlock_wrlock d
71747pid6477 libc.so.1 pthread_rwlock_wrlock 13
71748pid6477 libc.so.1 pthread_rwlock_wrlock 16
71749pid6477 libc.so.1 pthread_rwlock_wrlock 18
71750pid6477 libc.so.1 pthread_rwlock_wrlock 1b
71751pid6477 libc.so.1 pthread_rwlock_wrlock 20
71752pid6477 libc.so.1 pthread_rwlock_wrlock 23
71753pid6477 libc.so.1 pthread_rwlock_wrlock 24
71754pid6477 libc.so.1 pthread_rwlock_wrlock 25

Use dtrace to see how frequently each of those instructions are hit:

# dtrace -qn 'pid$target:libc.so.1:pthread_rwlock_wrlock: {
@freq[probefunc,probename] = count() } tick-1s {printf("%Y\n",
walltimestamp); printa("%...@d %s:%s\n", @freq); trunc(@freq)}' -p 3395
2010 Nov 30 15:36:36
2010 Nov 30 15:36:37
2010 Nov 30 15:36:38
2010 Nov 30 15:36:39
  12 pthread_rwlock_wrlock:0
  12 pthread_rwlock_wrlock:1
  12 pthread_rwlock_wrlock:13
  12 pthread_rwlock_wrlock:16
  12 pthread_rwlock_wrlock:18
  12 pthread_rwlock_wrlock:1b
  12 pthread_rwlock_wrlock:20
  12 pthread_rwlock_wrlock:23
  12 pthread_rwlock_wrlock:24
  12 pthread_rwlock_wrlock:25
  12 pthread_rwlock_wrlock:3
  12 pthread_rwlock_wrlock:4
  12 pthread_rwlock_wrlock:7
  12 pthread_rwlock_wrlock:c
  12 pthread_rwlock_wrlock:d
  12 pthread_rwlock_wrlock:entry
  12 pthread_rwlock_wrlock:return
2010 Nov 30 15:36:40
2010 Nov 30 15:36:41
2010 Nov 30 15:36:42
2010 Nov 30 15:36:43
2010 Nov 30 15:36:44
...

--
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Zones zone.max-shm-memory setting.

2010-11-23 Thread Mike DeMarco
zone.max-shm-memory defines the maximum size of a shared memory segment. So if 
it is set to 4Gig then the maximum shared memory segment will be 4 Gig. You can 
have up to zone.max-shm-ids  segments set so this still can consume all of your 
memory.. If you want to limit the full amount of memory a zone can use you 
would set capped-memory, physical in your zone definition to the total amount 
of memory you want the zone to have.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 Express Repository - kinda bare

2010-11-16 Thread Mike DeMarco
I stand corrected. Concat the two parts together worked... Thanks
> Build 150 repository was two parts that were not
> concats. Instructions for that repository were to
> rsync the different repos after mounting the
> individual iso's
> I would think that would not change.
>
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 Express Repository - kinda bare

2010-11-16 Thread Mike DeMarco
> > did you download the repository or connect through
> > the web?
> > 
> > I have tried both and have problems both ways.
> > 
> > Part B of the repository will not mount up under
> any
> > filesystem type. after lofiadm the iso /dev/lofi/1
> > mount fails with not a hsfs filesystem. Part A
> works
> > fine.
> 
> You concatenate the two parts and mount the resulting
> .iso file - just fine. 

Build 150 repository was two parts that were not concats. Instructions for that 
repository were to rsync the different repos after mounting the individual iso's
I would think that would not change.

> 
> > 
> > When attempting to access the repository over the
> web
> > the path defined in b151 does not exist in the
> > published repository.
> 
> ??? how do you know what is in either? They are just
> two parts of a larger .iso file, as far as I
> understand it. 
> 
> Chavdar Ivanov
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 Express Repository - kinda bare

2010-11-16 Thread Mike DeMarco
did you download the repository or connect through the web?

I have tried both and have problems both ways.

Part B of the repository will not mount up under any filesystem type. after 
lofiadm the iso /dev/lofi/1 mount fails with not a hsfs filesystem. Part A 
works fine.

When attempting to access the repository over the web the path defined in b151 
does not exist in the published repository.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 Express is out

2010-11-16 Thread Mike Brancato
Just to clarify, what is my path forward from OS 2009.06?

The release is for development, prototyping, etc. To quote the license: "only 
for the purpose of developing, testing, prototyping and demonstrating your 
applications, and not for any other purpose." 

I'm doing none of those things.  I'm an "end-user" if you will in what I want 
to continue using OpenSolaris for.  I use it for purely personal purposes, 
mainly a ZFS NAS.

Now, the FAQ implies that Solaris 11 Express may be used for  other means: 
"Oracle Solaris 11 Express is the latest release of the Oracle Solaris 
operating system. This release is the path forward for developers, end-users 
and partners using previous generations of OpenSolaris releases."

Really?  That seems to disregard the license.  Does buying support then modify 
your license to include non-development or prototyping-related activities?

So do I stick with Solaris 11, and more importantly, may I for personal use?  
Or do I plan on going to either a dedicated NAS distribution such as Nexenta or 
to OpenIndiana?  The latter two both have free licenses which I know are 
compatible with my current use.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 Express is out

2010-11-15 Thread Mike Gerdts
On Mon, Nov 15, 2010 at 1:03 PM, Karel Gardas  wrote:
> interesting would be to know if the upgrade from OS 2009.06 is working well 
> or not.

I haven't tried that exact path, but I have image-update'd from
OpenIndiana to something that looks quite similar to Solaris 11
Express (build 150 instead of 151a)  I've been using the machine on
which I did this as my primary machine for a couple weeks now without
any problems.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System always hits dns

2010-11-06 Thread Mike Gerdts
On Sat, Nov 6, 2010 at 4:19 AM, Milan Jurik  wrote:
> Hi Mike,
>
> Mike Gerdts píše v pá 05. 11. 2010 v 13:06 -0500:
>> On Fri, Nov 5, 2010 at 12:22 PM, Milan Jurik  wrote:
>> >
>> > Hi,
>> >
>> > Mike Gerdts píše v pá 05. 11. 2010 v 12:10 -0500:
>> > > It is trying to do an IPv6 lookup (via ipnodes) before trying an IPv4
>> > > lookup (via hosts).  Since you probably aren't using IPv6, you can get
>> > > the desired behavior with:
>> > >
>> > > hosts: files nis dns
>> > > ipnodes: files
>> > >
>> >
>> > such config is really bd idea. Keep them in sync from Solaris 10
>> > releases.
>>
>> Can you elaborate?
>
> E.g. double parsing of flat file before going to DNS?

Before PSARC/2006/299 most people that would find this configuration
desirable would have a very small ipnodes file.  That is, it would
likely only have the entries added by the installer.

>
>>   If IPv6 is not in use, having ipnodes go to DNS
>> does little other than cause unnecessary DNS requests that will always
>> fail.  My observation is that the times that you notice it is failing
>> are those times where it causes a really long timeout to be invoked.
>>
>
> In correctly set environment DNS server will not timeout for 
> records requests.

Not everyone is so lucky to have a properly working DNS server.  In
particular, if you are having network problems that prevent you from
reaching the DNS server(s) then it can be quite frustrating.

>
> There are cases where such config will bring something good but only in
> rare cases it is not hiding some real setup problem. There is still not
> clear why with common setup of hosts/ipnodes he does not see effect of
> nscd cache and queries going to DNS even if needed data are in files.

Perhaps cached negative lookups (misses for IPv6) are timing out
before positive lookups?  That is, it forgets that ipnodes doesn't
provide the answer before it forgets that hosts has the answer.  As a
result, it has to go look to ipnodes since it is always searched
before hosts.

>
> Still, ipnodes are not obsolete because if you query only hosts
> database, DNS backend will generate only query only fo A record, in case
> of ipnodes, it will generate both (so your workaround will work).

My words were not chosen carefully...  Turning /etc/inet/ipnodes into
a symbolic link to /etc/inet/hosts "for backward compatibility", as
was done with the implementation PSARC/2006/299 makes ipnodes(4)
obsolete in my mind.  Solaris considers it a "stable" (not obsolete)
interface.  The effect of PSARC/2006/299 is that the non-existence of
the ipnodes file a completely workable configuration aside from those
users that would actually modify /etc/inet/ipnodes and expect it to
have some effect.  I did not intend to say that the existence of
ipnodes in nsswitch.conf was obsolete.  Sorry for the confusion.

http://arc.opensolaris.org/caselog/PSARC/2006/299/materials/spec.txt
http://hg.genunix.org/onnv-gate.hg/rev/318aeb1049d9

How does one force software that they did not write to use only hosts
lookups?  I've observed this problematic behavior on systems that do
not have and have never had an IPv6 address configured.  I'm not aware
of applications that first look to see if it is possible to speak IPv6
before asking the name service switch for an IPv6 address.  Initially
I was thinking it would be a useful enhancement to make the name
service switch fail fast if IPv6 was not configured and someone was
doing an ipnodes lookup that would hit DNS.  However, it is quite
reasonable to expect that an IPv4-only host would be able to ask about
the IPv6 world.

What I would really like is to say:

ipnodes: none

For the case where IPv6 is not used.  My first attempt at solving this
problem was to remove/comment the ipnodes nsswitch.conf entry.
However, this seemed to have the effect of ipnodes choosing the same
name services as hosts.  My initial debugging of these unwanted IPv6
lookups dates back many years (Solaris 8 or 9?) so things may have
changed.

>
> Best regards,
>
> Milan

Likewise,

Mike

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] System always hits dns

2010-11-05 Thread Mike Gerdts
On Fri, Nov 5, 2010 at 12:22 PM, Milan Jurik  wrote:
>
> Hi,
>
> Mike Gerdts píše v pá 05. 11. 2010 v 12:10 -0500:
> > It is trying to do an IPv6 lookup (via ipnodes) before trying an IPv4
> > lookup (via hosts).  Since you probably aren't using IPv6, you can get
> > the desired behavior with:
> >
> > hosts: files nis dns
> > ipnodes: files
> >
>
> such config is really bd idea. Keep them in sync from Solaris 10
> releases.

Can you elaborate?  If IPv6 is not in use, having ipnodes go to DNS
does little other than cause unnecessary DNS requests that will always
fail.  My observation is that the times that you notice it is failing
are those times where it causes a really long timeout to be invoked.

--
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] System always hits dns

2010-11-05 Thread Mike DeMarco
> So yes I took the dns away from ipnodes and the
> lookups stopped. So the question is why is ipnodes
> not adhearing to nsswitch hierarchy?

Duo. Ok since I don't have ipv6 in my DNS it was timing out on that 

All makes sense now..

Thanks for your help
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System always hits dns

2010-11-05 Thread Mike DeMarco
So yes I took the dns away from ipnodes and the lookups stopped. So the 
question is why is ipnodes not adhearing to nsswitch hierarchy?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System always hits dns

2010-11-05 Thread Mike DeMarco
> ssh will try to do krb auth by default and krb
> bypasses the nsswitch to
> always try DNS to canonicalize host names.  So it may
> help to config ssh
> to not try krb auth (which is basically the gssapi*
> auth methods, see
> man ssh_config).  If that doesn't help, use truss or
> dtrace to see how
> dns is getting called via ssh.
> 

Will:  Man pages say that GSSAPIAuthentication defaults to on. I turned it off 
in the ssh_config file and it still does a dns lookup.  
So what your saying is that in krb mode ssh does not do a gethostbyname ? What 
does it do since gethostbyname would hit the nsswitch.

> -- 
> Will Fiveash
> Oracle
> http://opensolaris.org/os/project/kerberos/
> Sent using mutt, a sweet, text based e-mail app
> 
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System always hits dns

2010-11-05 Thread Mike DeMarco
Even though nscd is running with the default ttl a ssh to the same host within 
a minute is still going out and hitting DNS.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] System always hits dns

2010-11-05 Thread Mike Gerdts
It is trying to do an IPv6 lookup (via ipnodes) before trying an IPv4 lookup
(via hosts).  Since you probably aren't using IPv6, you can get the desired
behavior with:

hosts: files nis dns
ipnodes: files

Releases of Solaris/OpenSolaris later than what you appear to be running
know how to look up IPv6 addresses via hosts as well.  That is, ipnodes in
nsswitch.conf becomes obsolete.

Mike

On Fri, Nov 5, 2010 at 12:03 PM, Mike DeMarco  wrote:

> Build 134
> My nsswitch.conf file is setup as such
>
> hosts files nis dns
> ipnodes files nis dns
>
> when snooping the interface I see dns lookups even though the ipaddress
> lives in the local host file and or the nis database.
>
> It was a very early problem with nsswitch that it would still follow
> through with requests even though they were satisfied with the prior
> request. I tried to limit it going out to the next resource if the current
> one was found with
>
> hosts:  files [SUCCESS=return] nis [SUCCESS=return] dns
> ipnodes:files [SUCCESS=return] nis [SUCCESS=return] dns
>
> But still every request goes to dns no matter what it finds in the files
> database or nis database.
>
> Waiting for a dns timeout on every ssh to a host that is not in dns is a
> killer.
>
> Anyone seen this behavior and have input.
>
> Thanks
> --
> This message posted from opensolaris.org
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>



-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[osol-discuss] System always hits dns

2010-11-05 Thread Mike DeMarco
Build 134
My nsswitch.conf file is setup as such

hosts files nis dns
ipnodes files nis dns

when snooping the interface I see dns lookups even though the ipaddress lives 
in the local host file and or the nis database.

It was a very early problem with nsswitch that it would still follow through 
with requests even though they were satisfied with the prior request. I tried 
to limit it going out to the next resource if the current one was found with

hosts:  files [SUCCESS=return] nis [SUCCESS=return] dns
ipnodes:files [SUCCESS=return] nis [SUCCESS=return] dns

But still every request goes to dns no matter what it finds in the files 
database or nis database.

Waiting for a dns timeout on every ssh to a host that is not in dns is a killer.

Anyone seen this behavior and have input.

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] [b 133] Catching messages on reboot from failure

2010-10-27 Thread Mike Gerdts
On Wed, Oct 27, 2010 at 9:31 AM, Harry Putnam  wrote:
> Marion Hakanson  writes:
>
>> As someone else mentioned, most of this stuff will end up in the
>> /var/adm/messages file.  Except, of course, for the very interesting
>> lowest-level boot problems.
>
> yeah... I got a little carried away there... I had long ago setup a
> /var/adm/debug.log that catches everything log message issued. with
>
>  *.debug              /var/adm/debug.log
>
> in /etc/syslog.conf
>
> Then forgot I had done so... The messages are there alright but now
> I'm finding they are not all that helpful... an example at the end.
>
>> The reason why it's so primitive is that at this point (in Solaris,
>> OpenSolaris, Linux, or Windows), you're still pretty much dependent
>> on whatever features the BIOS provides you, which limits you just
>> to the old-fashioned, low-tech text-only console.  There's just not
>> enough software running yet to give you a GUI.
>
> I'm not sure what you mean here With the same bios, linux manages
> to provide a text console that is vastly more useful... ie, it has gpm
> running. I wasn't asking for a gui,  I like a text console... but do
> like to be able to mouse copy from the buffer.
>
> About the console messages; they were concerning how to find the
> output using fmdump, and using the `Event ID' to do so.
>
> Now armed with the Event IDs that had scrolled off the screen:
>
> I still learn nothing very useful, that is, unless by pounding away on
> man fmdump and probably a number of other man pages this can be made
> sense of.  But not at all obvious what any of this might mean:
>
>  fmdump -v -u 4021154c-2d57-c54e-ae82-ea27fc2d19fa
>
> TIME                 UUID                                 SUNW-MSG-ID
> Oct 14 04:14:02.1292 4021154c-2d57-c54e-ae82-ea27fc2d19fa ZFS-8000-GH
>  100%  fault.fs.zfs.vdev.checksum
>
>        Problem in: zfs://pool=z3/vdev=e35825af18775fc2
>           Affects: zfs://pool=z3/vdev=e35825af18775fc2
>               FRU: -
>          Location: -

It looks to me like you got a checksum error in a zpool named z3.

>
> Oct 25 17:06:24.7775 4021154c-2d57-c54e-ae82-ea27fc2d19fa FMD-8000-4M Repaired
>  100%  fault.fs.zfs.vdev.checksum      Repair Attempted
>
>        Problem in: zfs://pool=z3/vdev=e35825af18775fc2
>           Affects: zfs://pool=z3/vdev=e35825af18775fc2
>               FRU: -
>          Location: -

It was repaired

>
> Oct 25 17:06:24.8987 4021154c-2d57-c54e-ae82-ea27fc2d19fa FMD-8000-6U Resolved
>  100%  fault.fs.zfs.vdev.checksum      Repair Attempted
>
>        Problem in: zfs://pool=z3/vdev=e35825af18775fc2
>           Affects: zfs://pool=z3/vdev=e35825af18775fc2
>               FRU: -
>          Location: -

And it has been resolved - you don't have to worry about it any more.

But, I would run "zpool status z3" to confirm that it says everything
is healthy.  It may also be advisable to run "zpool scrub z3" to have
zfs look for any more problems (hopefully all correctable) before they
pile up to a point where they aren't correctable.  If you keep having
problems, it may point to hardware problems (disk, cable, disk
controller, memory, etc.).

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] [b 133] Catching messages on reboot from failure

2010-10-27 Thread Mike Gerdts
On Wed, Oct 27, 2010 at 9:16 AM, Harry Putnam  wrote:
> Mike Gerdts  writes:
>
>> In which case you can edit the kernel line in grub to add a -k option
>> to the boot options.  If the system panics, you will be dropped to a
>> kmdb prompt.  You can manually enter kmdb with F1-A or shift-break
>> from a text console.  You can use Ctrl-Alt-F1 to shift to the text
>> console if you aren't there already.  Once at the kmdb prompt, you can
>> use ::msgbuf to see the things that have scrolled off the screen.  You
>> should get the output a page at a time.  If you need to provide this
>
> Thanks,, very helpful info there
>
>  I'm a bit confused though is all of this dependent on having the
>  system panic, or do you mean you can enter kmbd from a text console
>  any time?
>
>  For example, if I were to edit /rpool/boot/grub/menu.lst at this
>  line:
>
>  kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS # console=graphics
>
>  by adding `-k' before the octothorpe above.
>
>  On reboot, and from a text console I could enter kmbd as you
>  describe?

Yes

>
> Oh, and by the way, what is `shift-break'... is it on a standard us
> qwerty keyboard?   Maybe the `pause' key?

Quite likely.

Your initial description implied to me that the system was in some
state where you were stuck with just the text console, potentially
locked up.  The same text that is available with ::msgbuf in mdb is
also available from the dmesg command.  The dmesg command can be run
from a more capable terminal than the console - such as from a GUI
login session or remotely through ssh.  Most of the output that goes
to the console will also be logged by syslog - which I see you found
in a message you sent just a couple minutes ago.

If the system is behaving well and you want to poke around in it
without pausing the kernel, you can use "mdb -k" as well.  This can be
run from any root (or otherwise appropriately privileged) shell - you
don't have to be on the console.  The use of "mdb -k" on a live system
does not require that it was booted with the "-k" option.

Also, if you can find services that were unable to start with "svcs
-xv". Each of them will have a log file (see output of "svcs -xv")
that may have more useful information.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] [b 133] Catching messages on reboot from failure

2010-10-26 Thread Mike Gerdts
On Tue, Oct 26, 2010 at 9:09 PM, Marion Hakanson  wrote:
> rea...@newsguy.com said:
>> Why is the console interface left so primitive?.
>>   Seems it would at least have a usable mouse so one could have some chance
>> of copy paste when there are what appear to be important messages written to
>> console.
>
> Hi Harry,
>
> As someone else mentioned, most of this stuff will end up in the
> /var/adm/messages file.  Except, of course, for the very interesting
> lowest-level boot problems.

In which case you can edit the kernel line in grub to add a -k option
to the boot options.  If the system panics, you will be dropped to a
kmdb prompt.  You can manually enter kmdb with F1-A or shift-break
from a text console.  You can use Ctrl-Alt-F1 to shift to the text
console if you aren't there already.  Once at the kmdb prompt, you can
use ::msgbuf to see the things that have scrolled off the screen.  You
should get the output a page at a time.  If you need to provide this
information to mailing lists, take a somewhat low resolution picture
of it (e.g. a 1 megapixel picture from your mobile phone is most
likely quite adequate).

kmdb allows you to do many other interesting things, such as looking
at running processes (::ptree, ::ps, ...) looking as to why a
particular process is hung (::pgrep hungprocess | ::walk thread |
::findstack -v).  If you are inclined to dig into this further, I
would suggest perusing the mdb manual.  Pretty much everything that
works with "mdb -k" works with kmdb.  The key exception that I've
noticed is the lack of the ! operator to pipe dcmd output to a shell
command.  Considering that the OS is stopped while you are at a kmdb
prompt, it's not surprising that ! doesn't work.

The serial console advice below is also quite helpful if you have
suitable hardware.  Unfortunately, many systems these days lack a
serial port.  I doubt (without testing - I may be quite wrong) that a
serial port hanging off of a USB port will be a very poor/fragile
console.

> What you need to solve such "scrolling off the screen" problems is
> something even lower tech:  a serial (RS232, COM-port) console.
> Not all desktop PC BIOS'es can redirect their BIOS text to a COM
> port, but Solaris & Linux can be told to do so for their system
> console input & output.  And grub itself can be told to do this
> as well.
>
> Then you hook up your troublesome machine's serial (COM) port to
> a working machine's serial port, fire up a terminal emulator (Windows
> hyperterm will work;  On Linux/Unix I would use "conserver", but "tip"
> will do in a pinch), and watch the console messages that way.
>
> Of course, getting the serial ports wired correctly is a bit of an
> art (you may need a "null modem" cable, for example);  And there are
> some boot-time flags you enter via grub to tell whatever kernel you're
> booting to temporarily use a "tty" console.  Telling Google something
> like "solaris boot serial console" turns up quite a few references.
>
> Regards,
>
> Marion
>
>
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>



-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] What is the default root password for the latest builds

2010-10-22 Thread Mike DeMarco
ffound it
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] What is the default root password for the latest builds

2010-10-22 Thread Mike DeMarco
I have installed the latest build but do not know the root password?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] grub on hardware raid.

2010-10-19 Thread Mike DeMarco
If two drives are mirrored together in hardware at the controller level. Will 
grub also be mirrored? If the primary drive fails will the system still be able 
to boot?

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Quick question about the future

2010-10-14 Thread Mike Gerdts
On Thu, Oct 14, 2010 at 7:14 AM, john kroll  wrote:
>> What recent builds?
>
>
> The publicly released builds for community development ??

The only publicly released builds for community development have come
from the community.  The last one that Sun/Oracle published was b134.
I suggest that you take a look at OpenIndiana[.org] if you are looking
for a community driven distribution that continues on in the tradition
of OpenSolaris.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] pool cannot be imported or destroyed

2010-10-13 Thread Mike DeMarco
Can you try to import it using the id number instead of the name?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] dtcalc grabs mouse and won't let go

2010-09-29 Thread Mike DeMarco
> Note that galculator is not gnome-calculator. The
> latter can be started
> via Applications->Accessories->Calculator. The other
> is a project on
> SourceForge.
> 
> Not sure what version of gnome-calculator is on your
> system, but
> on mine, you adjust the number of decimal places via
> an entry on the
> Calculator->Preferences popup.
from about it say
gcalctool 5.28.2

Calculator
quit

This is all that is under the Calculator menu item.

But I do see a Acc pull down that does have the places. so I am good
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] dtcalc grabs mouse and won't let go

2010-09-29 Thread Mike DeMarco
> 
> And the internal calculating engine in
> gnome-calculator is the same one as that
> in dtcalc. Mike, I too would be interested in why you
> don't consider it comparable.


Comfort mostly. I have used dtcalc since the mid 90s and it fits like a old 
glove. I am use to its look and feel. Can't find a way to set the number of 
decimal places in galculator.. Stuff that a decade of use would resolve but 
then it will just change to something else. Its that old screwdriver in the 
tool chest that fits the hand just right even though the others have soft grip 
and high strength alloy. The old one gets all the use.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] dtcalc grabs mouse and won't let go

2010-09-29 Thread Mike DeMarco
build 134.
  dtcalc was left out of this build so I copied the binary over from my build 
121. 
whenever I press the right mouse button inside of dtcalc application the mouse 
pointer changes and becomes bound inside the application box. Only way I have 
been able to get it back is with a reboot.

A) any keystroke combo that will do a global unbind of the mouse pointer ?

B) Am I missing something from dtcalc?

I have not been able to find a comparable scientific calculator to use.

Thanks
mike
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 10,Oracle Solaris Express new license

2010-09-24 Thread Mike Brancato
I actually think we don't pay for AIX licenses as long as we maintain our 
hardware support contract... which we're going to do anyways...

Then again, we have a  ton of Power and zOS systems... so maybe IBM is just 
throwing that in as a bonus.  Totally possible, they gave me $100+K in free 
software because we said we were deciding between their software and a similar 
product by HP
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 10,Oracle Solaris Express new license

2010-09-24 Thread Mike Brancato
I actually think we don't pay for AIX licenses as long as we maintain our 
hardware support contract... which we're going to do anyways...

Then again, we have a  ton of Power and zOS systems... so maybe IBM is just 
throwing that in as a bonus.  Totally possible, they gave me $100+K in free 
software because we said we were deciding between their software and a similar 
product by HP
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] zpool upgrade and zfs upgrade behavior on b145

2010-09-10 Thread Mike DeMarco
I would just ran an upgrade on a pool at version 18 to version 22.

 zpool upgrade euclid
This system is currently running ZFS pool version 22.

Successfully upgraded 'euclid' from version 18 to version 22

And then look ad zdb.
zdb
euclid:

version: 18
name: 'euclid'
state: 0
txg: 234922
pool_guid: 4786614771504599496
hostid: 4343974
hostname: 'euclid-clevo'
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 4786614771504599496
children[0]:
type: 'disk'
id: 0
guid: 2080840568716594129
path: '/dev/dsk/c4t0d0p2'
devid: 'id1,s...@sata_st9320423as_5vj0tb3s/s'
phys_path: '/p...@0,0/pci1558,8...@1f,2/d...@0,0:s'
whole_disk: 0
metaslab_array: 23
metaslab_shift: 31
ashift: 9
asize: 256048103424
is_log: 0
rewind_txg_ts: 1283472786
seconds_of_rewind: 0
verify_data_errors: 0

So I would say that the upgrade is not changing the pool header information. 
This is probably a bug.

zpool get version does report the proper pool version.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] kudos

2010-09-08 Thread Mike DeMarco
I Just noticed that with zfs root filesystems the file browser has a header bar 
for browsing snapshot history on the filesystem. This is so cool. I hate the 
fact that great OSs and the fantastic people behind them go un-noticed while 
the mediocre gets all the fame.

Kudos Guys and Gals.

where do I send the case of beer?
mike
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] OpenSolaris cancelled, to be replaced with Solaris 11 Express

2010-09-08 Thread Mike Gerdts
On Wed, Sep 8, 2010 at 7:10 AM, usafverteran  wrote:
> That is nonsense and just tabloid talk.
>
> IBM just recently announced AIX 7 for their POWER 7 server line.  Linux 
> cannot in any way use the full capabilities of POWER architecture the way it 
> is exploited with AIX.  If IBM was to eliminate AIX, they would have to also 
> kill their POWER architecture, which isn't going to happen.
>
> Their POWER servers have a good margin and they make money from them.  There 
> are also very large companies that run AIX and have no intention to turn over 
> their AIX-powered servers to Linux on cheap x86 hardware.
>
> Linux doesn't have anywhere near the features that AIX can boast about.  RHEL 
> clustering is a joke at best, and Xen virtualization clustering on RHEL is 
> about as pathetic as one can get.  There isn't any way I would entrust my 
> company to RHEL for mission critical workloads.  Absolutely not.
>
> There is a complete fabrication that Linux is cheaper than AIX or Solaris.  
> Well, if I want to setup an infrastructure to patch, install, and maintain 
> servers, it won't cost me any money to use NIM or JumpStart.  However, to get 
> those features with Red Hat Satellite server, you will pay hundreds per 
> machine.  So if you have 1000 servers you need to provision with RHEL, then 
> you just spent $600,000 - $700,000.  When they come out with KVM in RHEL 6, 
> if you want to manage them it will cost you a few hundred more per virtual.  
> EVERY time one turns around, Red Hat is charging for some "feature" that is 
> free with AIX.

The analog to Jumpstart is Kickstart.  Kickstart is free.  On x86
hardware, a typical network-based installation consists of PXE (DHCP +
TFTP) + HTTP, FTP, and/or NFS.  There are options for doing it purely
from a CD/DVD and other non-network media.  It is free and has been
part of the OS for over a decade.  This is starting to sound rather
like Jumpstart, isn't it?

>From 2000:

http://www.redhat.com/docs/manuals/linux/RHL-6-Manual/ref-guide/

>From 2010:

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Installation_Guide/ch-kickstart2.html

The up2date and/or similar commands have been around for a long time
to automatically patch (upgrade RPMs).  Sun's free options have varied
over time and from my experience have been more of a PITA than
up2date.

I still prefer Solaris.  I'm just calling BS on this argument.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] OS 2009.06: ntpd dependency on zone startup

2010-09-05 Thread Mike Gerdts
On Sun, Sep 5, 2010 at 8:10 AM, Karel Gardas  wrote:
> Hello,
> is it possible to configure kind of dependency between NTP service startup 
> and zone startup? The issue here is that I'm using virtual router created in 
> one zone on the workstation and during the workstation boot NTP service is 
> not able to locate NTP servers since the network connection is not working 
> due to not yet booted router zone.
> Thanks,
> Karel

My first instinct is to add a dependency on svc:/system/zones:default.
 However, I think there is likely a race condition in that this
service will likely be online before the zones are actually fully up.
In particular, svc:/system/zones:default in the global zone may come
online prior to the appropriate routing related service in the
non-global zone.

Another approach would be to introduce a transient service that calls
a start script that does something like:

#! /bin/ksh

zone=...
svc=...# svc:/network/routing/route:default ?

function zonestate {
zoneadm -z "$1" list -p | awk -F: '{print $3}'
}

while [[ "$(zonestate $zone)" != running ]] ; do
echo "Waiting for $zone to start"
sleep 1
done

zlogin $zlone svcadm enable -t $svc


This new service could then list svc:/network/ntp:default as
"dependent" on this new service.  An example of using "dependent" can
be seen in /var/svc/manifest/system/metainit.xml to cause
svc:/system/metainit:default to (e.g.) come up in single user mode.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Build 134 NIS server

2010-09-03 Thread Mike Gerdts
On Fri, Sep 3, 2010 at 11:07 AM, Mike DeMarco  wrote:
> Am I missing something or has NIS server been pulled from build 134?

Perhaps you need to:

pkg install service/network/nis

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Build 134 NIS server

2010-09-03 Thread Mike DeMarco
Never mind: Just after post I checked the repository and found it.

Sorry
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Build 134 NIS server

2010-09-03 Thread Mike DeMarco
Am I missing something or has NIS server been pulled from build 134?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Doc for build upgrade

2010-09-01 Thread Mike DeMarco
I want to upgrade by build from 134 to 146 is there a document somewhere I can 
referenece on doing a live upgrade?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] SUNWipkg-brand

2010-09-01 Thread Mike Gerdts
On Tue, Aug 31, 2010 at 11:36 PM, adidas  wrote:
> please tell me how to know the pkg history. I am new to unix.

Type "pkg history" at the prompt.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] SchilliX-0.7.1 based on b147+ available

2010-08-31 Thread Mike Kirk
Is ftp.berlios.de/pub/schillix down or overloaded? I can't get to it at all... 
and the mirrors (ftp.uni-ulm.de/mirrors/schillix and 
ftp.uninett.no/pub/unix/schillix) only show 0.7.0.

I'll try be patient, and check again tomorrow :)

   Mike
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] SUNWipkg-brand

2010-08-28 Thread Mike Gerdts
On Sat, Aug 28, 2010 at 11:17 AM, adidas  wrote:
> I got update from package manager now. I installed it. But, I am unable to 
> find anything in this website about  it.
> Details are given below. A url is given, but I lost it.
> Summary:                 None
>  Size:                  77.30 kB
>  Category:              None
>  Installed Version:     0.5.11,5.11-0.111
>  Latest Version:        0.5.11,5.11-0.111
>  Packaging Date:        Wed Aug 26 18:56:54 2009
>  FMRI:                  pkg:/sunwipkg-br...@0.5.11,5.11-0.111:20090826T185654Z
>  Repository:            opensolaris.org

Based on the display at
http://pkg.opensolaris.org/release/en/index.shtml, the repo for build
111 (2009/06 has not been updated since June 4, 2010.  Note that the
Packaging Date listed above was from just over a year ago.

What does "pkg history" tell you?


-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Xclock is not starting

2010-08-26 Thread Mike DeMarco
# X11 connection rejected because of wrong authentication.
#
Caused by the .Xauthority file for the user you su'ed to not being in sync with
your .Xauthority

To correct:
1) su to user
chmod 666 /users/home/dir/.Xauthority
xauth merge /usr/home/dir/.Xauthority
2) su to user
XAUTHORITY=/usr/home/dir/.Xauthority;export XAUTHORITY

Message was edited by: mdemarco
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Halcyon ZFS and system monitoring software for OpenSolaris (beta)

2010-08-25 Thread Mike Kirk
Update: version 3.2.5 out now, with changes to better support snv_134:

http://forums.halcyoninc.com/showthread.php?t=368

If you've downloaded v3.2.4 and are on 09/06, there is no reason to upgrade.

Regards,

mike.k...@halcyoninc.com
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] snv_134 slow down every monday morning

2010-08-25 Thread Mike DeMarco
Do you have time-slider enabled? 
On Monday is the system slow or does it not respond at all?
Any messages?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Halcyon ZFS and system monitoring software for OpenSolaris (beta)

2010-08-19 Thread Mike Kirk
Hi all,

Halcyon recently started to add ZFS pool stats to our Solaris Agent, and 
because many people were interested in the previous OpenSolaris beta* we've 
rolled it into our OpenSolaris build as well. 

I've already heard some great feedback about supporting ZIL and ARC stats, 
which we're hoping to add soon. If you'd like to see what we have now, and 
maybe try it on your OpenSolaris system, please see the download/screenshot 
page here:

 http://forums.halcyoninc.com/showthread.php?p=1018

I know this isn't the best time to be posting about legacy OpenSolaris: we're 
keeping our eyes on Solaris 11 Express / Illumos and aim to support the more 
advanced features of Solaris 11 the day it's pushed out the door.

Thanks for your time!

Regards,

Mike dot Kirk at HalcyonInc dot com

* previous build: http://opensolaris.org/jive/thread.jspa?threadID=130507
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] OpenSolaris cancelled, to be replaced with Solaris 11 Express

2010-08-15 Thread Mike Gerdts
On Sun, Aug 15, 2010 at 6:38 PM, Erik Trimble  wrote:
> Oh, and a side remark - I think it would make a bit more of a pronounceable
> name if we used "IlluminOS"  (note the extra "in").   Also, the word is cool
> and appropriate.
>
> http://www.urbandictionary.com/define.php?term=illuminos
>

Maybe "illuminos" describes a person contributing to Illumos, just as
a Joyeur is a person working for for Joyent.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] gnome-sound-properties

2010-08-06 Thread Mike DeMarco
Does anyone know what happened to gone-sound-properties? Is there something 
that replaced it? Wanted to configure sound events and can not find anyway to 
do it. Same with evolution, unable to play sound file on incoming emails.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] upcoming web event:strategy for Oracle's Sun Servers, Storage and solaris

2010-08-06 Thread Mike Gerdts
On Thu, Aug 5, 2010 at 10:57 PM, Paul Gress  wrote:
> On 08/ 5/10 11:31 PM, Edward Martinez wrote:
>
> I think this may be important to  solaris customers:)
>
>
> excerpt:
> Tuesday, August 10, 2010
> 9:00 a.m. – 10:00 a.m. PT   Live Webcast
>
> Join John Fowler, Executive Vice President, Systems, for a live update on
> the strategy and roadmap for Oracle’s Sun servers, storage and complete
> systems including Oracle Solaris.
>
> http://www.oracle.com/webapps/events/EventsDetail.jsp?p_eventId=119649&src=7011191&src=7011191&Act=6&evite=6
>
>
> Some up news above.  Some down news below:
>
> Oracle chops Sun HPC jobs
>
> http://www.theregister.co.uk/2010/08/05/sun_hpc_cuts_systems/
>

Which makes this even more confusing...

http://blogs.sun.com/templedf/entry/not_dead_yet

Does this mean that Grid Engine is shifting its focus from HPC to
business computing?  I've long thought that business computing could
learn a thing or three from HPC.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] New onnv distro naming suggestion

2010-08-04 Thread Mike La Spina
I like "Sonus" the reverse of the original SunOS. Hey! Maybe Larry won't 
disSonus. lol
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] The Illumos Project

2010-08-04 Thread Mike Gerdts
On Wed, Aug 4, 2010 at 10:24 AM, Paul Gress  wrote:
> On 08/ 4/10 09:40 AM, Matthias Pfützner wrote:
>
> I wasn't refering to Illumos adding anything. I just mentioned, that nVIDIA
> does write the driver for all versions of Solaris and that they are
> therefore
> the focal point of contact, just like you mentioned. I only asked you, as
> you
> are in good contact with nVIDIA and might have known anything about their
> possible plans w.r.t. CUDA or OpenCL... ;-) But: I know: No Comment...;-)
>
> And: Yes, if there's business, they'll do it, that's for sure...
>
>
>
> Yes I believe that would be true if the OS was developed for Workstations.
> The only commitment I see from Oracle is Servers and Databases.  Would CUDA
> help there?
>

CUDA and OpenCL seem to be heavily used in HPC for general purpose
calculations - not necessarily for displaying to a screen.  For
example...

http://www.nvidia.com/object/io_1226945999108.html

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Trouble formating usb external hard drive.

2010-08-04 Thread Mike DeMarco
> By the way, a duel is a formal fight between two
> persons armed with 
> deadly weapons.  I assume your operating systems
> aren't engages in 
> mortal combat!

Yes Duel boot Windows and Solaris. If ever there were two entities locked in 
mortal combat it is Windows and Solaris.

Thanks for the correction. Dual as in two
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


  1   2   3   4   5   6   7   8   >