matteo martini | 3 Jan 2007 12:30
Picon

Re: increasing partition space

thanks a lot Ben,
Actually yes. What I want is to take from /export/home and give to
/opt  and /var and all that...
Please provide the step by step ways to do that if you can... thanks.
Regards,

Matteo

On 1/2/07, Ben Harner <benjamin.harner@...> wrote:
> Seems that you are only using 3 of 7 available slices.  How large is the
> hard drive? Right now your have /var /usr and /opt on the root
> partition.  If it was me I would create a a new partition for /var and
> /opt.  I would also create one for /usr/local if you have anything
> installed their.  Then I would boot to single user mode, run format to
> create the new partitions.  Then run a newfs on the slice and tar pipe
> (not copy) the files over to the new partitions and remove the old var
> directory.  If you don't have any extra space I would take it from
> /export/home and give to a new /var partition at least since that's a
> logging directory and will be changing is size very often.  If you need
> more step by step processes for doing this I can help.
>
> Ben
>
> Joe Honnold wrote:
> > Do you have a second disk available?
> >
> > If so, once partitioned with a larger / you can dump each filesystem
> > to new disk.
> > Install the bootblk and boot off the second disk.
> >
> > There may be a better way but I am unfamiliar with it.
> >
> > joe.
> >
> >
> > matteo martini wrote:
> >> Hi all.
> >>
> >> SunOS eve 5.9 Generic_112233-01 sun4u sparc SUNW,Sun-Blade-100
> >>
> >> df -kh
> >> Filesystem             size   used  avail capacity  Mounted on
> >> /dev/dsk/c0t0d0s0      2.0G   2.0G     0K   100%    /
> >> /proc                    0K     0K     0K     0%    /proc
> >> mnttab                   0K     0K     0K     0%    /etc/mnttab
> >> fd                       0K     0K     0K     0%    /dev/fd
> >> swap                   1.3G    40K   1.3G     1%    /var/run
> >> swap                   1.3G   272K   1.3G     1%    /tmp
> >> /dev/dsk/c0t0d0s7       15G   2.5G    13G    17%    /export/home
> >>
> >>
> >> how can I take from "/export/home" and give to "/"  without having to
> >> format?
> >>
> >> Thanks
>
>
>


Gmane