[OpenIndiana-discuss] Timeslider

2012-02-23 Thread Harry Putnam
I'm running OI b 151a.  I haven't touched it for at least 5/6 mnths
due to a move from northern Indiana USA to Atlanta GA USA.

Finally gotten around to start re-establishing my zfs (home lan)
server that was reduced to some saved harddrives during the move.  The
hardware they ran was dumped.

So far I just re-enabled an instance of OI running in a Vbox vm on
windows 7.

The install happened months ago but I was never able to get the
timeslider stuff working.  It would always fail shortly after
booting.

I believe there was some common trouble in that line in general at
that time.

Have the timeslider problems been fixed or changes made since 5/6 mnths
ago? 


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Revive retired disks with data sets on them with vitual OI

2012-03-25 Thread Harry Putnam
I have several disks from a period when I had a hardware setup of OI
on its own physical machine.

I'm now trying to run OI as a Virtualbox Guest on a 64bit win 7
machine.  I've had it running for some time but just using some small
virtual disks to play around with.

The win7 box is a Sager (NP8760)Laptop with:
Inel Core i7 CPU Q820 @1.73 1.73 cpus (8) - Clevo W870CU mobo and 8GB
ram.

(The setup described below is expected to be temporary until such time
as I can dedicate a physical machine to OI as before.. . probably a
good while)

I would like to set up those retired disks (which were left exported
when I retired the machine) in some kind of exterior holder and access
them as disks for the virtual OI.

How best to accomplish that?  I have 
1 fire wire and 
3 usb2 ports
1 esata 

on the win7 machine and the possibility of adding a second NIC by way
of the laptops expansion card slot.

Just a bit lost as to how to set things up so that the virtual OI b151
can see those disks, import and continue using them as its native
disks.

Is there some kind of housing with no OS that would stand as the disk
holders, but the OS and controllers would be on the virtual OI guest,
running on win 7.

Or really any way at all to accomplish the idea of using those disks
and data sets by way of a Virtual Guest running OI.

There are actually 3 pair of disks that were set up in mirrored
zpools: 2 @ 500 gb (Older IDE) 
2 @ 500 gb (oldish sata)
2 @ 750 gb (slightly newer sata) 

I'd like to be able to use them all from the Virtual guest OI setup.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Revive retired disks with data sets on them with vitual OI

2012-03-30 Thread Harry Putnam
Jonathan Adams t12nsloo...@gmail.com writes:

 Probably not the most reliable, but definitely the easiest, way to get
 access to your data is to use USB disks because VirtualBox allows
 direct USB passthrough.
 My boss uses OpenSolaris with USB drives to get access to the ZFS pool
 running on his Linux system.

[...]

 There are actually 3 pair of disks that were set up in mirrored
 zpools: 2 @ 500 gb (Older IDE)
        2 @ 500 gb (oldish sata)
        2 @ 750 gb (slightly newer sata)


[...]

Richard Elling richard.ell...@richardelling.com writes:

 On Mar 26, 2012, at 12:34 PM, Jonathan Adams wrote:

 Probably not the most reliable, but definitely the easiest, way to get
 access to your data is to use USB disks because VirtualBox allows
 direct USB passthrough.
 My boss uses OpenSolaris with USB drives to get access to the ZFS pool
 running on his Linux system.

 USB drives tend to ignore cache flush commands, which can appear as
 unreliable disks. Shouldn't be much of a problem if you rarely plug them.

Is the kind of size (3.5 TB) and scale mentioned above available in usb drives?
Any chance of mirrored pairs as described?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] i7 cpu that accepts ECC Ram

2013-01-26 Thread Harry Putnam
Summary:
I hope someone here can tell me if there is a setup using recent i7
cpus that supports ECC ram.  

Is there a motherboard that supports both?

Further, please feel free to suggest the best setup in your opinion
for running OI, (primarily for the zfs based storage setup with
several mirrored pairs of discs) but also at least one vm with a win7
based guest capable of running all the adobe tools and any of the
associated cpu intensive chores involved with editing video and other
intensive Graphics chores.

Note: This would be a single user setup. 

----   ---=---   -   

More detail:

I want to build up a system with 16-32 GB ram that can run openindiana
but can also run vms with at least one of them hosting a heavy duty
Win7 OS, capable of using all the adobe tools to the max.  But also
several other vms running various linux based OSs.

I noticed, while using the build it yourself type things on ebay
(mostly 'SuperMicro' sponsored) that when building any of the i7 based
setups, none listed asus motherboards (or any other brand I found)
that say explicitly they support ECC ram.

Whereas, when building based on recent AMD cpus, nearly all the asus
motherboards listed show explicit support for ECC ram.

I've also seen threads in various online forums suggesting no i7 based
system can use ECC ram.  Hopefully someone here will know the actual
state of affairs.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] i7 cpu that accepts ECC Ram

2013-02-01 Thread Harry Putnam
Bob Friesenhahn bfrie...@simple.dallas.tx.us writes:

[...]

 If you are not dead-set on having an an i7 CPU, then there are many
 more options.  SuperMicro makes some nice motherboards which work with
 Xeon CPUs and support ECC memory and built-in audio.  These
 motherboards are basically server-class motherboards with
 workstation options.  These run VirtualBox very well.

 Here are some examples.  I think that OpenIndiana should work on all
 three:

 http://www.supermicro.com/products/motherboard/Xeon/C600/X9SRA.cfm

 http://www.supermicro.com/products/motherboard/Xeon/C600/X9DAL-i.cfm

 http://www.supermicro.com/products/motherboard/Xeon/C600/X9DAi.cfm

Thanks for the helpful input.

Looking at specs and trying to imagine a working home system seems to
throw my pea brain into 'flight of fight' syndrome and it mostly
freezes. Probably due to a horribly weak background in comp tech.

I don't notice any mention of graphics while paging round those sites
and linked sites.

Do server platforms generally not have graphics or is it just inserted
into a slot somewhere?  or what?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Auto snapshots

2013-02-01 Thread Harry Putnam
Probably well trodden ground, but looking back into the past list
discussions I'm not noticing a straight answer about this.

I quit working with OI some 1.5 yrs ago and have forgotten most
of what I ever learned about using it.

I do remember there was a problem with auto snapshots in the early
builds available shortly after the break from opensolaris to
openindiana.  I think build 148 to 150 were the last builds I used.

Has that issue been completely resolved... auto snapshots now work
with no problems?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Pounding on well trod ground..

2013-04-22 Thread Harry Putnam
Sorry to go over what must have been already covered many times but I
dropped out of OI participation for a good long while.

Hopefully someone will feel kindly disposed and post a brief outline
of how to go from zero to running a vb vm of current OI on a win7
64bit host.

I know the repos have changed since I last ran OI so, beginning with
the most recent build numbers and where to get them in *.iso format.
And a short summary of any things that have changed substantially that
would effect a successful vm guest intall on a win7 64bit host.

I remember how to point the installer to the iso file inside vb and
how to create or add virtual discs.

I last participated in OI use about 5/6 mnths after OI came out of
opensolaris.

Once I have a running install, is the syntax for the packages still
something like REPONAME/dev?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Pounding on well trod ground..

2013-04-23 Thread Harry Putnam
Edward Ned Harvey (openindiana) openindi...@nedharvey.com writes:

 Once I have a running install, is the syntax for the packages still
 something like REPONAME/dev?

 sudo pkg search subversion
 sudo pkg install subversion
 (or whatever)

I probably phrased poorly.  What I'm asking there is once the OS is
installed and working.  If I want a software package using the gui
software management tool, and I want to keep up with the development
version ... we used to have the name of the repo and the dev directory
after plugged into the software tool.

Something like:
REPONAME/dev

So I'm asking for the address to use with the gui software tool?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] should there be a network inplace on first boot

2013-04-25 Thread Harry Putnam
Once installed and on first boot of newly installed OS.

Should there be a network in place or does all that need to be done
once os is running before the pkg tool can be used .

The install itself is able to create a network but then it seems the
booted OS is back to square 1.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] [b 134] consensus on create static IP

2010-11-08 Thread Harry Putnam
I've been pawing around with google looking for a standard way to set
up a static IP address on newer opensolaris builds, in this case b
134.

I see at least 3 different methods described... all different.

The most recent appears to be Jan 2010... but doesn't say what build.

Before I start just mucking around experimenting, isn't there a tried
and true way to do this by now?

Some straightforward numbered guide that works for recent builds?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] [b 147] Consensus on how to set up static IP

2010-11-08 Thread Harry Putnam
Can anyone point me to, or supply a brief step thru describing a known
to work method for setting up a static IP address.

One with complete steps that are current, as it appears from googling
around that there are several ways described and not all work on newer
opensolaris like b 134.

Does that also apply to oi?

Do we have a standard way to do this now?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [b 147] Consensus on how to set up static IP

2010-11-08 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 Can anyone point me to, or supply a brief step thru describing a known
 to work method for setting up a static IP address.

 One with complete steps that are current, as it appears from googling
 around that there are several ways described and not all work on newer
 opensolaris like b 134.

 Does that also apply to oi?

 Do we have a standard way to do this now?

someone filed a bug about this and another user closed it saying the
desktop network icon would allow for manual setup.

It does have that provision and can be accessed by clicking on the
network icon,  but after a dozen attempts at setting it
to manual and patiently filling in address and netmask... it fails to
connect and reports the cable is out.

My home lan is on 192.168.0.0.  I set the manual IP to
192.168.0.5 (nothing else is on that IP)

subnetmask:
to 255.255.255.0

(Default route is set to my lan router (192.168.0.20)

Using those numbers, the connection fails every time.
And cleverly switches me to a `profile' named `nonet'

If I then click on the same connection and set it to dhcp it connects
in a second or two.

So near as I can see the tools fail to create a static IP, and do so
with no usable error ouput, only a completely mistaken message saying
the cable is out.

Is that a bonafide bug or am I still doing something wrong?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [b 147] Consensus on how to set up static IP

2010-11-10 Thread Harry Putnam
Christopher Chan christopher.c...@bradbury.edu.hk writes:

 On Tuesday, November 09, 2010 07:16 AM, Harry Putnam wrote:
 Can anyone point me to, or supply a brief step thru describing a known
 to work method for setting up a static IP address.

 One with complete steps that are current, as it appears from googling
 around that there are several ways described and not all work on newer
 opensolaris like b 134.

 ???

Is it really too hard to ask a question?  A series of question marks is
pretty meaningless.

[...]

 Do we have a standard way to do this now?


 I don't know about standard but for static ips, I use the 'old way'
 and not nwam. Which is stuff ip-address into /etc/hostname.interface0,
 svcadm disable network:nwam; svcadm enable network:physical and edit
 /etc/resolv.conf and check for dns in /etc/nsswitch.conf for hosts.

Exactly what I hoped to avoid.

----   ---=---   -   

DerSaidin dersai...@gmail.com writes:

 Hello,

 See: http://blogs.sun.com/PlasticPixel/entry/nwam_static_ip_address_for

 The other files you'll want to check (I'm unsure if these are essential)
 when setting up a NIC are:
 /etc/nsswitch.conf
 /etc/defaultrouter

I've seen various comments about that  /etc/nsswitch.conf
In my case it shows `files' first at every entry including `host'.
Apparently some where added by dhcp when that was used:

From /etc/nsswitch.conf on opensolaris b 134
[...]
  #hosts:  files # Commented out by DHCP
  hosts: files dns # Added by DHCP
  #ipnodes:files # Commented out by DHCP
  ipnodes: files dns # Added by DHCP
[...]

About /etc/defaultrouter I do not have that file.  I could of
course create it, but it seems to work without it.

  find /etc/ -iname '*router*'   nada

But the route is still set and shows up in `netstat -nr' So that one
(/etc/defaultrouter) may not be necessary (this is on opensolaris b
134) 

--- - ---=--- - 

Thanks for the URL... yes, I found other input very similar and did that on an
opensolaris install successfully so hopefully it will also do the job
on openindiana b 147 Haven't got to it yet.

However I will say that opensolaris b 134 does not have the same setup
at the network icon on upper left of desktop.  

oi b 147 has a different and better dialog far as I saw.  And it may
have actually done the job... it turned out that my virtual networking
was confused by having both vmware and vbox installed apparently
when I installed vbox (after vmware by a week or two) it took over the
vmware vmnet adaptors somewhat confusing... but ok now.


 NWAM does static IP nicely, just not all settings are entirely accessible by
 GUI (imo config files are simpler/nicer anyway).

Yes, give me files too but which are you referring to that are not
accessible?  Do you mean /etc/defaultrouter and /etc/nsswitch.conf?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [osol-discuss] Can this scenario be accomplished?

2010-11-11 Thread Harry Putnam
Sean s...@ttys0.net writes:

 After a zpool import of the attached zpool, the zpool and associated
 zfs filesystems will be visible and accessible.

Thanks again... that cleared some of it up.  

I see what I've been stumbling over is what `importing' is really
like.  I had visions of actually slurping all the data somewhere.

But apparently it is more a process of allowing the running os to
recognize the data where it is.  Once that is done then the usual
kinds of movement of data become possible.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] find size of raw disks

2010-11-21 Thread Harry Putnam
Is there some way to determine the size of disks discovered with
`format'

An attempt to create a 2 disk mirror failed with the message that the
disks were different sizes, but I thought they were the same size... I
must have used the wrong identifier for one of the disks... so to find
the matching disk how can I tell what size the discs turned up by
format are?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] find size of raw disks

2010-11-21 Thread Harry Putnam
McBofh james.c.mcpher...@gmail.com writes:

 On 22/11/10 01:44 PM, Harry Putnam wrote:
 Is there some way to determine the size of disks discovered with
 `format'

 An attempt to create a 2 disk mirror failed with the message that the
 disks were different sizes, but I thought they were the same size... I
 must have used the wrong identifier for one of the disks... so to find
 the matching disk how can I tell what size the discs turned up by
 format are?



 $ pfexec format
 Searching for disks...done


 AVAILABLE DISK SELECTIONS:
0. c3t4d0 ATA-ST3320620AS-Dcyl 38910 alt 2 hd 255 sec 63
   /p...@0,0/pci10de,3...@a/pci1000,3...@0/s...@4,0
1. c3t6d0 ATA-ST3320620AS-Kcyl 38910 alt 2 hd 255 sec 63
   /p...@0,0/pci10de,3...@a/pci1000,3...@0/s...@6,0
2. c5t5000C500204C9482d0 ATA-ST31000528AS   -CC38 cyl 60797 alt 2 
 hd 255 sec 126
   /scsi_vhci/d...@g5000c500204c9482
3. c5t5000C500205E77DBd0 ATA-ST31000528AS   -CC38 cyl 60797 alt 2 
 hd 255 sec 126
   /scsi_vhci/d...@g5000c500205e77db
4. c5t5000CCA35DE9C580d0 ATA-Hitachi HDS7210-A3EA cyl 60797 alt 2 
 hd 255 sec 126
   /scsi_vhci/d...@g5000cca35de9c580
5. c5t5000CCA35DEA1ED5d0 ATA-Hitachi HDS7210-A3EA cyl 60797 alt 2 
 hd 255 sec 126
   /scsi_vhci/d...@g5000cca35dea1ed5
6. c5t5000CCA00510A7CCd0 HITACHI-HUS1514SBSUN146-SA02 cyl 17826 alt 2 
 hd 255 sec 63
   /scsi_vhci/d...@g5000cca00510a7cc
7. c5t50024E90037AF38Cd0 ATA-SAMSUNG HD103SJ-0001 cyl 60797 alt 2 
 hd 255 sec 126
   /scsi_vhci/d...@g50024e90037af38c
8. c5t50024E90037AF390d0 ATA-SAMSUNG HD103SJ-0001 cyl 60797 alt 2 
 hd 255 sec 126
   /scsi_vhci/d...@g50024e90037af390
9. c6t0d0 drive type unknown
   /p...@0,0/pci108e,6...@2,1/h...@6/h...@1/stor...@1/d...@0,0
   10. c6t0d1 drive type unknown
   /p...@0,0/pci108e,6...@2,1/h...@6/h...@1/stor...@1/d...@0,1



 It's mostly the cylinder numbers that you need to watch out for.
 If you have devices with the same claimed manufacturer size but
 different geometry, I'd create a slice of the maximum size on the
 smaller disk, then create a slice with the same number of cylinders
 on the larger disk, and then mirror those two slices.

Thanks... very helpful.  I noticed though that once a disk is formatted
or put into a zpool the cyl no. is no longer given, but then the size
is shown

I did also find a diffeent answer too.

`iostat -En '  Appears to give both the names and the sizes.  But
not sure it would still be useful in the case you describe.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] When adding a mirror disk to rpool

2010-11-21 Thread Harry Putnam
I'm about to create a mirror to rpool that currently is a single
disk.  I remember it being somewhat more involved than any other pool
for adding a mirror.

Involving the boot bits and running grub... maybe other stuff as well.

I wondered if anyone has a URL where I might read about the procedure,
or failing that can anyone provide a general outline of steps that
need to be taken.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] When adding a mirror disk to rpool

2010-11-22 Thread Harry Putnam
McBofh james.c.mcpher...@gmail.com writes:

 On 22/11/10 02:18 PM, Harry Putnam wrote:
 I'm about to create a mirror to rpool that currently is a single
 disk.  I remember it being somewhat more involved than any other pool
 for adding a mirror.

 Involving the boot bits and running grub... maybe other stuff as well.

 I wondered if anyone has a URL where I might read about the procedure,
 or failing that can anyone provide a general outline of steps that
 need to be taken.


 It's pretty easy to find via google.

Thanks for the good info.

What is pretty easy to some has many times turned out to be somewhat
difficult for me.  Possibly a dimwit on this end but what were the
pretty easy search terms you goggled with?

Someone not all that familiar with the subject may not come up with
good search strings as quick and easy as someone with a better command
of the subject.

 Note that (newdev) must be a slice.

Are you talking of a slice just big enough for the boot sector here?

 You might get an error message from zpool about slice 2 (s2)
 overlapping newdev - assuming that you have setup your newdev
 slicing correctly, you can re-issue the zpool command thusly:

Thanks for the headsup and providing a ready solution... that really helps.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] livecd zpool import -fR /a xpool but no files

2010-11-28 Thread Harry Putnam
Calum Mackay calum.mac...@cdmnet.org writes:

 On 27/11/10 22:14, Calum Mackay wrote:
 If not, I got it to work here, something like this:

 Mind you, the above may not be wise: if you import your real rpool
 into the livecd, that may end up leaving the rpool in a state where it
 won't look right to the real environment... [i.e. previously used on
 a different system]

 So I'd test it on a disposable system before you do it for real...

Thanks.

This is a test system, and installed from the very livecd I'm hoping
to rescue it with.

Oh, your formula did work here too.  I was leaving out the final
`mount' and still expecting to see files gack.

   zpool import -f -R /a rpool newrpool

   zfs set mountpoint=/b newrpool/ROOT/openindiana

   zfs mount newrpool/ROOT/openindiana

Yup, that formula works.

Although I will add that apparently A zpool seen by livecd is
apparently labeled xpool by default.

  Using live-cd build 147: `zpool import'

Will report seeing `xpool' with some long ID number.

If your warnings about changing files and later having the rpool give
problems when booted under the `real' environment are true then it
seems a bit weird that one can find so many references to rescuing a
system with the live-cd.

  `Can the live-cd actually be used in that way safely?'

That is something I'd really like to know... if you cannot change
anything for fear of later having troubles, how is a rescue to be done?

In this case, the system to be rescued was recently installed from
that very live-cd, so maybe that would lesson the likelyhood of
problems? 

Thanks for you input... I will know shortly, I hope, what the outcome is.

-  -  --=--  - --- -
What follows is a report of troubles apparently arising from importing
rpool, just as you warned.  A sorry tail of woe   .

No real harm has been done since it is a test system, only a fair bit
of time lost.
-  -  --=--  - --- -

Well it was not good.

(Preface with saying this is a virutal system running thru vbox, host
is windows 7)

I wanted to edit out something I had added to /etc/profile that I
suspect caused the OS not to work properly.

I suspected it was from my edit in /etc/profile which was the last
thing I remembered doing that changed any files.

After initial install from live-cd b 147 and after setting up the home
directories of user and root, I noticed that opening an xterm always
opened in / (root) instead of $HOME for $USER.

I checked that the $HOME envo variable was known... when a fresh xterm
was opened and it was,  echo $HOME showed the expected output.

I could not figure out why then, the xterms always were in `/' when
opened.  Perhaps `/home' was not mounted... but it was I could see:
and navigate to /export/home/myuser

I edited /etc/profile to tell any logging in user to cd to $HOME but also
added an echo, hoping it would show in the opened xterm so I'd know
that /etc/profile was getting read.

Something like:

  echo /etc/profile was read
  cd $HOME

in /etc/profile.

And it seemed to work so far as causing a fresh xterm to open on $HOME
rather than `/'.

All hunky dory until I rebooted.  I don't recall now what happened
exactly but it would not boot.

So naturally I figured my edit in /etc/profile was the problem.  I
suspected having output from /etc/profile was upsetting something.

-  -  --=--  - --- -

I rebooted with livecd , imported and mounted what had been rpool with
the forumula posted in this thread, edited etc/profile and rebooted.

Now I get only a grub prompt... no OS login.

OK, I thought OOOPS I probably should have exported the renamed rpool
back out as rpool.

OK, rebooted with livecd, imported what was now seen as `newpool' and
exported it as rpool rebooted.

Still I only get to a grub prompt.  No OS login.

I've forgotten the incantations for grub to get booted but anyway what
has happened?  How to understand what is going on?

In fact is there a path to resuce by using the livecd at all, or have
I just left out important steps?




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] livecd zpool import -fR /a xpool but no files

2010-11-28 Thread Harry Putnam
Calum Mackay calum.mac...@cdmnet.org writes:

 To address your current situation, I would try booting the ISO/Live
 again, and seeing what zpool import says. If it's xpool, or anything
 other than rpool, then:

   zpool import -f -R /a badpool rpool

 [where badpool is whatever was reported by zpool import]

 to rename it to rpool, then try the above steps, or just export and reboot.

 Hopefully that will get you back going again...

I did that as posted previously... that is boot livecd, import
badpool, export goodpool

but on reboot I just get a grub prompt.

But I jumped the gun and just started over with a new install.  Didn't
seem to be going anywhere with my experiment...

I believe as you found that it is a working method and that I did
something or several somethings, blundering around to cause my own
problems.

Once I get the new install going... I may try it again just to make
sure I can do it.

Thanks for your patience and the time you put into answers.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] livecd zpool import -fR /a xpool but no files

2010-11-29 Thread Harry Putnam
Calum Mackay calum.mac...@cdmnet.org writes:

 On 29/11/10 15:34, Frank Middleton wrote:
 Just a guess, but shouldn't the mountpoint first be set back to /

 zfs umount newrpool/ROOT/openindiana
 zfs set mountpoint=/ newrpool/ROOT/openindiana
 zpool export newrpool

 I did not find that to be necessary in my own tests...

 Also, note the above would likely render the system unbootable, as it
 would leave the pool named as newrpool (as per previous emails).

Excellent point.

I did reboot a new install with livecd and also found as you did no
evidence of an `xpool'.  Not sure how that might of crept in first
time around... but its a safe bet it was some untoward action on my
part.

From livecd, `zpool import' sees rpool from existing install.  I can
confirm what you noticed.

I'd like to try a quick a summary of what the method consists of for
booting from livecd for rescue purposes just to see if I'm missing
an important step before I commit an outline to my own cvs repo of
notes and scripts etc I keep.

boot problem os with livecd (for now... openindiana b 147)

Once you gotten logged into live cd run:

   zpool import

Just to see what is available.

Hopefully you will see the existing rpool with a long ID number
associated with it.

run (These commands I glommed from Calum M s' posts):

   zpool import -f -R /a rpool

   zfs set mountpoint=/b rpool/ROOT/openindiana

   zfs mount rpool/ROOT/openindiana

This is safe because the livecd has no rpool.

Now access to the prior install is at 
   
 /a/b/*

Here you will find etc and all the other directories and files from a
previous install.

Once you've done whatever steps you thought necessary for rescuing the
problem OS.

Make your escape with:

zpool export rpool

shutdown, remove the livecd and boot from harddisk...Keeping your
fingers crossed that your rescue was effective... but the procedure
for getting into position to do rescue work laid out above should not 
bring grief by itself.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] livecd zpool import -fR /a xpool but no files

2010-11-29 Thread Harry Putnam
Frank Middleton f.middle...@apogeect.com writes:

 On 11/29/10 10:48, Calum Mackay wrote:
 On 29/11/10 15:34, Frank Middleton wrote:
 Just a guess, but shouldn't the mountpoint first be set back to /

 zfs umount newrpool/ROOT/openindiana
 zfs set mountpoint=/ newrpool/ROOT/openindiana
 zpool export newrpool

 I did not find that to be necessary in my own tests...

 Yes, I guess the bootfs property overrides it, and it's incorrect, anyway:
 zfs set mountpoint=legacy
 but as you say it doesn't seem to make any difference. As a result I
 wonder why importing a bootable root pool doesn't mount its root
 automatically. Are there any use cases where the current behavior
 is useful? A recursive option like import -r might be handy...

 Also, note the above would likely render the system unbootable, as it
 would leave the pool named as newrpool (as per previous emails).

 Unless it started out life as newrpool :-).

 That is undoubtedly why the OP had the problem...

hehe... no, that wasn't it.  Being OP, I can say that when I first
booted from livecd... I ran zpool import but saw something called
xpool.

I think I may have meddled around a bit before running that.   Can't
recall for sure now, but it seems mighty suspicious that the
information I was working from on my first attempt mentions xpool in
it.

I'd say its a good bet I blundered around with zpool and managed to
rename rpool to xpool in a frenzy of ill-informed flailing.

Also the instructions I was working from was not about recuing rpool
but other zpools so I imagine the author use xpool as a generic name.

I did not exercise the normal cautions since the OS being rescued was
a newly installed vbox oi that I had not done much with yet so no
great loss was threatened.

If I emerge from this experiment with enough info to do a
rescue... I'm a happy camper, even if I did go ahead and just
reinstall from livecd rather than keep mucking around, I think I could
do a rescue now if need be.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] The static network that never works

2010-12-01 Thread Harry Putnam
Oscar del Rio del...@mie.utoronto.ca writes:

 Installing from oi-b147... once installed the icon on right upper of
 gnome window display has dialog for setting up a static network... but
 when I follow it, I get a network that even says its connected... but
 it goes no where... can't ping anything even on home lan.

 System - Administration - Network... type root password...

 Show: Wired (bge0)
 IPv4 IP: Manually assigned.
 Default route: (gateway IP address)
 Add: (IP address + subnet)

 Show: Connection Status
 Locations... Automatic - Edit
 DNS: Manual domain: yourdomainname.com
 Servers: 1.2.3.4, 1.2.3.5 (DNS servers)
 Custom nsswitch file: none, Use Default (/etc/nsswitch.dns)
 OK - OK - OK

 Network works fine.

Good to know it can work...

Walking thru it again I see I've forgotten about /etc/resolv.conf

I guess I thougt the gui was taking care of it.

But once /etc/resolv.conf is edited accordingly... that gui tool does
work.   Thanks for making me look a little harder.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] cifs under oi

2010-12-01 Thread Harry Putnam
When setting up the cifs server under oi (b147) is it still necessary
to edit /etc/pam.conf when expecting to share files with windows OS.

Adding a line like:

  other password required pam_smb_passwd.so.1 nowarn

At the end?   


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] cifs under oi

2010-12-02 Thread Harry Putnam
awatkins1...@gmail.com writes:

 This is only required when dealing with Workgroups. It is not
 required for Domain setup.


Good information there thanks.  As it happens this is a workgroup
setup so I'll need to do it.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Why is user logged into `/'

2010-12-02 Thread Harry Putnam
In two separate installs of b 147.. I find that my user gets logged
into `/' on login.

home is mounted normally:

mount |grep home

  /export/home on rpool/export/home
  read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=950008 on Thu
  Dec 2 19:06:19 2010
  
  /export/home/reader on rpool/export/home/reader
  read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=950009 on Thu
  Dec 2 19:06:19 2010
  
  /home/reader on /export/home/reader
  read/write/setuid/devices/dev=950009 on Thu Dec 2 19:06:37 2010

And its obvious from the values of PS1 and PS4 that the ~/.bashrc has
been read but the shell opens at `/'.

/etc/passwd clearly shows user at /home/reader

On login user knows the value of $HOME... an echo shows:
/home/reader

If I `su -'   to root, root is also logged in to `/'.. an echo from
roots' shell of $HOME shows /root, /etc/passwd shows /root

Since root is part of `/' there is no question of its being mounted.

So what is the likely cause?  Or how can I debug it.  The usual things
like /etc/passwd that dictate such things seem to point to the normal
places yet logging in does not seem to pay any attention to that.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Why is user logged into `/'

2010-12-02 Thread Harry Putnam
Calum Mackay calum.mac...@cdmnet.org writes:

 On 03/12/2010 01:25, Harry Putnam wrote:
 /etc/passwd clearly shows user at /home/reader

 What do you have for:

   grep ^automount /etc/nsswitch.conf

 and assuming it's files, what do you have in /etc/auto_home ?

Yeah.. files


 Should be something like:

   user   localhost:/export/home/

I have one more line than that:
  reader   localhost:/export/home/
  +auto_home

 If you're using a networked backend for automount, then wherever the
 equivalent automounter home info is...

no

 Also, check svcs -p autofs

STATE  STIMEFMRI
online 19:06:26 svc:/system/filesystem/autofs:default
   19:06:26  879 automountd
   19:06:26  880 automountd


Those things above are in complete default state just as installed.

Is it common for this to happen on a fresh install?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] about devlopment tools

2010-12-02 Thread Harry Putnam
I remember from opensolaris when I wanted to compile a few minor
things not available in the repos that I needed to install a specific
pkg that contained many of the needed tools.

I wonder if anyone can guess what that might have been.

These are small non complicated sources like xbindkeys.

Another is rsnapshot which I think is really more a perl script but I
think still needs to be compilred.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] No timeslider... what gives

2010-12-02 Thread Harry Putnam
On a new install of b147 when the gui is up I attempt to access the
timeslider tool from the System menu.

I'm asked for root passwd

Ok done.

Then the watch shows as if something is taking time start.
That disappears and nothing every appears on the desktop.

This should just work straight off... right?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] No timeslider... what gives

2010-12-03 Thread Harry Putnam
Sriram Narayanan sri...@belenix.org writes:

 Harry:

 You seem to be facing many problems with your current OI install,
 which no one else has faced so far.

Yeah I noticed that... hehe.

 Is a reinstall an option for you?

Yes, not at all out of the question except for 1 thing... this is a
reinstall from having the same exact problem on a previous install.

Both in vbox on windowsXP host.

Maybe I should renew the ISO I'm using to install.

I too have done several installs of Opensolaris from 2008 release up
to b 134 all on the same server, and several misc installs in Vbox and
vmware land on windows.  And at least 2 previously of oi, without
seeing this.

But now it has come up twice in a row with vbox on a windows 7 64 bit
host.

 Alternatively, one of the Belenix team members has written a Network
 Installer for OI which you may want to try. This is described at
 moinakg.wordpress.com

Thank you, looks interesting


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] auto-snaps cannot be started is this the known bug[s]

2010-12-04 Thread Harry Putnam
After a fresh install, my third in a series this last week (inside
vbox), this time on windows XP, I'm unable to turn on the
auto-snapshot services.

I enabled the time slider in the gui then proceeded to try to turn on
the services.

I got in a hurry and tried to do it with a for loop from the cmdline
like this:

  for ii in `svcs -a|grep auto-snapshot`;do
svcadm enable -r $ii
  done

Well, that was a pretty horrible thing to do since it fed lots of
garbage to svcadm.

The ouput lines were of the form:
offline23:08:58 svc:/system/filesystem/zfs/auto-snapshot:daily

So of course the shell interpreter saw `offline' as a command,
`23:08:58' as a command and finally 
  svc:/system/filesystem/zfs/auto-snapshot:daily
 
svcadm was a bit flummoxed by it all.
Then when I realized my stupidity and tried a more conservative
method:

  svcadm enable auto-snapshot:NAME

They weren't starting so I attributed it to having jimmied things up
with the dumb for loop.

So I rebooted thinking that would give svcadm time to forgive me.  But
I see from dmesg and /var/adm/messages that there is still a big
problem... I kind of doubt now that it is related to my boner command
but maybe someone here will know, or know what to check into about
this.

It doesn't appear to be the same as a couple of fairly recent bugs I
googled up about the timeslider.

So on reboot heres what I see:

-  -  --=--  - --- -
from dmesg (wrapped for mail):

Dec 4 23:11:46 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out.  Killing contract 108.

Dec 4 23:11:46 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
/lib/svc/method/time-slider start failed due to signal KILL.

Dec 4 23:12:47 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out.  Killing contract 116.

Dec 4 23:12:47 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
/lib/svc/method/time-slider start failed due to signal KILL.

Dec 4 23:13:48 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out.  Killing contract 117.

Dec 4 23:13:48 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
/lib/svc/method/time-slider start failed due to signal KILL.

Dec 4 23:13:48 voi2 svc.startd[9]: [ID 748625 daemon.error]
application/time-slider:default failed: transitioned to maintenance
(see 'svcs -xv' for details)

Dec 4 23:13:48 voi2 fmd: [ID 377184 daemon.error] SUNW-MSG-ID:
SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major

Dec  4 23:13:48 voi2 EVENT-TIME: Sat Dec  4 23:13:48 CST 2010

Dec  4 23:13:48 voi2 PLATFORM: VirtualBox, CSN: 0, HOSTNAME: voi2

Dec  4 23:13:48 voi2 SOURCE: software-diagnosis, REV: 0.1

Dec  4 23:13:48 voi2 EVENT-ID: 391f62ce-2b35-4756-ccca-cbf642d20671

Dec 4 23:13:48 voi2 DESC: A service failed - a method is failing in a
retryable manner but too often.

Dec 4 23:13:48 voi2 Refer to http://sun.com/msg/SMF-8000-YX for more
information.

Dec 4 23:13:48 voi2 AUTO-RESPONSE: The service has been placed into
the maintenance state.

Dec 4 23:13:48 voi2 IMPACT: svc:/application/time-slider:default is
unavailable.

Dec 4 23:13:48 voi2 REC-ACTION: Run 'svcs -xv
svc:/application/time-slider:default' to determine the generic reason
why the service failed, the location of any logfiles, and a list of
other services impacted.
-  -  --=--  - --- -

Following the advice from the last log there and running:
  svcs -xv svc:/application/time-slider:default

 State: maintenance since December  4, 2010 11:13:48 PM CST
Reason: Start method failed repeatedly, last died on Killed (9).
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1M zfs
   See: /var/svc/log/application-time-slider:default.log
Impact: 5 dependent services are not running:
svc:/system/filesystem/zfs/auto-snapshot:daily
svc:/system/filesystem/zfs/auto-snapshot:frequent
svc:/system/filesystem/zfs/auto-snapshot:hourly
svc:/system/filesystem/zfs/auto-snapshot:monthly
svc:/system/filesystem/zfs/auto-snapshot:weekly


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Any have a ready made script to run from cron for snapshots

2010-12-05 Thread Harry Putnam
Before there was a time slider, people must have run snapshots from
cron or something similar.

Since in 3 tries at new installs, using different media each time has
resulted in a useless crippled time slider I wondered if any of you
still have or use some kind of cron driven scripting for snapshots.

I don't want to waste anymore time dinking around with timeslider
until there is a more robust package.

If any of you have such a script,  would you mind posting it?

I'd sooner have an example as just script it up from scratch.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Any have a ready made script to run from cron for snapshots

2010-12-05 Thread Harry Putnam
Sriram Narayanan sri...@belenix.org writes:

 On Mon, Dec 6, 2010 at 3:07 AM, Harry Putnam rea...@newsguy.com wrote:
 Before there was a time slider, people must have run snapshots from
 cron or something similar.

 Since in 3 tries at new installs, using different media each time has
 resulted in a useless crippled time slider I wondered if any of you
 still have or use some kind of cron driven scripting for snapshots.

 I don't want to waste anymore time dinking around with timeslider
 until there is a more robust package.

 If any of you have such a script,  would you mind posting it?

 I'd sooner have an example as just script it up from scratch.

 Please see if this helps:
 http://blogs.sun.com/timf/entry/zfs_automatic_snapshots_now_with

Wow... pretty interesting but seems not ready for prime time just yet.

Are you using it?... If you scroll down the page a ways you find that
the author has been yet gotten things working in the case of failure
and in his words:

  Finally, I'm trying hard to do the right thing in the face of
  failure. The service will move to maintenance should a backup fail
  for any reason, and the cron job should be removed in that case

Where as if it were just a simple cron job running a less grand scheme
it would just run again next time... so in the case of things like
momentary los of network or whatever the job wouldn't get retired
completely. 

I was thinking more of plain scripting and cron.  I can do that my
self but it will take `some' amount of time.  I just thought maybe
someone else had done something I could use and change for my usage. 

However the work you pointed too looks like it will be a very nice
tool once some of the wrinkles are ironed out.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Any have a ready made script to run from cron for snapshots

2010-12-05 Thread Harry Putnam
Sriram Narayanan sri...@belenix.org writes:

 On Mon, Dec 6, 2010 at 3:42 AM, Harry Putnam rea...@newsguy.com wrote:
 Sriram Narayanan sri...@belenix.org writes:

 ...
 However the work you pointed too looks like it will be a very nice
 tool once some of the wrinkles are ironed out.


 Actually, this evolved into the auto snapshot service which you're
 unable to get working :)

 What does your service log stored at /var/sadm/svc/ say about startup
 errors for this specific service ?

Well, since that post you are quoting, I've trashed that install and
done another fresh one this time I have'nt touched the slider
since I have no gui gdm isn't running, even though in past
installes it was even when I installed from the Text ISO.

So I'm not even sure it will be a problem yet.  But for the record I
did post some identical log messages in an earlier thread I started:

  Subject: auto-snaps cannot be started is this the known bug[s]

Below is a reprint of it.  Only note that the time sequence is like
this:

New install 1 = the one refernced in reprint below
New install 2 = The one this thread arose from
New install 3 =  The one I'm currently working on.  So far no X
desktop so I haven't monkeyed with the time slider.

1 and 2 both had the same problem.  3 is on a different machine and
done with the Text iso.  So far I don't know how the time slider will
act. 

Do you know how I might enable it from the command line?
Maybe then it will just work like expected.

The logs you requested are in the reprint below
-  -  --=--  - --- -

From: Harry Putnam rea...@newsguy.com
Subject: auto-snaps cannot be started is this the known bug[s]
Newsgroups: gmane.os.openindiana.general
To: openindiana-discuss@openindiana.org
Date: Sat, 04 Dec 2010 23:55:56 -0600
Message-ID: 871v5w3gr7@newsguy.com

After a fresh install, my third in a series this last week (inside
vbox), this time on windows XP, I'm unable to turn on the
auto-snapshot services.

I enabled the time slider in the gui then proceeded to try to turn on
the services.

I got in a hurry and tried to do it with a for loop from the cmdline
like this:

  for ii in `svcs -a|grep auto-snapshot`;do
svcadm enable -r $ii
  done

Well, that was a pretty horrible thing to do since it fed lots of
garbage to svcadm.

The ouput lines were of the form:
offline23:08:58 svc:/system/filesystem/zfs/auto-snapshot:daily

So of course the shell interpreter saw `offline' as a command,
`23:08:58' as a command and finally 
  svc:/system/filesystem/zfs/auto-snapshot:daily
 
svcadm was a bit flummoxed by it all.
Then when I realized my stupidity and tried a more conservative
method:

  svcadm enable auto-snapshot:NAME

They weren't starting so I attributed it to having jimmied things up
with the dumb for loop.

So I rebooted thinking that would give svcadm time to forgive me.  But
I see from dmesg and /var/adm/messages that there is still a big
problem... I kind of doubt now that it is related to my boner command
but maybe someone here will know, or know what to check into about
this.

It doesn't appear to be the same as a couple of fairly recent bugs I
googled up about the timeslider.

So on reboot heres what I see:

-  -  --=--  - --- -
from dmesg (wrapped for mail):

Dec 4 23:11:46 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out.  Killing contract 108.

Dec 4 23:11:46 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
/lib/svc/method/time-slider start failed due to signal KILL.

Dec 4 23:12:47 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out.  Killing contract 116.

Dec 4 23:12:47 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
/lib/svc/method/time-slider start failed due to signal KILL.

Dec 4 23:13:48 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out.  Killing contract 117.

Dec 4 23:13:48 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
/lib/svc/method/time-slider start failed due to signal KILL.

Dec 4 23:13:48 voi2 svc.startd[9]: [ID 748625 daemon.error]
application/time-slider:default failed: transitioned to maintenance
(see 'svcs -xv' for details)

Dec 4 23:13:48 voi2 fmd: [ID 377184 daemon.error] SUNW-MSG-ID:
SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major

Dec  4 23:13:48 voi2 EVENT-TIME: Sat Dec  4 23:13:48 CST 2010

Dec  4 23:13:48 voi2 PLATFORM: VirtualBox, CSN: 0, HOSTNAME: voi2

Dec  4 23:13:48 voi2 SOURCE: software-diagnosis, REV: 0.1

Dec  4 23:13:48 voi2 EVENT-ID: 391f62ce-2b35-4756-ccca-cbf642d20671

Dec 4 23:13:48 voi2 DESC: A service failed - a method is failing in a
retryable manner but too often.

Dec 4 23:13

[OpenIndiana-discuss] Root role and root user

2010-12-08 Thread Harry Putnam
I'm sure to get scolded for running as root quite often but it is my
preferred method quite often. It's no doubt not a good idea but I
still bull headedly, prefer it quite often.

I like to be able to ssh to root whenever I please.  It makes lots of
things easier... and since this is a home setup and I am not
responsible for anyone elses data... Nor am I boning up to become a
system administrator (other than my home lan).. It should be up to me.
Not something enforced by my OS.

It probably makes sense to restrict root like that generally since the
OS does go into production uses.

But is there not a way to make root a user rather than a role if I
really want to do that?

On opensolaris one could just edit /etc/user_attr and remove the bit
about root being a role.  I don't have access to the file anymore so
can't recall the exact wording but it is different under oi.  Even
then I still tried a similar edit:

Bits from  /etc/user_atter as installed (wrapped for mail):

  rootmin_label=admin_low;lock_after_retries=no;
  auths=solaris.*,solaris.grant;audit_flags=lo\:no;profiles=All;
  clearance=admin_high;type=role

I removed the last bit `;type=role'

My user's line in /etc/user_attr:
  readerroles=root

I removed the root role and replaced it with
  readerroles=zfssnap
----   ---=---   -   

That edit appeared to make the OS non-bootable (running in a vbox as
guest on windows XP).  Or maybe it was some other bumbling of mine
that caused it... but at any rate it made me chicken to mess with the
file.

I used the livecd to put the file back to it original condition and
things started working again.

It was a bit of work to do that and I'd rather not bumble into it
again. 

Can anyone tell me how to change the setup so that  root is not just a
role but a real user?

Or some other way, if there is one, so that I can ssh to root readily,


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Root role and root user

2010-12-09 Thread Harry Putnam
Mads Worsøe Duun m...@worsoe.dk writes:

Running root as user is dirty, and for
 lazy persons.

Exactly! ..  now you've got the idea.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] man pages to solaris cmds

2010-12-18 Thread Harry Putnam
What is the MANPATH to the solaris cmds that there are also gnu
versions of.

/bin/ls  for example

If I call man /bin/ls

I get warnings about opening a binary file, and when the man page
opens there is lots of guff in it like escape sequences.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] man pages to solaris cmds

2010-12-20 Thread Harry Putnam
Albert Lee tr...@opensolaris.org writes:

[...]

Harry Wrote:
  Someone advised me to set LANG=en_US.ISO8859-1.  When I did that, it
 does cure my on-going problem,  but now wondering if when calling
 `man /bin/ls' ... it may act differently with LANG set that way.

 Yup... I just tested that theory out.

 When I do a fresh login (to oi 148) $LANG is en_US.UTF-8.  On that
 setting all man pages have goofy characters like this (from man ls)


  DESCRIPTION
       List  information  about the FILEs (the current directory by
       default).  Sort entries alphabetically if none of  ââctuvSUX
       nor ââsort.

 But I can call `man /bin/ls' and it opens the right page... with no
 warnings about binary, but it does have the guff above in it.

 If I set LANG=en_US.ISO8859-1 then man pages open nice and clean but
 it does cause the warnings about binary files (and fail) if I should
 try `man /bin/ls'  with that setting.

 Another poster here or on openindiana explained it best he could to me
 and seems a mismatch of some sort between my terminal program and
 $LANG setting.  I can correct if I happen to be using putty from
 windows, but logging in from linux or another solaris machine... I'm
 not really sure what terminal program is involved... the TERM setting
 when from linux is `TERM=linux', when from solaris TERM=sun-color.

 But what actual program is running the terminal... I don't know for sure.


Albert Responded:

 The problem is probably not the terminal application itself, but TERM
 which tells applications which terminal definition to use to
 communicate with it. It's a relic of the days of physical terminals
 when every vendor had its own incompatible protocol.

 (That said, the standard terminal app is gnome-terminal and has a
 Help-About dialog which should be impossible to miss...)

That would not hold true if the connection is to console mode would
it?  I mean the oi install is not running an X desktop.

When I login from a linux desktop running X, my TERM becomes `xterm'.

When I login from a windows machine using putty, my TERM becomes
`xterm'.

When I login at the oi console my TERM becomes `sun-color'

I don't think gnome-terminal comes into play ...

I've already described the difference in behavior when LANG is set
differently.

Briefly:

  In order to see man pages without odd characters in them when man is
  called in the normal way ( man ls) I find it necessary to set the
  LANG variable to en_US.ISO8859-1

As to different behaviors according to LANG setting:

LANG set to en_US.UTF-8

   Calling man normally (man ls) reveals unusual char in the pages
   makeing it difficult to read them.

   There is no error when calling `man /bin/ls', however the manpage
   revealed has unusual characters in it:

  man /bin/ls  
  [...]
SYNOPSIS
   /usr/bin/ls [ââabccdeeffghhikllmnopqrrsstuuwv...@]
[ââ/c | ââ/] [ââ%atime | crtime | ctime | mtime | all]
[ââblockâsize size] [ââcolor[=when]] [ââfileâtype]
[ââsi] [ââtimeâstyle style] [file]...
  [...]

----   ---=---   -   

LANG set to en_US.ISO8859-1

   Now man pages called with the normal `ls man' are clean and
   readable, however calling `man /bin/ls' now provokes the error, and
   the page displayed if I answer `y' is even harder to read and seems
   to contain a different sort of mess ... looks like escape sequences
   I think.

   man /bin/ls
  /usr/share/man/cat1/ls.1 may be a binary file.  See it anyway? y

   SYNOPSIS
/usr/bin/ls [â8090â8090abccdeeffghhikllmnopqrrsstuuwv...@]
 [â8090â8090/c | â8090â8090/] 
[â8090â8090%atime | crtime | ctime | mtime | all]
 [â8090â8090blockâ8090size size] 
[â8090â8090color[=when]] [â8090â8090fileâ8090type]
 [â8090â8090si] [â8090â8090timeâ8090style 
style] [file]...

----   ---=---   -   

 Anyway, I can't reproduce the problem here. What would help is to provide:
 The output of 'env', the error you're seeing from 'man /bin/ls' and
 the file contents from 'truss -f man /bin/ls 2logfile'.

I've inlined env output below, but `truss -f man /bin/ls 2logfile' has
been running for 13 minutes now with no evidence of returning the
command prompt, as can be seen from the following output.

  reader  ps wwaux|awk 'NR==1{firstline = $0}
  /truss.*man/{print}END{print firstline}';date

  reader1622  0.0  0.2 2440 1876 pts/5S 13:54:38  0:00 truss -f man 
/bin/ls
  reader1625  0.0  0.2 2448 1612 pts/5S 13:54:39  0:00 truss -f man 
/bin/ls
  USER   PID %CPU %MEM   SZ  RSS TT   SSTART  TIME COMMAND
  Monday, December 20, 2010 02:07:15 PM CST

  Started at 1:54 and still running at 2:07

Is that the expected outcome?

When I kill the command, a file of 359 lines is produced and also 
inlined below:
----   ---=---   -   

env:


[OpenIndiana-discuss] General question about motherboards

2010-12-21 Thread Harry Putnam
A few words from experienced people would be helpful on motherboard
choice.

I've been running osol on this hardware:

cpu: AMD Athlon 64, 2200 MHz (11 x 200) 3400+
motherboard: AOpen AK86-L  (5 PCI, 1 AGP, 3 DDR DIMM
hard drives: 2 IDE 500GB, 2 sata 500GB, 2 sata 750GB  

The motherboard has given up the ghost.

I want to replace it, but at the same time do some kind of light
upgrade. 

I'd like to find a replacement motherboard that will take more ram.
The one above is maxed at 3GB.

I doubt it would work to use 2gb sticks in a new similar board but I'm
not sure if that is the case.

I haven't really noticed a crying need for more cpu since my usage is
light compared to many here just a home zfs lan server.  Mostly
for backup of video editing projects and the C drive of several
windows machines.

But always a good idea to increase cpu during an upgrade. Maybe moving
into multiple core territory as well

Probably will necessitate a new powersupply as well.  The current one
is 400 watts.  Probably too weak and maybe doesn't have the newer
connections that might be needed.

I'm not looking for the latest and greatest, but thinking there is
some milder upgrade board that has plenty of sata ports and will take
at least 6 GB ram

I'm sorry to report being so lazy but the idea of trying to sort
through the thousands of googled hits it's ... well its daunting.  It
would seem to require a considerably greater knowledge of specs and
such than have.

I hoped to hear from someone who actually has experience with
something that fills the bill.

I'm thinking older motherboards but newer than the one above.

Can anyone here vouch for something that fits the bill?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] General question about motherboards

2010-12-21 Thread Harry Putnam
Gary Mills mi...@cc.umanitoba.ca writes:

 On Tue, Dec 21, 2010 at 10:42:44AM -0800, Kevin J. Woolley wrote:
 
 Do you have a recommendation for a socket AM3 CPU that will run Solaris well?

 This is what I bought in March to run Opensolaris.  It runs Openindiana
 flawlessly.  All the devices are supported.

 o Motherboard:
 ASUS M4A785T-M/CSM mATX AM3 DDR3 AMD 785G PCI-E16 PCI-E1 2PCI 6SATA
 GBLAN Radeon HD 4200 Motherboard $99.99

Thanks for the input.

The spec says its `form factor' is micro ATX

Does that mean the screw holes won't fit an ATX MidTower (antec sonata)


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] General question about motherboards

2010-12-21 Thread Harry Putnam
Kevin J. Woolley k...@javabunny.net writes:

 On Tuesday, 21 December, 2010 10:00, Harry Putnam rea...@newsguy.com said:

 A few words from experienced people would be helpful on motherboard
 choice.
 
 I've been running osol on this hardware:
 
 cpu: AMD Athlon 64, 2200 MHz (11 x 200) 3400+
 motherboard: AOpen AK86-L  (5 PCI, 1 AGP, 3 DDR DIMM
 hard drives: 2 IDE 500GB, 2 sata 500GB, 2 sata 750GB

 Hi Harry,

 I'm grabbing ideas from the NCIX site.  They have a US site as well,
 so use these links to get the SKUs and look up the SKUs on the NCIX
 USA site if you're in the US.

Thanks for the input and research.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] General question about motherboards

2010-12-23 Thread Harry Putnam
Alex Smith (K4RNT) shadowhun...@gmail.com writes:

 On Tue, Dec 21, 2010 at 19:58, Harry Putnam rea...@newsguy.com wrote:

[...]

 Thanks for the input.

 The spec says its `form factor' is micro ATX

 Does that mean the screw holes won't fit an ATX MidTower (antec sonata)

Alex S responded:

 Any ATX type motherboard will fit in an ATX case - you'll just not use
 the entire motherboard tray and all standoffs.

I'm not sure what all fits into ATX `type'.  Apparently you think the
micro ATX does ... eh?

So no drilling screw holes or other fabrications necessary?

And just so I know before going much further... Do you know this about
`ATX' working with `micro ATX' for a fact or are you guessing about
it?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] General question about motherboards

2010-12-23 Thread Harry Putnam
Gary Mills mi...@cc.umanitoba.ca writes:

 The spec says its `form factor' is micro ATX

 That was because I had a micro ATX case.  I believe ASUS also makes
 a similar board in the ATX form factor.

So the micro ATX will NOT work on an ATX format box then?

And do you have an idea what might be considered a `similar' board?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Need coaching about used equipment

2011-01-12 Thread Harry Putnam
I've been running oi on what is now an older AMD Athlon64 +3400 with
three GB ram which is the max on that Abit board.

My setup is only a small scale home server intended to supply my need
of lots of room for video editing files and other hefty graphic
projects. 

Something has happened to render the hardware unusable and rather than
spend time investigating, I think I'd as soon upgrade.  Even if the
fix were simple.

I'm not looking for bleeding edge but something a few yrs old (2-3).
I'd like to have the option of at least 8GB ram so it would need a mobo
that supports that much.  Also the board should have a nice lot of
sata controllers and ports.

64 bit architecture also a requirement.

Don't care about sound or video being more than adequate.

It could be a mobo cpu bundle or a full computer.

Cutting to the chase then... I hoped some of you may know what is
something midway or so from my old Athlon and up to date hardware.
I'd like to have some names and specs to search for an ebay or
whereever since there is such a plethora of stuff available a person
could flounder around in it endlessly without some specific targets.

I'm afraid it would take a lot of research on my part to come up with
the names as I have not kept up with trends for some years.

I'm thinking some of the folks here will know off the top of there
heads, hardware that would match the spec laid out above, so I'm
hoping to tap into that knowledge rather than immerse myself in
research lazy I guess, but if it does not require much on the part
of any responders I'd like to hear from you. 


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] 2 small Qs about Sata controllers

2011-02-18 Thread Harry Putnam
When looking at motherboard specs and I see this notation:

(Note: Taken from: 
  http://www.newegg.com/Product/Product.aspx?Item=N82E16813131655
  Newegg showing  ASUS M4A89TD PRO/USB3 AM3 AMD 890FX )


  PATA1 x ATA133 2 Dev. Max

  SATA 6Gb/s  6 x SATA 6Gb/s


----   ---=---   -   

Question 1)

  pata1 x ATA133 2 Dev. Max
Does it mean there is only 1 IDE hdd may be installed?

  6x SATA  [...] 
Does it mean only 6 sata hdd may be installed?


----   ---=---   -   

Question 2)

The same spec shows:

  Expansion Slots

  PCI Express 2.0 x16   2

  PCI Express x41

  PCI Express x11

  PCI Slots 2 

Of those choices which is most likely to support (and be found easily)
something like a 6 to 8 port sata controller.

I'm assuming the answer in question 1 (6x sata) will be answered as 6
drives max, and I will have need of at least 8. (4 mirrored
pairs)

However, if the Pata thing supports 2 drives (I happen to have a
matched 500GB pair on hand). Then I could get by with 6 sata
drives but still thinking of expansion...probably good to know which
kind of PCI*(whatever) for use driving a sata controller, to be on the
lookout for.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] 2 small Qs about Sata controllers

2011-02-18 Thread Harry Putnam
Ignacio Marambio Catan darkjo...@gmail.com writes:

 Question 1)
 
  pata1 x ATA133 2 Dev. Max
 Does it mean there is only 1 IDE hdd may be installed?
 
 No, you can install 2 drives

  6x SATA  [...] 
 Does it mean only 6 sata hdd may be installed?
 
 That would de accurate I think

I'm a bit confused... does the `x' in each case stand for a
controller?

So Pata controllers support 2 drives,
but SATA controllers only support 1?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] 2 small Qs about Sata controllers

2011-02-18 Thread Harry Putnam
Jeppe Toustrup openindi...@tenzer.dk writes:

 2011/2/19 Harry Putnam rea...@newsguy.com:
 I'm a bit confused... does the `x' in each case stand for a
 controller?

 So Pata controllers support 2 drives,
 but SATA controllers only support 1?


 No, it's the number of connectors of the kind in question it mentions.
 You may connect to devices to a PATA port, a master and a slave, while
 you may only connect one SATA device to each SATA port.

Ahh yes, I'd neglected to account for the master/slave business.
Thanks.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Another [OT] Hardware Post

2011-02-19 Thread Harry Putnam
Being much a novice in building for a zfs server, I've cobbled up a
setup with one of those build it online setups... on ebay this one
was. But before I plunge for the green backs.  I'd really feel a bit
more confident if a few experienced people ran there eye down the
lineup and see if anything looks like a deal breaker, or needs
changing. 

It seems like a decent enough price at 1317 (+ Free shipping) but
again.. I'm not one who would really know if it was or not.

This machine will be used as a home lan zfs server, and will be
handling a fair bit of hefty video and other graphic files since I am
an amateur videographer and need to save certain elements of my
projects for a while after they are sold... A single project can
easily run into a 100GB and more... but usually the parts that need
saving are more like 50-80 gb.

This setup will have the 2 new 1tb discs seen in the build and then

  2 500 gb ide disks 
  2 500 gb sata disks
  2 750 gb sata disks 

that are still at this moment attached to my old dysfunctional zfs server.

I will set them up in mirrored pairs so will end up with something
like 2.5 TB of usable space. And then of course take off whatever
amount zfs needs for its workings... but anyway it will be a decent
amount of space.

And now the line up:
----   ---=---   -  
----   ---=---   -   

price:  $1317.00 

CONFIGURATION 

PARTS: CPU: AMD 64 CPU AM3 
   AMD Phenom II X6 1090T 3.2GHz (Six Core) 45nm, AM3 6MB
   Cache

PARTS: Cooling Fans: AMD 64 CPU Fans
   Coolermaster GeminII S, 5 Copper Heat Pipes, Dual Cooler CPU 
   fan 

PARTS: Motherboards: AMD 64 AM3 Motherboards 
   GIGABYTE GA-890GPA-UD3H,Onboard Video,HDMI,X-fire,USB
   3.0,SATA3,IEEE

PARTS: Memory: DDR3 Dual Channel memory 
   16GB (4x4GB) PC10600 DDR3 1333 Dual Channel 

PARTS: Video  TV Cards: PCI-Express Video cards 
   NONE SELECTED 

,
| [Aside: the following drives could as well be 2 TB WD green (as the
| 1tb WD black shown below) for an extra $33 per,(total $66), but I was
| not sure if at some point the shear size begins to be a problem by
| itself for things like scrub or resilvering.
| 
| Any comments on that would be welcome too.]
`

PARTS: Hard Drives 
   1000.0GB Western Digital Black 7200RPM SATA 3 6.0Gb/s 64m 
   cache

PARTS: Hard Drives 
   1000.0GB Western Digital Black 7200RPM SATA 3 6.0Gb/s 64m 
   cache

PARTS: CD/DVD/R/RW Drives: DVD Recorders 
   Lite On 22x DVD Recorder Dual Layer +R/RW -R/RW 

PARTS: Sound Cards 
   Realtek HD digital audio (onboard) 

PARTS: Networking: Network Cards 
   Ethernet network adapter (onboard) 

PARTS: Cases / Power Supplies: Cases 
   Antec P193 Black Case, Full Tower, 11 bays, front USB  eSATA 

PARTS: Cooling Fans: Case Fans 
   Dual Case Fans 120 mm Extra Quiet DC fan (two fans) 

PARTS: Power Supply 
   Corsair 750W ultra quiet ATX Power Supply, SLI  X-fire 
   ready

PARTS: Speakers 
   Black Multimedia amplified stereo speakers 

SOFTWARE: Operating Systems 
  NONE SELECTED 

PARTS: Assembly and Test 
   Standard assembly and test 3-5 business days 



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Another [OT] Hardware Post

2011-02-20 Thread Harry Putnam
Johannes Bohse openindiana-a...@ko-sys.com writes:

 you do not need to worry about the size. zfs is very efficient in
 scrubbing and resilvering. zfs scrubs used sectors only and resilvers
 only missing transactions. Spare sectors are not involved in both
 complexity equations.

Good info thank you.  Is there not any problem accessing data on
something that size either?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Another [OT] Hardware Post

2011-02-22 Thread Harry Putnam
Russ Price rjp_...@fubegra.net writes:

 I'm running an ASUS M4A785-M with an Intel SASUC8I HBA, and it's been
 flawless with OpenSolaris b134, OI 147, and OI 148. I was a bit cheap
 with the RAM, with 4x1GB sticks of ECC RAM, but it has performed well
 for me. I'm using all six onboard SATA ports, all eight ports on the
 HBA, and a SiI 3112-based two-port SATA card in the PCIe X1 slot.

Sorry to be dense here but what is an HBA, I'm pretty sure the google
hits:

  Hawaii Baptist Academy
or
 Healthcare Businesswomen's Association

Are not the right ones :)
 
 Its integrated Radeon HD4200 only works the the VESA driver, but that
 doesn't bother me since the machine is my fileserver.

Do you mean you can't get an X desktop?  Or can you run X with VESA
driver but it sucks or what?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Explain the Goal of oi

2011-02-26 Thread Harry Putnam
I'm getting a little confused about what OI is trying to do exactly.

I changed to oi with Opensolaris looked untenable due to oracle
maneuvers, expecting to see a basic continuation of what was happing
from b 101 up to 134.

I've been seeing little snippets of subjects and the like that seem to
indicate that oi is merging with Illumini (no sure what that is called
by full name).

If that is the case what, in general,  will that mean?  I noticed my
subscription to illuminos-discuss has produced 6 msgs since the end of Jan.

So can someone fill me in, just in general, what the plan is over
the next yr or so?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Explain the Goal of oi

2011-03-15 Thread Harry Putnam
Apostolos Syropoulos asyropou...@yahoo.com writes:

 I've been seeing little snippets of subjects and the like that seem to
 indicate that oi is merging with Illumini (no sure what that is called
 by full name).
  
 The least I would expect from people to do is a basic google search
 before posting. 

Is this guy serious or just one of those guys that always says
something like this.

Just for the record, you can google till the cows come home and unless
you already know quite a lot about this subject, you WILL BE confused.

That said,

Thank you! to all posters, your input has made things several orders of
magnitude clearer.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] How to index all files on a oi system

2011-03-15 Thread Harry Putnam
If you wanted a list of all the files on a host (4 smallish zfs
filesystem...probably 10s of thousands, but nothing much compared to many
users here)

Does zfs offer anything special for something like that?

If not, then is there some better way than running 'find' on all the
drives and compiling a list from it.

Some kind of sorted plain text list would be good, I
think Something that could be easily grepped with common grep
commands, so not a data base type file.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Explain the Goal of oi

2011-03-16 Thread Harry Putnam
Kevin J. Woolley k...@javabunny.net writes:

 This list always so friendly and encouraging...
 :D

 Really?  I think it does pretty darn well.  I won't try to convince you, 
 though.

As OP, I agree.  I also agree that I should have kept my yap shut when
the sniper came in.  All input was quite useful.

Thank you all again


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to index all files on a oi system

2011-03-16 Thread Harry Putnam
Matt Connolly matt.connolly...@gmail.com writes:

 Perhaps you might be interested in installing the locate command from gnu
 findutils:

 http://www.gnu.org/software/findutils/

 It's installed by default on Mac OSX systems, and is really handy. There's
 probably some very good security reasons that it's not installed by default
 on OpenIndiana.

Thanks Matt

Yikes, I forgot all about locate.  I never have got onto using it, and
always went with some incantation of find.  Seems like several times I
tried it and the db was not up to date and so first had to update
that... even with some cron run update scheme, etc etc... so never
really bothered with it.

But for what I want right now... it would be just the ticket, I
think. 

It does not appear to be available as a pkg on oi 147 with
publisher set like this:

PUBLISHER TYPE STATUS   URI
openindiana.org (pref) origin   online   http://pkg.openindiana.org/dev/
opensolaris.orgorigin   online   http://pkg.openindiana.org/legacy/

Did you mean to compile it from source?




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] For a basic dev environment

2011-03-16 Thread Harry Putnam
When I was running opensolaris 101, up to 133 before switching to oi,
there used to be a basic set of pkgs one needed installed to have a basic
developmental environment.  I mean just enough to do basic compile
from source of gnus pkgs and the like.

Is that still true with oi?  If so can anyone say what the pkg[s] are?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] For a basic dev environment

2011-03-16 Thread Harry Putnam
Kevin J. Woolley k...@javabunny.net writes:

 On 16 March 2011 16:27, Harry Putnam rea...@newsguy.com wrote:

 When I was running opensolaris 101, up to 133 before switching to oi,
 there used to be a basic set of pkgs one needed installed to have a basic
 developmental environment.  I mean just enough to do basic compile
 from source of gnus pkgs and the like.

 Is that still true with oi?  If so can anyone say what the pkg[s] are?

 ss-dev will give you a SunStudio-based environment with the Sun
 compilers.  gcc-dev should give you a GCC 3.4-based environment, IIRC.

Thanks,

Running pkg search -l gcc-dev
I see:
  INDEX   ACTION VALUEPACKAGE
  incorporate depend gcc-dev@0.5.11-0.133 \
pkg:/consolidation/sfw/sfw-incorporation@0.5.11-0.147

----   ---=---   -  
Then running:

# pkg search sfw-incorporation

  INDEX  ACTION VALUE  PACKAGE
  pkg.fmri   set   openindiana.org/consolidation/sfw/sfw-incorporation \
  pkg:/consolidation/sfw/sfw-incorporation@0.5.11-0.147
----   ---=---   -   

I haven't run into this kind of output before...
man pkg shows quite a few hits on incorporated... but after browsing
thru them, I still didn't get what it meant in the above ouput.

I mean in so far as how to get the pkgs installed. Or what they are
called now...


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] exporting zpools toward switching machines

2011-05-28 Thread Harry Putnam
Setup:  b 133 (opensolaris) on older athlon +3400 as home lan zfs server 
No commercial operations, home use only.
Current hardware is dying and partially dead now.

I've laid zfs down for a good number of months.  Not on purpose so
much as just too busy with life.  Consequently I've forgotten a good
bit of what little knowledge I was beginning to accumulate.

I don't run the server because it will only run 10-15 minutes and then
quietly shuts itself off... no logs... and seemingly no evidence of
anything wrong... aside from not running, that is.

I've decided to replace and upgrade rather than get bogged down with
fixing.  My skill level is pathetic... and it would be a big job for
me.

However, I do have a few hundred GB of data I'd rather not just lose.

My plan is that once I get another machine finished and ready, I'd
like to be able to just connect the disks on the old setup into the
new hardware and start where I left off.

I hoped someone might be willing to layout a brief step by step about
how to do that.

I'm thinking if I fire up the old hardware and export the 3 zpools
(That is including rpool which contrary to good practice also has some
of the data I want to keep); then when I install the new OS on new
hardware, slurp it up with an import.

All my existing zpools are setup as mirrored disc pairs. .. if that
matters.

I guess the first question I have is wondering if I rename rpool on
the import, if I could then just chuck the old os stuff and continue
on like it was never an rpool?

Would I need to do anything about the MBR sector on both discs of that
old rpool mirrored pair?

I guess what I mostly need is a little outline so I get things done in
the right order and not end up with a bunch of un-accessible data.

I've been tinkering with Openindiana b 148 with vbox and that is what
I expect to install on the new hardware.  So zpools would be exported
from opensolaris b 133 and imported on openindiana b 148.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] exporting rpool with system running

2011-07-31 Thread Harry Putnam
[ I apologize if a very similar post from me has already shown up
here.  Having some kind of delivery or receive problem]


How can I export the rpool with the system up?

Can it only be done from a livecd or such like?

Trying a simple export command just tells me rpool is busy.  


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] exporting rpool with system running

2011-08-01 Thread Harry Putnam
Roy Sigurd Karlsbakk r...@karlsbakk.net writes:

 AFAIK, exporting an rpool while running on it, is quite
 impossible. Why would you want to export it?

So use livecd then?

The reasons to do this have been discussed here at least twice.  Thats
why I didn't include that information.  Thinking about it again after
your prompt though I see I should have included at least a brief
outline of why.

So briefly put:  The hardware is giving up the ghost.  The machine
will start and run for maybe 10-15 minutes and then stops with no log
errors evident.

Rather than worry with the old outdated equipment I plan to build up a
newer hardware setup.  Install openindiana on a pair of smallish disks
for the new (mirrored) rpool and then import all the old zpools
including the oldrpool (renamed) which, unfortunately, also has data
I'd like to keep on it.

Oldrpool is also on a mirrored pair of disks.  So I thought to leave
oldrpool exported to facilitate the above approach.  Install the disks
containing oldrpool and import it using the new setup, then dump all
the old rpool OS related stuff and keep the wanted data on a renamed
zpool.

Better ideas are welcome.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Edit rpools (export status) from livecd

2011-08-01 Thread Harry Putnam
With hardware that has no cdrom or floppy drive... how can I start the
OS from livecd?..  I've never done a network style startup.  Just a
brief outline would be very welcome.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] gcc 4.x on OpenIndiana 151

2011-09-26 Thread Harry Putnam
Hillel Lubman shtetl...@gmail.com writes:

 Well, SFE is a separate repository now. The warning is for the case when you
 have gcc 4.x installed from OpenSolaris repo. Just uninstall it if you do,
 add SFE repo to your system, and install gcc from there.
 It has 4.6.1 now:

Sorry for the illinformed butt in here... but how does one add SFE to
repos?

I mean in some detail if you have a few moments.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] extreme sloth on fresh install bootup

2011-10-17 Thread Harry Putnam
I've just installed oi on a vm (virtualbox) as guest on an older P4
3.06 with 2gb ram an running Debian wheezy as HOST OS.

I gave the oi OS only 900mb of ram.

On reboot following install I'm seeing what seems to be inordinate sloth
in the boot process.  As the services are being enumerated its taking
most of 1 second for each increase (up to 168) .. which is quite a lot
of seconds.

Or is this a one time thing and later reboots will be faster?

While I've been writing this I see now that things are slowing even
more.  Where the enumerator is taking more than a second now. 133 to
135 (of 168 services) took about 10 seconds.

This can't be normal eh?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] After install for text based iso

2011-10-17 Thread Harry Putnam
I've just installed oi 151 from the text based installer:
  oi-dev-151a-text-x86.iso

To get a minimum basic gui desktop what pkgs would need to be
installed?

There is such a vast array of X related stuff to look through from the
command line, I'm having trouble figuring out what is basic.  Some are
obvious but I'd like to have a list of whats of needed on tap.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] After install for text based iso

2011-10-17 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 I've just installed oi 151 from the text based installer:
   oi-dev-151a-text-x86.iso

 To get a minimum basic gui desktop what pkgs would need to be
 installed?

 There is such a vast array of X related stuff to look through from the
 command line, I'm having trouble figuring out what is basic.  Some are
 obvious but I'd like to have a list of whats of needed on tap.

I might need to say `nevermind'.  I finally dug up one lonesome hit on
one of those printouts from an irc channel where someone mentioned
slim_install. 

So unless that is not all there is to it... I may be good to go.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] get X working after install from text base iso

2011-10-18 Thread Harry Putnam
I installed from a recent oi-dev-151a-text-x86.iso.

That iso is apparently a server model and doesn't really expect to
have a gnome desktop... I'd sooner try to install required pkgs and
whatever else I need to do to get X running, than start over with
though desktop iso.

I followed up installing OS by installing slim_install.  I had the
notion that should have installed a basic gnome desktop.

When I say startx in my users (text console) terminal I get a nice
pure black screen, and nothing else.

Can anyone fill me in the steps one should follow to have an
accessible X desktop following installing from when user started with
oi-dev-151a-text-x86.iso?

What pkgs are required, any configurations that need to be done.. that
sort of stuff.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] What package for `floatingpoint.h'

2011-10-18 Thread Harry Putnam
I'm trying to compile a pkg called `xbindkeys'.  After installing
guile the ./configure script seemed to find all it needed, but on
running `make' I hit a snag pretty early on:
(wrapped for mail)

,
| make  all-am
| make[1]: Entering directory `/usr/local/src/xbindkeys-1.8.5'
| gcc -DHAVE_CONFIG_H -I.  -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1
| -I/usr/include/gmp -D_REENTRANT -pthreads -I. -Wall -g -O2 -MT
| xbindkeys.o -MD -MP -MF .deps/xbindkeys.Tpo -c -o xbindkeys.o
| xbindkeys.c
| 
| In file included from /usr/include/libguile.h:67,
|  from keys.h:23,
|  from xbindkeys.c:30:
| /usr/include/libguile/numbers.h:31:28: floatingpoint.h: No such file
|   or directory
| xbindkeys.c: In function `catch_CHLD_signal':
| xbindkeys.c:498: warning: int format, pid_t arg (arg 2)
| make[1]: *** [xbindkeys.o] Error 1
| make[1]: Leaving directory `/usr/local/src/xbindkeys-1.8.5'
| make: *** [all] Error 2
`

I'm not good enough at ready this kind of output to know what it
means.

Is it the missing `floatingpoint.h' that is causing the error?

Or something concerning the `warning: int format [...]


Looking at the cited line numbers in:
 /usr/include/libguile/numbers.h:31:28, I see:

  [...]
25  #include gmp.h

27  #include libguile/__scm.h
28  #include libguile/print.h

30  #if SCM_HAVE_FLOATINGPOINT_H
31  # include floatingpoint.h
32  #endif

34  #if SCM_HAVE_IEEEFP_H
35  # include ieeefp.h
36  #endif
  [...]

I see some of the filenames appear in double quotes and some in
brackets ().

The missing floatingpoint.h is in `'... does that have any
particular significance?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] desktop (dvd) iso will not boot in virtual box

2011-10-19 Thread Harry Putnam
I installed the server iso 151a with no problems recently, but today
trying to install from the desktop (dvd) iso, downloaded from oi home
page. I am unable to boot from that iso at all.

I thought perhaps the download had guffed up the iso so downloadeded
it again.  But still it will not boot and in the exact same
circumstances the server (dvd) iso will.

These are:
   oi-dev-151a-text-x86.iso(server)
   oi-dev-151a-x86.iso (desktop)

The server file is from a couple of days ago, but the desktop version
is from today.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] desktop (dvd) iso will not boot in virtual box

2011-10-19 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 I installed the server iso 151a with no problems recently, but today
 trying to install from the desktop (dvd) iso, downloaded from oi home
 page. I am unable to boot from that iso at all.

 I thought perhaps the download had guffed up the iso so downloadeded
 it again.  But still it will not boot and in the exact same
 circumstances the server (dvd) iso will.

 These are:
oi-dev-151a-text-x86.iso(server)
oi-dev-151a-x86.iso (desktop)

 The server file is from a couple of days ago, but the desktop version
 is from today.

Belay this report... there is something more sinister at work... I
cannot even boot the installed server os now.  So something else is
going on for sure.  I.m trying to check into it now.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] desktop (dvd) iso will not boot in virtual box

2011-10-19 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 Harry Putnam rea...@newsguy.com writes:

 I installed the server iso 151a with no problems recently, but today
 trying to install from the desktop (dvd) iso, downloaded from oi home
 page. I am unable to boot from that iso at all.

 I thought perhaps the download had guffed up the iso so downloadeded
 it again.  But still it will not boot and in the exact same
 circumstances the server (dvd) iso will.

 These are:
oi-dev-151a-text-x86.iso(server)
oi-dev-151a-x86.iso (desktop)

 The server file is from a couple of days ago, but the desktop version
 is from today.

 Belay this report... there is something more sinister at work... I
 cannot even boot the installed server os now.  So something else is
 going on for sure.  I.m trying to check into it now.

A reboot seems to have cured what ever ailed things.

Sorry for the lame fake report


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Disjointed hardware questions

2011-10-19 Thread Harry Putnam
First, I'm trying to find a way to use Solaris and zfs for a homeboy
NAS, but without the normal hardware (until I get some money of
course)

Currently I have a fairly powerful laptop with i7 820 with 8GB ram.

I'm running win7 on it, and that will need to stay since I'm doing
video editing and graphics work on it, and need the full adobe suite
for my work.

However since I can't really afford another machine for a NAS, I'd
like to try combining it all in that laptop.

I need the 2 500GB drives that came in it, for adobe stuff, but I
found this sata controller that works from the cardslot and appears it
may make it possible to run oi in a vm and access a pair of 1.5 TB
drives some how.

I'm hoping someone with better knowledge can look at the thing and see
if something like that could work.  There would still ahve to be some
kind of housing I guess but maybe you all can tell me how to put
something like this together.

So to summarize quickly.. I hope to run oi 151 in a vm on HOST OS win
7 on a i7 820 with 8gb ram.  oi to access a pair of 1.5 TB sata drives
thru the hardware below.. (in some suitable enclosure (tips are
welcome) and use them as a mirrored zpool. (the oi os could stay on
the laptop in a virtual pair of 16gb drives).
  
  
http://www.startech.com/Cards-Adapters/HDD-Controllers/SATA-Cards/2-Port-SATA-6-Gbps-ExpressCard-eSATA-Controller-Card~ECESAT32

In the final analysis, the interface is listed as esata and I've heard
some bad stuff about that, but have no personal experience.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] About auto snapshots

2011-10-21 Thread Harry Putnam
I've just recently installed oi 151.  I've enabled auto snapshot in
the desktop slider application.

That was some hours ago, but when I look in any of the .zfs/snapshots
directories there has been no snapshot done.

Should I expect to see snapshots by now or is there something else I
have to do?

 zfs get all rpool|grep auto
rpool  com.sun:auto-snapshot   truelocal

----   ---=---   -   
ls -al /rpool/.zfs/snapshot/
total 0
dr-xr-xr-x 2 root root 2 2011-10-21 13:17 .
dr-xr-xr-x 4 root root 4 2011-10-17 14:16 ..


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Example cron scripts for snapshot admin

2011-10-23 Thread Harry Putnam
Since the auto timeslider doesn't work, I'm thinking people have
created any number of scripts, cron jobs, etc to do something similar.

I wonder if there are a bunch of examples kept somewhere in our
resources?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] development environment

2011-10-27 Thread Harry Putnam
Paolo Marcheschi paolo.marches...@ftgm.it writes:

 Yes you can follow this guide:
 http://wiki.openindiana.org/oi/Building+with+oi-build

 Personally I created a zone in order to create an indipendent
 compilation environment.

That guide looks like a lot more than what I was thinking of.  Perhaps
you missed my comment in OP:
 I don't mean developement of oi but just the ability to do general 
 software compiling. 

That guide appears to be aimed at those who want to build
experimental versions of OI.  Is that the case?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] About auto snapshots

2011-10-27 Thread Harry Putnam
Gernot Wolf gw.i...@chello.at writes:

[...]

 So why is this feature working on my box when according to known
 issues it shouldn't, and obviously isn't working on other oi-151a
 boxes...???

 Not that I want to complain ;) - just curious...

[...]

Oscar del Rio del...@mie.utoronto.ca writes:

[...]

 works for me (tm)

[...]

Per Sjoholm per.t.sjoh...@flysta.net writes:

[...]

 Works for me

Well, that is good news... its probably some configuration not
completed on my end then.

Did you guys do anything more than enable the timeslider with the
checkbox on the desktop timeslider tool?  I see that the service
attempts to start at boot up but fails. 

I couldn't find any better way to capture those messages (taking place
on a Virtualbox install of oi 151) than a screen shot so have attached
it below, I hope it is visible enough to read:

attachment: autoslideErrors.png___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] log messages from failed time-slider daemon

2011-10-27 Thread Harry Putnam
I've been told that the time-slider does not work on 151 but also
several posters responded that it works fine for them.  I'm hoping I
can get it to work too, but not sure where to start.

application/time-slider:default fails during boot up.  When I look at
the log I see it attempting to start over and over and finally giving
up.

----   ---=---   -   
[...]
[ Oct 21 14:03:52 Executing start method (/lib/svc/method/time-slider start). 
]
crontab: can't open your crontab file.
[ Oct 21 14:04:53 Method or service exit timed out.  Killing contract 117. ]
[ Oct 21 14:04:53 Method start failed due to signal KILL. ]
[ Oct 21 14:04:53 Executing start method (/lib/svc/method/time-slider start). 
]
[ Oct 21 14:05:54 Method or service exit timed out.  Killing contract 118. ]
[ Oct 21 14:05:54 Method start failed due to signal KILL. ]
[ Oct 21 14:05:55 Executing start method (/lib/svc/method/time-slider
start). 
[...]

----   ---=---   -   

Note that top line about `crontab'.  Is that the reason for the
subsequent failures?

What is going on that requires crontab to be read? And what might make
it not open.. permissions?

Is this the root crontab, or would it be a user crontab?... there is
so little information in the log output its not really possible to
figure much from it.

Do I need to increase verbosity somewhere to get usable information?  

Maybe the output is plenty for an experienced system administrator but
for us regular doodoos its a bit sparse.

Looking at /var/spool/cron/crontabs

-rw--- 1 root sys1004 2011-09-12 06:47 adm
-r 1 root root   1365 2011-09-12 06:47 lp
-rw--- 1 root root   1241 2011-10-27 16:09 root
-rw--- 1 root sys1122 2011-09-12 06:47 sys
-rw--- 1 root daemon0 2011-10-27 16:12 zfssnap

The only one that would be un-writable to root is `lp' and I'm pretty
sure that is not involved here

So anyway, can anyone tell what is going on in the log?  Or in the
included screenshot of the boot messages:

attachment: autoslideErrors.png___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] heavy cpu usage inside VirtualBox on linux

2011-10-28 Thread Harry Putnam
I wondered if anyone can verify if its normal to see such high cpu
usage in these situtations.

Running b 151 inside VirtualBox on a linux OS (debian).

The hardware is older P4 with Celeron 3.06 Ghz CPU and 2gb of ram.

The VM is assigned 888 MB of the available 2025.

I'm not sure how much is Virtual Box itself and how much is due to OI
Maybe someone here knows what VB it self might be pulling ans so how
much of it is OI

1) During startup
In the application `top' I see (During startup of oi) 96 % of cpu
going to Virtual box.

2) Idling after startup is complete
Once started and just idling, I see in `top':

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 11431 reader20   0  622m 520m 479m S 11.9 25.7   8:37.70  VirtualBox 

So still, a rather hefty chunk of available cpu and ram.

I have only 2 (small) zpools, and 2 zfs filesystems.  The VM is not
running any service like nfs server or the like.  Only what would
normally be running in a default install with above mentioned zpool
and zfs fs setup.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] log messages from failed time-slider daemon

2011-10-28 Thread Harry Putnam
James Carlson carls...@workingcode.com writes:

 On 10/27/11 18:34, Harry Putnam wrote:
 Note that top line about `crontab'.  Is that the reason for the
 subsequent failures?

 It appears to be.

 What is going on that requires crontab to be read? And what might make
 it not open.. permissions?

 The script this service runs modifies crontab entries (yecch!).  Not
 opening could be due to user modification of the time-slider service
 itself, bad permissions somewhere, or a read-only file system.

 Try:

   ls -ld /var/spool/cron/crontabs
   df /var/spool/cron/crontabs


  # ls -ld cron
  drwxr-xr-x 4 root sys 4 2011-09-12 06:47 cron

----   ---=---   -   

  # ls -ld cron/crontabs
  drwxr-xr-x 2 root sys 7 2011-10-28 22:13 cron/crontabs

----   ---=---   -   

  # df /var/spool/cron/crontabs
  Filesystem   1K-blocks  Used Available Use% Mounted on
  rpool/ROOT/openindiana
  27524993  16362570  11162423  60% /

----   ---=---   -   

  # /bin/df /var/spool/cron/crontabs
  /  (rpool/ROOT/openindiana):22324845 blocks 22324845 files

----   ---=---   -   

  # crontab -l  newcrontab
  # crontab newcrontab
   
(no errors or warnings)
 
To my inexperienced eye, this all looks pretty normal... is it?



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] log messages from failed time-slider daemon

2011-10-28 Thread Harry Putnam
James Carlson carls...@workingcode.com writes:

 What is going on that requires crontab to be read? And what might make
 it not open.. permissions?

 The script this service runs modifies crontab entries (yecch!).  Not
 opening could be due to user modification of the time-slider service
 itself, bad permissions somewhere, or a read-only file system.

I forgot to mention this:  In the gui I started the timeslider and it
appeared to be off by default so I checked the `enable' box.

Next bootup is when I first noticed the failures.

So unless checking `enable' counts as a user modification then there
should be none.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] send/receive.. and mountpoint

2011-10-30 Thread Harry Putnam
Running b 151a in Vbox

This is my first real try at using the send/receive commands offered
in zfs.

I'm moving data from one vm guest on a debian linux OS to a new vm
guest on a win7 OS.

I thought there would be a way to have a file system on the old server
to just be duplicated on the new.

On the new I created a zpool of the same name that the filesystems are
in on the old server.  But no  zfs filesystems.

So oldserver:

   zp2/hosts  mountpoint=/hosts
   zp2/hosts/reader

And on newserver just the pool

  zp2

So with:
  zfs send zp2/hosts@111030_14:43:17_0 |
  ssh 192.168.1.101 zfs recv   zp2/hosts

But on newserver the mountpoint is lost and zp2/hosts is mounted
on /zp2/hosts

I'm confused about what the various flags do but guessing some flag or
combination of flags will make the mountpoint come out the same during
send/recv.

When I try with the -R flag on the send end I get an error about
`reader'.


   # zfs send -R zp2/hosts@111030_14:43:17_0 |
  ssh 192.168.1.101 zfs recv zp2/hosts
   Password:
   WARNING: could not send zp2/hosts/reader@111030_14:43:17_0: does
   not exist

zp2/hosts was created and with the right mount point, but I don't
understand why I get a warning about trying to send a snapshot of 
`zp2/hosts/reader@111030_14:43:17_0' when I did not attempt to do
that.. and there isn't even a snapshot of zp2/hosts/reader with
that name.

So I've now sent the main data load which is in reader with:

   zfs send -R zp2/hosts/reader@111030_14:40:31_0 |
  ssh 192.168.1.101 zfs recv zp2/hosts/reader

It appears to be working although I won't know for sure for a couple
of hours.

So is the only way to do this is in two moves?  Or can it be done in 1
move?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] where is hostname kept

2011-10-31 Thread Harry Putnam
running b 151a

If I wanted to change the hostname of a server permanently, where is
the hostname kept and where is it read by the OS besides /etc/hosts
file?

Sorry for the lameo question but googling, the hits are apparently out
of date and say things like /etc/hostname.NIC.. and I see nothing like
that. 


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] List of installed pkgs begining with pkg:/

2011-11-01 Thread Harry Putnam
Oscar del Rio del...@mie.utoronto.ca writes:

 On 11/ 1/11 09:33 AM, Harry Putnam wrote:
 How can I get a list of installed pkgs that begin with pkg:/[...]

 I thought maybe something like:

 pkg list |awk '{print $2}' |uniq sort -o uniq_installed


 How about 'pkg info'?

 pkg info | awk '/pkg:/ { print $2 }'

Nice... yes this looks good.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] List of installed pkgs begining with pkg:/

2011-11-01 Thread Harry Putnam
Alan Coopersmith alan.coopersm...@oracle.com writes:

 No, they are installed as separate packages, and including the pkg:/
 prefix would give you the same list:

 http://pkg.openindiana.org/dev-il/info/0/editor%2Fvim%407.2.308%2C5.11-0.151.1%3A20110912T022847Z

 http://pkg.openindiana.org/dev-il/info/0/editor%2Fgvim%407.2.308%2C5.11-0.151.1%3A20110912T022854Z

Oh, thanks for the correction.. that does make a lot more sense.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Where are my auto snapshots?

2011-11-04 Thread Harry Putnam
A new install of 151a as virtual guest on win7 OS (with Vbox)

I've enabled time-slider in the gui

All sevices appear to be running:

 # svcs -a |grep 'time-slider\|auto-snap'

  disabled   Oct_29   svc:/application/time-slider/plugin:zfs-send
  disabled   Oct_29   svc:/application/time-slider/plugin:rsync
  online Oct_29   svc:/application/time-slider:default
  online 13:29:51 svc:/system/filesystem/zfs/auto-snapshot:daily
  online 13:30:51 svc:/system/filesystem/zfs/auto-snapshot:frequent
  online 13:31:00 svc:/system/filesystem/zfs/auto-snapshot:hourly
  online 13:31:10 svc:/system/filesystem/zfs/auto-snapshot:monthly
  online 13:31:15 svc:/system/filesystem/zfs/auto-snapshot:weekly

But still no snapshots:

ls /rpool/.zfs/snapshot
nada



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Where are my auto snapshots?

2011-11-04 Thread Harry Putnam
Jeppe Toustrup openindi...@tenzer.dk writes:

 On Fri, Nov 4, 2011 at 23:41, Harry Putnam rea...@newsguy.com wrote:
 A new install of 151a as virtual guest on win7 OS (with Vbox)

 I've enabled time-slider in the gui

 All sevices appear to be running:

  # svcs -a |grep 'time-slider\|auto-snap'

  disabled       Oct_29   svc:/application/time-slider/plugin:zfs-send
  disabled       Oct_29   svc:/application/time-slider/plugin:rsync
  online         Oct_29   svc:/application/time-slider:default
  online         13:29:51 svc:/system/filesystem/zfs/auto-snapshot:daily
  online         13:30:51 svc:/system/filesystem/zfs/auto-snapshot:frequent
  online         13:31:00 svc:/system/filesystem/zfs/auto-snapshot:hourly
  online         13:31:10 svc:/system/filesystem/zfs/auto-snapshot:monthly
  online         13:31:15 svc:/system/filesystem/zfs/auto-snapshot:weekly

 But still no snapshots:

 Please see the release notes, the known issues part:
 http://wiki.openindiana.org/oi/oi_151a+Release+Notes

Yes, of course but it is also a known issue that many here (or maybe
its more like `some' here) have auto-snapshots working with no
problem.  Maybe someone can tell why it is not for me.

And further isn't that a rather basic thing to not have working?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] is the newly released orac-sol 11 an advance compared to oi?

2011-11-10 Thread Harry Putnam
Too much a noob to be able to figure this out for myself.

I see what appears to be a serious lot of new stuff in release notes
of oracle-solaris 11.

Can anyone compare that new OS with oi espeically considering the
usage being a home nas.  (So maybe not needing many of the sol 11
enhancements but still curious if sol 11 has outstripped oi overall)


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] [lame q] point to documentation for rescue type boot

2011-11-10 Thread Harry Putnam
I knew how to handle this problem sometime in the past, but like so
many things, now I need it again I'm sort of drawing blanks.

I've done enough damage on an oi setup (b 151a as guest in VB on
win7) that when I attempt to start the vm it goes thru grub and stays
at the page one sees just before either a console or gui get launched
where one sees the oi/illumos logo, and a horizontal bar with blue
border and a smaller red section that runs across over and over.

Well that never stops now... and boot never completes.

(Aside:  This os has been set with 2.5 GB ram and has been able to run
fine with that...so probably that is not the problem)

Let me add here, that this OS has been running for a while... its a
newish install but has been rebooted several times and must have seen
something like 6wks of use now.

I'm not sure what all I've done but the main thing is that I disabled
gdm.  I did it on purpose and have done that in the past on other oi
and os before that to make bootup go to a console instead of the gui.

I suspect I may have done other things that are involved since like I
mentioned above, I have done this before and it just resulted in a
console login, not a hung bootup process.

I've forgotten how to get an emergency boot going... and my google
searches (and probably dumb keywords) is turning up enough stuff as to
be a bit confusing.

As I recall, this should not require booting with livecd, chroot and
such but not sure now.

I hoped someone could just point me to some docs with a walkthru.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [lame q] point to documentation for rescue type boot

2011-11-11 Thread Harry Putnam
Oscar del Rio del...@mie.utoronto.ca writes:

 I'm not sure what all I've done but the main thing is that I disabled
 gdm.  I did it on purpose and have done that in the past on other oi
 and os before that to make bootup go to a console instead of the gui.

 press Esc key to get the login prompt.
 Then remove the graphics options from the grub boot menu to get rid of
 the splash screen.

Thanks. 

Egad... I discovered that shortly after posting.  Doing an ENTER has
the same effect of bringing up the login prompt.  It just appears to
be hung up.

I guess the fact that no login prompt appears without taking some kind
of action should be seen as a bug ... right?  


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Solaris 11 is out - so?

2011-11-11 Thread Harry Putnam
Alan Coopersmith alan.coopersm...@oracle.com writes:

 On 11/10/11 23:00, Gabriele Bulfon wrote:
 Oracle announced availabilty of Solaris 11.
 Do you notice any real news in the O.S. that OI/IllumOS has not?

 http://blogs.oracle.com/darren/entry/completely_disabling_root_logins_on

It appears to no longer even be possible to circumvent the suggested
usage of root account and allow root logins.

Anyone know for sure if it is still possible to enforce an old
fashioned root account with regular login access?  If so how might it
be done?

On oi its no harder than `rolemod -K type=normal root' and then allow
root login in /etc/ssh/sshd_config.

That does not work on sol11.  Even editing /etc/ssh/sshd_config, there
appears to be some extra editing needed on involving pam.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Solaris 11 is out - so?

2011-11-11 Thread Harry Putnam
Alan Coopersmith alan.coopersm...@oracle.com writes:

 It appears to no longer even be possible to circumvent the suggested
 usage of root account and allow root logins.

 Anyone know for sure if it is still possible to enforce an old
 fashioned root account with regular login access?  If so how might it
 be done?

 On oi its no harder than `rolemod -K type=normal root' and then allow
 root login in /etc/ssh/sshd_config.

 That does not work on sol11.  Even editing /etc/ssh/sshd_config, there
 appears to be some extra editing needed on involving pam.

 That's two different things there - one is allowing root to login as an
 account directly, the other is allowing login via ssh, which wasn't
 allowed by default in Solaris 9 or 10 with a normal root account either.

Yes, I knew that, yet still managed to confuse them together.

After making both edits...I was not able to ssh to root, and from
there got into the muddle.

However I see now that the sole reason really stemmed from
something about sol11 that really is different.

sol11 will not let you chose your own passwd for root if it doesn't
have either a number or special char in it.

The login I normally use for root has upper and lower case letters and
a nice random selection of them... but sol11 will not allow me to use
that passwd.  So I added an underscore and moved on.

However, I have become so accustomed to logging in as root with my
regular passwd, that the next day, when I got around to working on the
root account edits, and it came time to enter a passwd with ssh to
root, I entered my regular passwd ..  when it was denied forgot that I
had been forced to use an underscore and I took the reason for failure
to be that I was not allowed to ssh to root even though I had edited
sshd_config.

So there is something that sol11 puts in the way... but it is neither
of root user/role nor edit of sshd_config... so I'm really sorry for
the line noise.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] restoring the root account - WAS:: Solaris 11 is out - so?

2011-11-11 Thread Harry Putnam
Jerry Kemp sun.mail.lis...@oryx.cc writes:

 I am home today playing around with Solaris 11 on an old T1000, and (at
 least here locally), the `rolemod -K type=normal root' appears to be
 working fine for me.

 Hope this helps.

Thanks for the input... please see my response to Alan, but briefly
put ... it was all pilot error.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] nfs4 both server and client

2011-11-11 Thread Harry Putnam
Can someone point me to a full description of how to setup nfs4?

Googling finds so much stuff, a lot of it is either dated or maybe for
a different flavor of solaris.

I don't know enough to know if the setup for nfs4 is generic to all
flavors or what.  But surely there must be documentation that is
designed to take from zero to a working nfs4 setup.

Just a few works about my setup and  what I'm shooting for here:

Scale: Very small... a single user on both ends.
The setup is a home lan but for the most part only one user on both
ends. 

I have taken care to ensure that user on both ends have the same
numeric uid and gid.

Openindian to be both server and client, Debian linux to be both
server and client.

oi will be exporting its zfs filesystems as a place to do project work
with the advantages of zfs snapshots. and etc.

oi will be mounting several directories from the debian machine that
contain resources of various kinds.

debian will be mounting the zfs file systems from oi

debian will be exporting several directories of various resources to be
mounted on oi.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] setting up nfs4 from scratch

2011-11-16 Thread Harry Putnam
Mark mark0...@gmail.com writes:

[...] Thanks for the very complete instructions. 

  On my linux distro [debian wheezy] I see this in /etc/idmapd.conf

  # set your own domain here, if id differs from FQDN minus hostname
  # Domain = localdomain

And since `hostname -f (-f means show fqdn) shows my full
hostname.local.domain  I guess that can stay commented.

 nfs3 does not require the domain settings.
 I use both nfs3 and nfs4, but GID/UID issues and ACLS can be tricky,
 especially if you run cifs on the same file system as I do.

So are you saying that even with the settings you posted... you still
have trouble with windows boxes over of cifs?  Or do you mean your
posted settings will avoid that happenstance?

I'm trying just to run nfs4 so maybe it will not effect me.

Oh, and what chmod cmd do you use on any shares to be shared with
windows platforms?  In the past, for cifs, I've used:

   chmod -R A=everyone@:full_set:fd:allow

But on one of the googled pages:
(http://www.bfccomputing.com/2011/03/15/creating-a-permission-free-share-with-zfs-acls-and-nfsv4/)

I found while working on this showed a
really lengthy chmod cmd:

  (wrapped for mail)

  /bin/chmod A=everyone@:read_data/list_directory/write_data/add_file/\
  append_data/add_subdirectory/read_xattr/write_xattr/execute/delete_child/\
  read_attributes/write_attributes/delete/read_acl/write_acl/write_owner/\
  synchronize:file_inherit/dir_inherit:allow

Is something like that really necessary or does the shorter one cover
the same stuff with :full_set:fd:allow?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-16 Thread Harry Putnam
Gary Driggs gdri...@gmail.com writes:

 I am a bit curious why NFSv4 would be the first choice for such a
 small LAN as the original poster's. Do you wish to use Kerberos and
 ACLs to manage access from Windows?

No, I'm not concerned with acls or kerberos at all... being as how it
is a small private lan.

I was told I could expect 20-25 percent faster transfer speeds.  That
would be enough to make it interesting since a fair bit of what would
be getting transferred would be quite large video and other graphic
formatted files.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-16 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

[...]

 When I start to edit /etc/default/nfs as described in some of the
 directions I've found I see:

   # Moved to SMF. Use sharectl(1M) to manage NFS properties.

Ditto for /etc/default/autofs

But when I go to man sharectl, there is no mention whatever of autofs.

Looking at the status

  sharectl status autofs
   autofs  online client

Are there specific setting that autofs needs to be started with?  In
my case automounts would involve nfs shares being offered by a linux server
and smb (cifs) shares being offered by several windows platforms.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] getting cpan shell to `addhistory' (readline)

2011-11-16 Thread Harry Putnam
What else do I need to have installed besides `pkg:/library/readline'
in order for the cpan shell to be fully readline enabled.  That is,
capable of supplying `history' with up/down arrows.

I vaguely remember on other OSs needing term-readline... but I don't
see anything like that other than rxvt type term that comes up when I
do pkg search readline:
----   ---=---   -   
basenamedirusr/demo/readline
pkg:/library/readline@5.2-0.151.1
basenamedirusr/include/readline 
pkg:/library/readline@5.2-0.151.1

basenamefile   usr/lib/urxvt/perl/readline  
pkg:/terminal/urxvt@9.12-0.151.1

description setGNU readline 
pkg:/library/readline@5.2-0.151.1
pkg.description setGNU readline library (5.2)   
pkg:/library/readline@5.2-0.151.1
pkg.fmrisetopenindiana.org/library/readline 
pkg:/library/readline@5.2-0.151.1
pkg.summary setGNU readline 
pkg:/library/readline@5.2-0.151.1
----   ---=---   -   

But installing that didn't help.  When I run `cpan' I still see:

  Terminal does not support AddHistory.
  Your OS does not support locking; continuing and ignoring all locking issues
  CPAN: Time::HiRes loaded ok (v1.9711)

  [...]

It may be relevant that I am sshed into the sol box from a `screen'
session on a linux box... my $TERM shows `screen'.  But I got the same
message when $TERM is xterm too.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] setting up nfs4 from scratch

2011-11-17 Thread Harry Putnam
Mark mark0...@gmail.com writes:

[...]

 Oh, and what chmod cmd do you use on any shares to be shared with
 windows platforms?  In the past, for cifs, I've used:

 chmod -R A=everyone@:full_set:fd:allow


 When security isn't an issue, then this will be easier.
 Files created from windows will probably end up showing different
 ACL's as Windows uses different defaults, and nfs3 and 4 also will
 produce different results, since one knows ACL's and one doesn't.
 I just run a cron job to bash them back into what I want.

I'm sorry to be so thick skulled, but I didn't understand what it is
you are doing... do you use a chmod command at all?  What is it if you do?

Bash them back to what?

 I'd go with a simple approach that works for you.

What simple approach?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] about list of snaps in specific fs

2011-11-28 Thread Harry Putnam
I must be just getting the syntax all wrong but zfs man page makes
appear possible to list snapshots of a specific file system.

zfs list -t snapshot zp2/hosts/reader

   zfs list -t snapshot zp2/hosts/reader
  cannot open 'zp2/hosts/reader': operation not applicable to 
  datasets of this type

`zfs list -t' shows all snapshots... but what about a specific zfs_fs?



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Which mobo allows 24 GB ram and ECC

2011-12-04 Thread Harry Putnam
Hoping to save any more googling and pawing thru specs etc by letting
someone that knows just name motherboards that allow 24 gb max ram and
have option for ECC memory too.

This will be for a zfs server but will also be the home of many
installed guest vms... hence the high ram spec.

I've looked at quite a few asus boards which seem to have ECC option
more or less by default (unlike most others).   But then finding the
24 GB max is another matter...

Or possibly my google stings are poorly thought out or arranged.  Is
anyone else noticing that google seems NOT to honor quotations in
search string any more?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Which mobo allows 24 GB ram and ECC

2011-12-05 Thread Harry Putnam
Jerry Kemp sun.mail.lis...@oryx.cc writes:

 I have one of these running OI b151a without issue.

 Gigabyte GA-X58A-UD5

 I only have 12 Gb of ram installed, but it goes to 24 Gb.

At neweggs page with specs I don't see any mention of ECC memory.  Do
you know if it is supported?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


  1   2   3   4   5   6   >