LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-01-2007, 12:14 PM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
From Linux to Solaris...


Hello all,

I need some advice/pointers from all the solaris people out there.

I had a phone interview (and this Tues. a face to face interview) with a guy looking for a Jr. Unix Administrator. He was impressed with my knowlage of Unix commands (he quized me), and knowladge of networking. Although I got NONE of the Solaris specific questions right...I did get ALL of the unix commands right. So he wants to meet with me to disscuss this opportunity with me.

I am a Linux guy, and I mostly worked with Red Hat Based Distros (Fedora and CentOS)

Is there much difference I need to know? Any pointers or advice? Thanks

-Custangro
 
Old 03-01-2007, 03:13 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
The difference is mainly in administration and perhaps in scale. A lot of people using Solaris/HP-UX/AIX are running much larger RISC based servers and will often have concepts used that one might not use in Linux even if it is available. For example Veritas Volume Manager (VxFS) is available on Solaris and HP-UX. It is similar in concept to LVM on Linux (and also HP-UX) but the details are quite different. Disk storage on large systems tends to be on external hardware RAID devices rather than internal to the system as it is on a lot of Linux desktops.

The key here is "Jr". It sounds as if he is looking for someone who already knows the basics (ls, df, vi, etc...) that he can train for the differences.

I've successfully moved from AT&T UNIX --> SCO UNIX --> HP-UX --> Solaris --> Linux and a fair number of other flavors in between. Knowing the basics gets you pretty far along although I'll have to say going from small systems to HP-UX was a bit of a learning curve for me.

You might want to have a look at Rosetta Stone as it gives some nice information about differences between various Unix variants and Linux .

http://bhami.com/rosetta.html
 
Old 03-01-2007, 05:28 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
The new ZFS in solaris is pretty much the only big difference is see when comparing an average linux distro with solaris. ZFS isn’t just another filesystem, but it’s a completely different way of doing filesystems. You pool together hard disk space which you can tell the OS to use however you want (kind of like using a volume manager but different). Other than that, there is some difference in hardware naming (such as nge0 vs. eth0 for network interfaces), but mostly everything is the same.
 
Old 03-02-2007, 07:45 AM   #4
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Solaris commands are System V based (as far as syntax goes), rather than BSD (which is what Linux is closest to)... Just enough difference there to make you use the "man" command a lot
 
Old 03-02-2007, 08:14 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
ZFS is indeed a main difference but both the concept and the commands are very simple to learn and use, so you can be ready with it quickly. There is even a project to port ZFS to Linux.

OTOH, there are several Solaris 10+ features where Linux has either no equivalent, not very widely advertised ones or simply a different approach.

Some areas that came in mind are Dtrace, (branded) Zones, Resource management, Fault management, Service management, RBAC, LOM, 32 and 64 bit support by the same distribution, Live upgrade, patching, packaging.

Finally, be aware that the default command line utilities found with Solaris are not the ones provided by GNU, and so typically do not support GNU extensions.

Some of GNU utilities are or may be available in /usr/sfw/bin (supported by Sun), /opt/sfw/bin (supported by the community), /opt/csw/bin (Blastwave), /usr/local/bin (sunfreeware.com or locally compiled), ...
 
Old 03-02-2007, 08:40 AM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by Dox Systems - Brian
Solaris commands are System V based (as far as syntax goes), rather than BSD (which is what Linux is closest to)... Just enough difference there to make you use the "man" command a lot
Funny. Solaris was originally BSD like and they (poorly, in my estimation) retrofitted it to be SysV like. The resulting hodgepodge of bizarre links made me truly detest looking at devices among other things on Solaris. Things may be different in Solaris 10 - haven't played with that one.
 
Old 03-02-2007, 10:56 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by jlightner
Funny. Solaris was originally BSD like
More than BSD Like, Solaris 1 (SunOS 4) was built on original BSD 4.2 then 4.3. Don't forget Sun use to be a start-up company created by one of the original developer of BSD: Bill Joy.
Quote:
and they (poorly, in my estimation) retrofitted it to be SysV like.
Again not SysV like, but really System V original source code.
SVR4 was designed by AT&T and Sun to merge features from BSD and System 5 Release 3.
/usr/ucb directory remains that.
Quote:
The resulting hodgepodge of bizarre links made me truly detest looking at devices among other things on Solaris.
Too bad, I can't help on that ...
Quote:
Things may be different in Solaris 10 - haven't played with that one.
/dev and /devices aren't different in Solaris 10 and up.
 
Old 03-02-2007, 12:55 PM   #8
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
That's a bit pedantic isn't it?

"like" meaning "Possessing the characteristics of; resembling closely; similar to".

To me it isn't truly BSD if it isn't from Berkley and it isn't truly SysV if it isn't from AT&T (or NCR for a short while). It's much like saying FreeBSD is like OpenBSD - They're both BSD distributions but do have customized differences just as Solaris has customizations of its SysV implementation that are different from those of HP-UX.

As to helping on the perception of hodgepodge I wasn't asking for any - just stating an opinion (estimation = "An opinion or a judgment").

Definitions provided by:
http://www.thefreedictionary.com/
 
Old 03-02-2007, 04:37 PM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
To me it isn't truly BSD if it isn't from Berkley and it isn't truly SysV if it isn't from AT&T (or NCR for a short while). It's much like saying FreeBSD is like OpenBSD - They're both BSD distributions but do have customized differences just as Solaris has customizations of its SysV implementation that are different from those of HP-UX.
I understand what you mean, my only point was Sun original O/S was BSD, and several major Berkeley developers became Sun employees.

Let's imagine Linus and other kernel developers decide to start a company and build their own GNU/Linux distro. I'm sure he would frown if one would call it a "Linux-like" distro. Okay, that's not strictly equivalent as Torvalds owns the Linux brand.

Similarly, Sun didn't bought an AT&T license, like HP and IBM did, but created SVR4 along with AT&T developers in a cooperative venture by merging BSD 4.3, SunOS 4.2, System V R3 and Xenix features. So Solaris 2.0 was definitely System V Release 4 at that time, not a System V like.

As of what Solaris is today, you right telling it is no more a "pure" SVR4.0, as it has evolved a lot and sometimes diverged during more than 16 years, while SVR4.2 is a different beast somewhere.

Quote:
As to helping on the perception of hodgepodge I wasn't asking for any - just stating an opinion (estimation = "An opinion or a judgment").
How can one dislike such an elegant scheme that name my boot disk /devices/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0:a
 
Old 03-02-2007, 05:46 PM   #10
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Wow....sounds like there is A LOT that is similar...but at the same time sound like there is A LOT that is different...
 
Old 03-02-2007, 06:41 PM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Yes, that's a good summary !
 
Old 03-05-2007, 07:28 AM   #12
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
How can one dislike such an elegant scheme that name my boot disk /devices/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0:a
Elegant indeed - so long as you keep your secret decoder ring handy...

Not that HP-UX device paths are any less cryptic (one has to learn what the bits of the minor number mean) but at least the paths themselves are easier to traverse.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Hp Puts Solaris on More X64 Servers, Partners for Solaris Emulation LXer Syndicated Linux News 0 02-07-2007 07:21 AM
great solaris website for newbies http://solaris-x86.org/ feetyouwell Solaris / OpenSolaris 2 12-06-2006 12:14 AM
Windows and FC3 and Solaris---and only Solaris boot error message zillah Linux - Laptop and Netbook 1 07-07-2005 10:17 PM
Linux+Solaris : How can Linux login tu Solaris alnizam Solaris / OpenSolaris 2 06-04-2003 01:06 PM
Linux+Solaris : How can linux login to Solaris alnizam Linux - Software 2 05-28-2003 10:39 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration