Re: [osol-discuss] Q: Adding newlines to script email output

2010-05-24 Thread Johan Eliasson
talonso's suggestion about quotes around the $message worked nicely and required the least modification, so I went with that. Thank you all for your replies! -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-di

[osol-discuss] Q: Adding newlines to script email output

2010-05-03 Thread Johan Eliasson
Greetings! I have a little script that looks like below, that emails me info on my zfs pool every day: --- start script --- message=`/usr/sbin/zfs list -r tank` echo "Subject: filez ZFS Information\n\n"$message | mail fi...@nebol.se --- end script --- My problem is that when I view the mail in

Re: [osol-discuss] Package Manager & mysql , what a mess....

2009-07-12 Thread Johan Eliasson
Bah, v 5.1 has been put in maintenance due to stopping too often. It flickers between online and disabled like mad... sigh. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Package Manager & mysql , what a mess....

2009-07-12 Thread Johan Eliasson
Ah there... I re-installed and then re-removed the whole shebang. No mysql stuff installed now. But still, mysql 5.0 and 5.1 are visible in the services window. Weird. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opens

[osol-discuss] Package Manager & mysql , what a mess....

2009-07-12 Thread Johan Eliasson
So I had AMP installed (with mysql 5.1). I then installed vpanels with mysql... I think somehow mysql 5.0 was installed too, right there So I now have two versions of mysql... I open up the Services window... oh it has changed completely, I didn't ask for that... but I have bigger problems rig

Re: [osol-discuss] Adaptec 2410SA controller card, needs raid array? no good for zfs?

2009-06-12 Thread Johan Eliasson
Oh no, that's great! So ZFS can use the disk fully, there's just an "invisible" adaptec raid-0 layer between zfs and the disk that doesn't really change anything, right? Thanks a lot for the info!! -- This message posted from opensolaris.org ___ op

Re: [osol-discuss] Adaptec 2410SA controller card, needs raid array? no good for zfs?

2009-06-12 Thread Johan Eliasson
Aaah I see.. but that means it will not be able to use the checksumming? -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Adaptec 2410SA controller card, needs raid array? no good for zfs?

2009-06-12 Thread Johan Eliasson
"There is no pass-through JBOD mode on this controller so the only way you could use it with OSOL+ZFS natively would be to expose the 4 slots as separate LUNs." But how do I do that? -- This message posted from opensolaris.org ___ opensolaris-discuss ma

[osol-discuss] Adaptec 2410SA controller card, needs raid array? no good for zfs?

2009-06-11 Thread Johan Eliasson
I've put my Adaptec 2410SA enclosure in my OpenSolaris box. I can't get the drives to appear in the "format" list. The drives are found by the Adaptec BIOS, but it seems the Adaptec BIOS ignores the drives completely unless you create a raid array from them? "No logical drives found" it says. An

Re: [osol-discuss] can't set default boot environment

2009-06-07 Thread Johan Eliasson
Hmm doesn't seem to be the case with my setup, mountpoints look ok... -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] can't set default boot environment

2009-06-04 Thread Johan Eliasson
ne...@filez:/# BE_PRINT_ERR=true beadm activate opensolaris-3 be_do_installgrub: installgrub failed for device c5d0s2. Unable to activate opensolaris-3. Unknown external error. Hmm... I seem to remember some advice from the os about running installgrub on the mirror drive... possibly related, yes

[osol-discuss] can't set default boot environment

2009-06-03 Thread Johan Eliasson
When upgrading, isn't OpenSolaris supposed to change the default boot environment to the newly created one? Doesn't happen. So I tried to do it myself: ne...@filez:/# beadm list BEActive Mountpoint Space Policy Created ---- -- - -- ---