Author Topic: My own Opensolaris thread.. Help!  (Read 2582 times)

Offline gruelius

  • Academy Student
  • *
  • Posts: 35
  • llama...
My own Opensolaris thread.. Help!
« on: December 31, 2008, 12:59:06 AM »
Hey all,
I have a debian server running etch atm with 5x500gb harddisks running in a md raid5 array with a lvm ontop as well as 2x200gb mirrored boot disks.

Im looking to use ZFS with opensolaris and ive been talking alot on irc but i still have heaps of troubles.

One:
Should i use Samba or CIFS?
I have a large amount of rules set in my smb.conf on my debian box and id like to be able to copy that over.
Happy to modify it for cifs if it is worth it. Where is the actual smb.conf file sitting though =\ All the cifs guides i see just tell people to set smb share options when mounting zfs datasets

Two:
I cant find the packages i want with pkgutil or pkg. Does this mean i just have to compile from source and force myself to check the package websites weekly for updates? Is there a better way to do this?

Three:
Kind of inline with number two but how do i find out when there are securtiy updates to the kernel and stuff? cause i did pkg image-update -v and it updated it, i dunno if there were any changes or not.

Anyway what i have on my server and want to setup on this one is:
Samba (or equiv)
logcheck
fail2ban
moblock


other apps that check for updates themselves include:
vuze
sabnzbd

but i can manage that easily.

Anyway im about to crash, read more wikis and man pages than i can cope with in one day.

tbh i really like the idea of zfs but having to get rid of all the things that makes debian so easy to use is making it a hard decision!

Offline zebra

  • ...
  • Global Moderator
  • Oinin
  • *****
  • Posts: 5,769
  • Superhorse
Re: My own Opensolaris thread.. Help!
« Reply #1 on: December 31, 2008, 07:28:42 AM »
One:
Should i use Samba or CIFS?


Given your rule-set man, I'd be using samba for time being. You can simply pkg-util -i samba. It'll plonk everything into /opt/csw/sbin/ and the config file will live in /opt/csw/etc/.

Probably even easier, you can user the OpenSolaris 2008.11 IPS apt-like system to install samba that way too.

Quote
Two:
I cant find the packages i want with pkgutil or pkg. Does this mean i just have to compile from source and force myself to check the package websites weekly for updates? Is there a better way to do this?

I think I mentioned this before, but you can just use IPS to get updates et al, if they are on the opensolaris repo. If not, yeah, try pkgutil. If STILL no, then yup, compiling from source it is. For the 2008.11 builds, the BEST way to do things is to use IPS, as it is the direction they want to push people in/make it easier for folks who aren't savvy enough to understand LU and smpatch.

Quote
Three:
Kind of inline with number two but how do i find out when there are securtiy updates to the kernel and stuff? cause i did pkg image-update -v and it updated it, i dunno if there were any changes or not.

You did the right thing dude. That is correct. To check what is happening internally, you'll want to:

Code: [Select]
uname -a

To get your kernel info. If kernel has been updated, or any critical drivers, logically, it's going to ask for a reboot. You can also look at all the revisions of your packages through showrev -p.

Samba (or equiv) <-- already explained. On every repo.
logcheck <-- compile by hand, but keep in mind, solaris uses logadm to handle this stuff in kernel mode 64bit. Far more efficient.
fail2ban <-- compile by hand, but again, solaris uses something more powerful, called "denyhosts", check it out
moblock <-- DEF compile by hand. No way any solaris user would ever put this into a repo. Isn't this like PeerGuardian? Dude, wtf?

Quote
tbh i really like the idea of zfs but having to get rid of all the things that makes debian so easy to use is making it a hard decision!

It's a wonderful world, once you get into it. A liberating one, that shows you how good it can really be. But, I have to say, if you are looking for Linux, or a Linux like experience, this might not be a world you want to know. Solaris, BSD, AIX et al were never about "Friendly" or "easy to manage". They are about absolute raw power and functionality. You get this, in spades. 2008.11 was designed to be a means to make it all far more usable for people. It's gone a long way in doing it, hence, so many peeps are cutting across to OpenSolaris.

That being said, it's not for everyone. Just keep in mind, Linux will, for the forseeable future, drag the chain as far as storage technologies go. It's kernel was never made for this world, nor were any of it's design goals. Will we ever see true ZFS in kernel, in Linux? Well, they tried - and failed, so I doubt it. Maybe the FUSE project for ZFS could work, even if it will be stuck in userland.

You use UNIX because you need power and stability/functionality. Not because you want to easily update things or have packages that can do everything, let alone have packages that then ACT UPON packages (like a meta-package), which in the UNIX world is a huge no-no.

Hope it helps.

z

Arghdee

  • Guest
Re: My own Opensolaris thread.. Help!
« Reply #2 on: December 31, 2008, 08:53:37 AM »
The biggest adjustment you need to make is to get out of the Linux (and especially Debian) mindset.

Think back to the learning curve of when you first used Linux. That's what you've got ahead of you now.
It'll take some time to adjust, but ultimately the rewards will outweigh the effort.

Offline chakkerz

  • Academy Student
  • *
  • Posts: 37
Re: My own Opensolaris thread.. Help!
« Reply #3 on: January 03, 2009, 09:33:13 PM »
umm Samba vs CIFS: well ... actually that should be SMB vs Samba vs CIFS:

SMB was the original implementation, Samba was the reverse engineering of this, and CIFS is a reformulation of the SMB / Samba stuff into something that is shared across multiple platforms. Solaris i hear is one of the major CIFS developers, though my source on that is a little biased.

The main difference is that Samba on FreeBSD (possibly other *BSDs) has some serious issues talking to Samba on Solaris. Main reason being that a schism is happening in the maintenance groups. Solaris is throwing it's support behind the newer and clearner CIFS re-work, in favour of the never working always at best limping Samba (No, really, samba DOESN'T work ... it spends 80% of its time appearing to work, which is why it's slow as buggery without lube).

So, use your smb (well samba) configuration, for the server; you are more likely to have CIFS clients talk fine to Samba servers, than Samba clients to Samba servers.

Then again, migrating to CIFS will likely save you some headaches, especially if the Samba headaches start...
with kind regards, chakkerz

Offline glitch

  • SPL Gimp Master
  • Chosen One
  • Nukenin
  • ***
  • Posts: 4,192
  • Resident Christian and Designer
    • my digital self
Re: My own Opensolaris thread.. Help!
« Reply #4 on: January 04, 2009, 12:07:10 AM »
BEHOLD! it's Chakkerz
welcome back bloke.

|G|
Check out my blog, now with added coolness http://glitch7.wordpress.com/ Read, comment, subscribe, you know the drill... Latest Post: Leadership observations...

Offline chakkerz

  • Academy Student
  • *
  • Posts: 37
Re: My own Opensolaris thread.. Help!
« Reply #5 on: January 05, 2009, 11:49:03 AM »
Cheers glitch :)

Incidentally, the issue was FreeBSD Samba to Real Windows, not Samba to Samba.
with kind regards, chakkerz