repartition non-destructively
Kevin Wang
rightsock at gmail.com
Mon Aug 16 23:55:01 UTC 2004
Another solution is to drop to single user mode, tar up all of /var,
nuke it, and then expand /usr, and then rebuild /var. You've got
enough free space to do that.
Still requires the functionality to grow a filesystem, but certainly
gets around the problem of needing to shrink a filesystem.
- Kevin
On Fri, 13 Aug 2004 12:57:28 -0700 (PDT), kate <kate7234 at yahoo.com> wrote:
> OK, "2) combination of parted and resize2fs" looks
> good. having quickly man'd / googled all suggestions.
> I need to carefully read up on the subject.
>
> I'll practice on an old drive, first!
>
> Thanks,
> Kate
>
>
>
> --- "Robert P. J. Day" <rpjday at mindspring.com> wrote:
>
> > On Fri, 13 Aug 2004, kate wrote:
> >
> > > What way could I repartition, non-destructively,
> > to
> > > give more space to /usr and less to /var?
> > >
> > > A 20 GB drive, on setup I over-estimated
> > > space to some partitions (eg. /var), while
> > > under-estimating space to other (/usr) partitions.
> > > df -h gives:
> > >
> > > Filesystem Size Used Avail Use%
> > Mounted on
> > > /dev/hda6 3.8G 301M 3.3G 9% /
> > > /dev/hda1 99M 13M 81M 14% /boot
> > > none 252M 0 252M 0%
> > /dev/shm
> > > /dev/hda5 4.9G 943M 3.7G 21% /home
> > > /dev/hda3 4.9G 3.8G 790M 84% /usr
> > > /dev/hda2 4.9G 267M 4.3G 6% /var
> > >
> > > Is there a way to repartition, non-destructively,
> > to
> > > give more space to /usr and less to /var? I have
> > > googled but not found anything precise.
> > > Any suggestions appreciated,
> > > thanks in advance,
> >
> > options (from most to least ambitious):
> >
> > 1) switch over to using LVM2, where you can resize
> > at will
> >
> > 2) combination of parted and resize2fs
> >
> > 3) don't really resize. just cheat and move stuff
> > using symlinks if
> > you just want to fix the problem for now with the
> > least effort
> >
> > rday
> >
> > p.s. your root partition is a little on the large
> > side as well.
> >
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe:
> > http://www.redhat.com/mailman/listinfo/fedora-list
> >
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
>
>
> http://promotions.yahoo.com/new_mail
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
More information about the fedora-list
mailing list