Pardon for the dumb questions below, I am just learning Unix and trying
to understand this stuff. I have installed Solaris 10 on a Sunfire
X2100 with a single 250 gb disk. When I do a DF -h, it shows two
logical disks, cld0s0 which has 4 gb and is mounted on /, the other
cld0s7, with the remaining 225+ gb, and is mounted on /export/home.
Why did the Solaris install do this, instead of giving me all my disk
space on one drive? This seems to be a pain in the butt, because I am
trying to install Sun Communication Suite, and the default location for
all these files is a directory off of /, and there isn't enough space.
I have tried for some of the products to specify a directory off of
/export/home, but one in particular won't allow it, so I am screwed.
Is there a way I can reconfigure things without re-installing Solaris?
|
|
0
|
|
|
|
Reply
|
Jeff
|
4/9/2008 5:49:59 AM |
|
The diskspace allocation for a default Solaris install is somewhat...
odd and not what anyone would like.
An option (apart from reinstalling) is putting selected directories on
the /export/home partition and making a symlink to /root. This should
be possible for /usr and /var, some of the larger directories in any
installation (apart from users' home directories ofcourse).
Maarten
--
"The train now approaching Platform One is the stolen InterCity 125
from London King's Cross. Passengers are assured that British
Transport Police are doing everything in their power to arrest it"
|
|
0
|
|
|
|
Reply
|
Maarten
|
4/9/2008 6:23:40 AM
|
|
Jeff McKay wrote:
> Pardon for the dumb questions below, I am just learning Unix and trying
> to understand this stuff. I have installed Solaris 10 on a Sunfire
> X2100 with a single 250 gb disk. When I do a DF -h, it shows two
> logical disks, cld0s0 which has 4 gb and is mounted on /, the other
> cld0s7, with the remaining 225+ gb, and is mounted on /export/home.
> Why did the Solaris install do this, instead of giving me all my disk
> space on one drive?
You do have all your space on one drive, but it is split across file
systems.
It is somewhat easier to back up data if the OS is on one file system
and user files on another. It is somewhat more convenient to have file
systems no bigger than the size of the tapes in a tape drive. But now,
with huge disks costing next to nothing, and modest tape drives being
very expensive, tape is getting a bit of an expensive way to back up.
Unfortunately, the defaults on Solaris seem to be pretty bad, as / is
far too small.
This seems to be a pain in the butt, because I am
> trying to install Sun Communication Suite, and the default location for
> all these files is a directory off of /, and there isn't enough space.
> I have tried for some of the products to specify a directory off of
> /export/home, but one in particular won't allow it, so I am screwed.
> Is there a way I can reconfigure things without re-installing Solaris?
You can get around this by use of symbolic links. Lets assume your
program needs to go into /usr/local (as many will want to), but you have
insufficient space on the root file system.
# mkdir /export/home/local
# chmod 755 /export/home/local
# ln -s /export/home/local /usr
# ls -ld /usr/local (will show link)
Permissions for /usr/local must be set on the file system where the
files actually reside, which is /export/home
|
|
0
|
|
|
|
Reply
|
Dave
|
4/9/2008 6:47:38 AM
|
|
On Tue, 08 Apr 2008 22:49:59 -0700, Jeff McKay wrote:
> Pardon for the dumb questions below, I am just learning Unix and trying
> to understand this stuff. I have installed Solaris 10 on a Sunfire
> X2100 with a single 250 gb disk. When I do a DF -h, it shows two
> logical disks, cld0s0 which has 4 gb and is mounted on /, the other
> cld0s7, with the remaining 225+ gb, and is mounted on /export/home.
> Why did the Solaris install do this, instead of giving me all my disk
> space on one drive? This seems to be a pain in the butt, because I am
> trying to install Sun Communication Suite, and the default location for
> all these files is a directory off of /, and there isn't enough space.
There is no possible way for anybody at Sun to predict how much drive
space you would require. During the installation you were advised how
much would be used by the software on the installation media. Since you
chose not to allocate additional space for your applications you did
run short on space.
> I have tried for some of the products to specify a directory off of
> /export/home, but one in particular won't allow it, so I am screwed. Is
> there a way I can reconfigure things without re-installing Solaris?
Reinstallations are a part of the learning process. At least you got to
this lesson before incurring any real damage.
Considering that you may want to update your system at some time in the
future and do that using Live Upgrade you will want to allocate a
partition for the upgrade installation the same size as this present
install.
You will also need to patch the system and that will require a LOT of
space if you wish to retain the ability to backout your patches. Since
you almost certainly do not want to reinstall your apps after an OS
upgrade then allocate enough space for your apps and data.
Give yourself at least 30 GB partitions for the present install and the
upgrade install. Add more swap space, the default install probably only
gave you ~540 MB of swap. Add another partition for your apps and be
generous in allocating enough space.
|
|
0
|
|
|
|
Reply
|
Dave
|
4/9/2008 8:21:08 AM
|
|
Dave schrieb:
> Jeff McKay wrote:
>> Pardon for the dumb questions below, I am just learning Unix and
>> trying to understand this stuff. I have installed Solaris 10 on a
>> Sunfire X2100 with a single 250 gb disk. When I do a DF -h, it shows
>> two logical disks, cld0s0 which has 4 gb and is mounted on /, the other
>> cld0s7, with the remaining 225+ gb, and is mounted on /export/home.
>> Why did the Solaris install do this, instead of giving me all my disk
>> space on one drive?
>
>
> You do have all your space on one drive, but it is split across file
> systems.
>
> It is somewhat easier to back up data if the OS is on one file system
> and user files on another. It is somewhat more convenient to have file
> systems no bigger than the size of the tapes in a tape drive. But now,
> with huge disks costing next to nothing, and modest tape drives being
> very expensive, tape is getting a bit of an expensive way to back up.
>
> Unfortunately, the defaults on Solaris seem to be pretty bad, as / is
> far too small.
>
> This seems to be a pain in the butt, because I am
>> trying to install Sun Communication Suite, and the default location for
>> all these files is a directory off of /, and there isn't enough space.
>> I have tried for some of the products to specify a directory off of
>> /export/home, but one in particular won't allow it, so I am screwed.
>> Is there a way I can reconfigure things without re-installing Solaris?
>
>
> You can get around this by use of symbolic links. Lets assume your
> program needs to go into /usr/local (as many will want to), but you have
> insufficient space on the root file system.
>
> # mkdir /export/home/local
> # chmod 755 /export/home/local
> # ln -s /export/home/local /usr
> # ls -ld /usr/local (will show link)
>
> Permissions for /usr/local must be set on the file system where the
> files actually reside, which is /export/home
>
>
I'd rather use lofs instead of a symlink for this kind of use case. I.e.
# mkdir /export/local
# mkdir /usr/local
# mount -F lofs /export/local /usr/local
- Thomas
|
|
0
|
|
|
|
Reply
|
Thomas
|
4/9/2008 9:29:07 AM
|
|
Thomas Maier-Komor wrote:
>> # mkdir /export/home/local
>> # chmod 755 /export/home/local
>> # ln -s /export/home/local /usr
>> # ls -ld /usr/local (will show link)
>>
>> Permissions for /usr/local must be set on the file system where the
>> files actually reside, which is /export/home
>>
>>
>
> I'd rather use lofs instead of a symlink for this kind of use case. I.e.
>
> # mkdir /export/local
> # mkdir /usr/local
> # mount -F lofs /export/local /usr/local
>
> - Thomas
I was not aware of that method. What is the advantage(s) over a link?
|
|
0
|
|
|
|
Reply
|
Dave
|
4/9/2008 11:16:20 AM
|
|
Jeff McKay wrote:
> Pardon for the dumb questions below, I am just learning Unix and trying
> to understand this stuff. I have installed Solaris 10 on a Sunfire
> X2100 with a single 250 gb disk. When I do a DF -h, it shows two
> logical disks, cld0s0 which has 4 gb and is mounted on /, the other
> cld0s7, with the remaining 225+ gb, and is mounted on /export/home.
> Why did the Solaris install do this, instead of giving me all my disk
> space on one drive? This seems to be a pain in the butt, because I am
> trying to install Sun Communication Suite, and the default location for
> all these files is a directory off of /, and there isn't enough space.
> I have tried for some of the products to specify a directory off of
> /export/home, but one in particular won't allow it, so I am screwed.
> Is there a way I can reconfigure things without re-installing Solaris?
FWIW
My canonical installation process:
1st time - find out what the installer attempts to do
2nd time - find out how to make the installer do what I want
3rd time - install the OS the way I want it
I've been doing this w/ various operating systems for over 20 years.
Complex multiboot installs can take a dozen iterations before the proper
procedure is found. You *will* find the things you learn useful later.
It's just impossible to predict what will be useful.
Have Fun!
Reg
|
|
0
|
|
|
|
Reply
|
Reginald
|
4/9/2008 1:29:18 PM
|
|
Dave wrote:
> Thomas Maier-Komor wrote:
>> I'd rather use lofs instead of a symlink for this kind of use case. I.e.
>>
>> # mkdir /export/local
>> # mkdir /usr/local
>> # mount -F lofs /export/local /usr/local
>
> I was not aware of that method. What is the advantage(s) over a link?
some buggy installers silently remove the symlink and create a new directory
and you end up with a mess... been there.
|
|
0
|
|
|
|
Reply
|
Oscar
|
4/9/2008 2:07:22 PM
|
|
Reginald Beardsley wrote:
> 1st time - find out what the installer attempts to do
>
> 2nd time - find out how to make the installer do what I want
>
> 3rd time - install the OS the way I want it
4th time - remember to reserve slices for live-upgrade
|
|
0
|
|
|
|
Reply
|
Oscar
|
4/9/2008 2:11:06 PM
|
|
On Apr 9, 4:16 am, Dave <f...@coo.com> wrote:
> Thomas Maier-Komor wrote:
> >> # mkdir /export/home/local
> >> # chmod 755 /export/home/local
> >> # ln -s /export/home/local /usr
> >> # ls -ld /usr/local (will show link)
> >> Permissions for /usr/local must be set on the file system where the
> >> files actually reside, which is /export/home
> > I'd rather use lofs instead of a symlink for this kind of use case. I.e.
> > # mkdir /export/local
> > # mkdir /usr/local
> > # mount -F lofs /export/local /usr/local
> I was not aware of that method. What is the advantage(s) over a link?
There is NO symlink. ?? That for one is enough for me - a known hater
of
gratuitous usage of symlinks : >
But that does not address the OP's problem. It's possible
that the system was delivered with a "pre-installed" OS but
I dont think so as the tell tale sign is usually a directory called "/
spare".
Therefore Im tempted to conclude that the OP chose to install the
system
the way it is now. Or someone else did.
Either way its an odd choice. I mean 4 GB for /,/usr/var ??
Im surprised its even bootable. Just start over - do a FULL install on
one
system partition and have a swap slice greater than physical RAM..
I dont know what the "Sun Communication Suite" is but it probably has
some installation instructions with some important info in there.
If thats the intention of the box someone should have read that first
before installing anything.
Yes it is possible to back out and re-slice etc but its much easier to
start over from scratch.
Nothing screwed about it - its an opportunity!
|
|
0
|
|
|
|
Reply
|
usenetpersongerryt
|
4/9/2008 2:17:56 PM
|
|
Jeff McKay wrote:
> Pardon for the dumb questions below, I am just learning Unix and trying
> to understand this stuff. I have installed Solaris 10 on a Sunfire
> X2100 with a single 250 gb disk. When I do a DF -h, it shows two
> logical disks, cld0s0 which has 4 gb and is mounted on /, the other
> cld0s7, with the remaining 225+ gb, and is mounted on /export/home.
> Why did the Solaris install do this, instead of giving me all my disk
> space on one drive? This seems to be a pain in the butt, because I am
> trying to install Sun Communication Suite, and the default location for
> all these files is a directory off of /, and there isn't enough space.
> I have tried for some of the products to specify a directory off of
> /export/home, but one in particular won't allow it, so I am screwed.
> Is there a way I can reconfigure things without re-installing Solaris?
Sort of! You'll need to back up c1d0s0 and c1d0s7, use format to create
a more sensible layout, and then restore.
As to why the install did this; YOU allowed it to happen. There are
various ways to install Solaris but I think that all of them give you
some control of disk layout. If you let it use the defaults, your
chances of getting exactly what you need are nearly zero. Neither the
software nor the people who wrote it have a clue about what YOU need.
As a starting point, I recommend 4 GB for / plus /usr, 4 GB for /var,
and 2GB for swap. You may "season to taste". (and probably should!)
ISTR that the installer tries to tell you the minimum sizes for things.
You can't get any smaller than that and you almost certainly should
not try to! Remember that just about every patch you install will eat a
piece of / and a piece of /var. When you run out of space you either
have to go back and repartition or use symbolic links to make it appear
that things are where they are supposed to be. I don't particularly
care for either option! Also keep in mind that just about every O/S
upgrade will use a little more space! Some may use a lot more!!
With 250 GB it sounds as if you can afford to be generous!
Also compare the price of disk space with the price of your time and
system down time!!
|
|
0
|
|
|
|
Reply
|
Richard
|
4/9/2008 2:46:56 PM
|
|
In article <ftiipp$gs2$2@news.mie>,
Oscar del Rio <delrio@mie.utoronto.ca> wrote:
> Reginald Beardsley wrote:
>
> > 1st time - find out what the installer attempts to do
> >
> > 2nd time - find out how to make the installer do what I want
> >
> > 3rd time - install the OS the way I want it
>
> 4th time - remember to reserve slices for live-upgrade
Don't forget the 0th time - take coupius notes of everything you do _as
you go_ so you can recreate whatever you did later. AND you can make
annotations as to why you had to go back and do something else. 6
months from now you may not remember why you setup user directories in
/export/home and when users login, the directories show up in /home (a
foreign concept for many Linux admins who may not have setup and used
automounter at their sites).
--
DeeDee, don't press that button! DeeDee! NO! Dee...
|
|
0
|
|
|
|
Reply
|
Michael
|
4/9/2008 4:02:56 PM
|
|
Oscar del Rio wrote:
> Reginald Beardsley wrote:
>
>> 1st time - find out what the installer attempts to do
>>
>> 2nd time - find out how to make the installer do what I want
>>
>> 3rd time - install the OS the way I want it
>
>
> 4th time - remember to reserve slices for live-upgrade
Now that you mention it ..... :-)
|
|
0
|
|
|
|
Reply
|
Reginald
|
4/10/2008 2:13:10 PM
|
|
|
12 Replies
234 Views
(page loaded in 0.161 seconds)
Similiar Articles: how to display vxvm vm disk % space usage - comp.unix.solaris ...How can I see the space available and space used on VxVM VM disks? VxVM version is 3.5. I can do "# vxprint -g ... -d " and see the disks, their dm ... adding disk space to zfs - comp.unix.solarisI have the following configuration: Newpool/newfs Newpool/newdataset Newpool/newdataset/fs1 Newpool/newdtataset/fs2 How do I add more space to ... Disk information - comp.unix.solaris... 1412736 25% /tmp > > I want to know if I have free disk space on ... Disk information - comp.unix.solaris All, I have following config on my system: AVAILABLE DISK ... Solaris 9 (U8) installation on a SS20-smp - comp.unix.solaris ...But, I have only used 4 GBytes of this disk to install Solaris and after, I have added a swap slice on the free space. Maybe a bug in the installation program... vxdisk list - comp.unix.solarisdisk serial and model numbers on Solaris 8 , metastat , - comp ... really heavy asvc_t - comp.unix.solaris vxdisk list - comp.unix.solaris Disk space on Solaris - comp ... Issue: Adding new disk from SAN (EMC) to Solaris 10 OS - comp.sys ...The fact is, One of SAN (EMC) guys gave another addtional 100gb space to Solaris box ... Any file gets changed when SAN guy added extra disk space? "steeles" <steeles ... disk serial and model numbers on Solaris 8 , metastat , - comp ...how to display vxvm vm disk % space usage - comp.unix.solaris ... disk serial and model numbers on Solaris 8 , metastat , - comp ... how to display vxvm vm disk % space ... Recommended disk layout for Solaris 10 - comp.unix.solaris ...Note that repartitioning a disk after you have installed Solaris can be a real pain in the a**. You want to allocate enough space in /, /opt, etc. to last a long time. Listing Disks in Solaris - comp.unix.solarishow to display vxvm vm disk % space usage - comp.unix.solaris ... vxdisk list - comp.unix.solaris disk serial and model numbers on Solaris 8 , metastat , - comp ... how to ... Huge disk usage on /var/spool/clientmqueue - comp.unix.solaris ...... devices etc This is almost fall so I investigated where all the space was ... comp.unix.solaris ... /bin/ls: arg list too long - comp.unix.solaris Huge disk usage on ... Zones on ZFS file system. - comp.unix.solarisConsider the following Server A (Solaris 11 x86) has lots of disk space (ZFS file systems) and shares file systems via NFS to client's B, C, D etc. ... really heavy asvc_t - comp.unix.solarishow to display vxvm vm disk % space usage - comp.unix.solaris ... How can I see the space available and space used on VxVM VM disks? VxVM version is 3.5. ufsdump on remote tape drive. - comp.unix.solarisHi, I have three sun boxes A,B & C. Box A: solaris 2.6 Box B: solaris 9 Box C ... I like the idea of filesystem snapshots but if you don't have the disk space, that won ... installing solaris 10 on ide disk on ultra 5 - comp.sys.sun.admin ...... unforutunatly > but something about a soft error and insufficient space ... Solaris and SATA - comp.unix.solaris installing solaris 10 on ide disk on ultra 5 - comp.sys ... newbie question: shell script to monitor server performance - comp ...I need a script that to monitor our Solaris 8 server performance. The script ... Top 15 files or processes that is taking up the most CPU, disk and > memory space ... How to Figure the Total Disk Space Available on a Solaris ...Solaris is one of the Unix operating systems. Solaris, and other Unix and Linux operating systems, use the "df" command to show disk space information. The output ... How to Compute the Available Disk Space on the Solaris 10 ...Solaris 10 Unix operating system was created by Sun Microsystems, which is owned by Oracle. The Unix operating system uses the "df" command to show the disk usage of ... 7/26/2012 10:24:10 PM
|