Kevin Duffey writes:
> So I usually install using defaults but I put the majority of left over 
> space, 200GB or so in the /export dir. It is defaulted to /export/home. The 
> problem I am running in to, is I am pkgadd stuff that is in like /opts, /var, 
> etc and I am pretty sure I have no space to install much in those dirs. I am 
> curious first of all why does the defaults set all the remaining space to 
> /export/home... is it the assumption that after the initial OS (with all its 
> extra packages) is set up, none of those packages use anything other than 
> /export/home dirs... or that users will never install anything outside of 
> that? I would think the / root would be the logical place to put the left 
> over HD space, so that all paths below it are free to expand as needed.

The assumption built into the installer is that you'll just install,
and then use /export/home plus automount maps for /home to create user
accounts.

It's perhaps not a good assumption, as it doesn't match every possible
usage, but it's what the installer does.

> Anyway, I really don't want to wipe the various stuff I got going on build 
> 89, but would like to put some of the free space left into /opt, /var and a 
> couple other locations.. or / if that is ok and there isn't some reason it 
> shouldn't be there. How do I do this?

Depending on how your disk is logically partitioned (use the "format"
command to print out the partition table), you may be able to remove
/export/home and expand / fairly simply.

Another possibility is to create a directory called
"/export/home/opt", move the non-bundled /opt contents there, and then
create lofs mounts for those directories.

Still another is to remove /export/home and change that partition to
be /opt.

Still another is to change the partition that has /export/home into a
zfs pool, and mount the file systems whereever you want in the tree.

There are a lot of possibilities here.  Since it's a rather basic
question, I suggest searching around for some Solaris administration
tutorials.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to