LinuxQuestions.org
Help answer threads with 0 replies.
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 01-07-2009, 01:42 AM   #1
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Solaris file system structure and choosing a new OS


Well I am now ready to install Solaris again after going through 5 BSD installs and openSUSE (super nice kitchen-sink distro btw).

I need to run a winbloze guest and I found VirtualBox has fantastic performance even on dog-slow openSUSE and is supposed to integrate well with Solaris. I have a new 3.0 GHz core 2 dual box and 4G of RAM.

One thing I never understood is Solaris' file structure. What is /export/home (did I remember that right).

I want to understand where things go so I can allocate the right amount of space for my partitions. I realize I will probably not create an optimal set up the first time and will have to install again after living with it for awhile but I want to get as close as I can on the first try.

Search as I might, I haven't been able to find any information explaining the Solaris file structure. Can anybody give me some pointers to discussions on this or Solaris doc, etc?

Also anything to watch out for or tricks to getting the most out of Solaris?

I want to use it as a desktop, a development environment, a web server, and to run at least one VM guest.

Thank you all.

Last edited by Randux; 01-07-2009 at 01:44 AM.
 
Old 01-07-2009, 02:37 AM   #2
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Hi,

I know little about Solaris but

You are right about home, it is under /export (/export/home/users)

/tmp is actually is RAM so keep that in mind if you decide to extract a tar into /tmp

Apart from that, I guess it's a unix box like any other.
 
Old 01-07-2009, 03:15 AM   #3
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Thank you. Does anybody have more detail and info?
 
Old 01-07-2009, 04:02 AM   #4
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
Solaris filesystem structure is documented in the manual pages (man filesystem).

/export/home is a directory where home directories are physically located, especially in the case where these homedirs are to be shared between different machines.

User's home directories are normally under /home/<username> like they are traditionally under most Unix implementations. They are automounted there (either locally or remotely) but you need to configure the system to tell where to find the actual data.

You are free to disable the whole thing if you don't plan to share homedirs (comment out the /home line in /etc/auto_master)

/tmp isn't exactly on RAM but on virtual memory so the swap area is used in case RAM is exhausted.
 
Old 01-07-2009, 04:06 AM   #5
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Thanks for the information jlliagre
 
Old 01-07-2009, 05:44 AM   #6
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
I can't do anything now because I broke my desktop trying to get kdmconfig to use my whole screen instead of a small part of it. Now it sits there on the console with no prompt and doesn't let me do anything.
 
Old 01-07-2009, 06:24 AM   #7
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Where can I get something for Solaris like this: http://bp3.blogger.com/_Vbsj-yhipTw/..._structure.jpg

Thank you jlliagre, man filesystem does help a lot.

Is there some guide to getting started with Solaris? All the information seems to be reference manuals rather than user guides and there is much doc.

Last edited by Randux; 01-07-2009 at 06:26 AM.
 
Old 01-07-2009, 07:40 AM   #8
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 Randux View Post
Where can I get something for Solaris like this: http://bp3.blogger.com/_Vbsj-yhipTw/..._structure.jpg
I strongly dislike the way uppercase is used to represent file and directory names but this graphic is anyway mostly compatible with what Solaris uses. It is even representing directories that are more relevant to Solaris than most Gnu/Linux distributions, like /var/opt and /etc/opt.

Some of the differences are:
/bin doesn't exist as a directory under Solaris, it is a link to /usr/bin.
/dev contains links to actual devices nodes that are under /devices.
/usr/local isn't part of Solaris although many third party software do not care and install there anyway.
/usr/sbin isn't for "no essential binaries" but for "non essential system administration binaries".
/ is root's home directory, not /root.
Quote:
Is there some guide to getting started with Solaris? All the information seems to be reference manuals rather than user guides and there is much doc.
There is a lot of "getting started" documentation generally specialized in specific areas.

Better to ask more specifically what part you need help with.
 
Old 01-07-2009, 11:26 AM   #9
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by Randux View Post

Search as I might, I haven't been able to find any information explaining the Solaris file structure. Can anybody give me some pointers to discussions on this or Solaris doc, etc?
Some time ago, Ben Rockwood did some explanation about Solaris' filesystem layout and functions on his Blog.
Right here: http://www.cuddletech.com/blog/pivot/entry.php?id=562

And this one may serve well to see the differences to other UNIXEN: http://bhami.com/rosetta.html

Last edited by coolster; 01-07-2009 at 11:29 AM. Reason: typ
 
Old 01-07-2009, 12:09 PM   #10
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Jlliagre thank you so much for your typical excellent information!

Specifically, I have a difficult time understanding how to "think Solaris" even after running Slackware and BSD for about 4 years. I need to learn how to find things (the filesystem info will help), how Solaris package management works, etc. I think that Solaris doesn't support my video chipset (G3) on this box so I am going to have to wait for a while until I can get back to it.

Coolster, that Rosetta stone may be just the ticket for me! That's the type of information I was looking for. I bookmarked both your links. Thanks very much, guys!
 
Old 01-07-2009, 02:59 PM   #11
popowich
Member
 
Registered: Nov 2004
Location: Rochester, New York
Distribution: RHEL7
Posts: 53

Rep: Reputation: 15
On 36GB disks when installing Solaris 10 I typically create (rough sizes)

/ 8GB
swap 4GB
/foo 25MB (for metadb databases)
/var 6GB
/export 20GB (the rest of the available disk)

-Raymond
 
Old 01-08-2009, 06:39 AM   #12
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 Randux View Post
how Solaris package management works
This is an area where changes are coming.
Traditionally, Solaris was using the SVR4 standard packaging system (pkgadd/pkginfo/pkgrm). There are some tools, especially pkg-get, which provide some enhancements to these tools while keeping the package file format compatible.
Latest OpenSolaris based distributions start to implement an alternative solution with better automatic dependency management and repository handling.
Quote:
I think that Solaris doesn't support my video chipset (G3) on this box so I am going to have to wait for a while until I can get back to it.
Can you provide more information about this chipset ?
What says the sun device detection tool ? http://www.sun.com/bigadmin/hcl/hcts/device_detect.jsp
 
Old 01-08-2009, 01:04 PM   #13
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Thank you very much jlliagre, I will have to get back to you later on this.
 
  


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
Need help choosing distro (and file system) for file server stromdal Linux - Distributions 3 08-10-2007 11:59 PM
the on-disk structure of the ext3 file system SeRGeiSarov Linux - Software 1 06-04-2007 01:00 PM
Common file structure - RHEL 4.4 Solaris 2.6 montgomery Linux - Enterprise 1 01-25-2007 09:27 AM
Choosing a File System cjnodell Linux - Newbie 15 06-10-2005 10:55 AM
File system/structure question ashley75 Linux - General 1 05-17-2005 09:02 PM

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

All times are GMT -5. The time now is 01:10 PM.

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