l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Sep 23 09:45

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Resizing Root Partition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Resizing Root Partition

Richard Crawford wrote:

> I'm trying to install Java onto my server at home so that I can start
> mucking around with JSP and Tomcat.  Unfortunately, the Java SDK refuses
> to install, telling me that I don't have enough disk space.  I ran df to
> get the disk usage, and this is what I get:
> root@hagrid:~/
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda1             486M  462M  4.0K 100% /
> /dev/hda6              25G  6.2G   17G  27% /home
> none                  125M     0  124M   0% /dev/shm
> /dev/hda7              99M  4.1M   89M   5% /tmp
> /dev/hda2             4.8G  1.5G  3.1G  32% /usr
> /dev/hda3             494M  167M  301M  36% /var
> My partition map looks like this:
> root@hagrid:~/
> # fdisk -l
> Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
> Units = cylinders of 16065 * 512 bytes
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1        64    514048+  83  Linux
> /dev/hda2            65       701   5116702+  83  Linux
> /dev/hda3           702       766    522112+  83  Linux
> /dev/hda4           767      4111  26868712+   5  Extended
> /dev/hda5           767       831    522081   82  Linux swap
> /dev/hda6           832      4098  26242146   83  Linux
> /dev/hda7          4099      4111    104391   83  Linux
> In this case, I wonder if it's best to resize the root partition, or to go
> in and wipe out a bunch of files.  Thoughts?  Suggestions?

I'm not a Sys-admin -- just a long-time user -- but I like this partition
because /usr, /tmp, and /var are on their own partitions. I see there's plenty
room in /usr, but / (root) is filled up (yuck).

Before doing any major surgery, I would find out why root is filled up --
you've allocated almost a half-gig to it. If it's a just a handful of big
or a single big directory, then I would move them to /usr and then add a link
to them from / (root).

If you want to do minor surgery, I would suggest "ext2resize." I successfully
used it to expand a partition, but it takes careful understanding of the
between blocks and cylinders.

> Sliante,
> Richard S. Crawford
> http://www.mossroot.com   http://www.stonegoose.com/catseyeview
> AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
> MSN: underpope@hotmail.com
> Howard Dean for America:  http://www.deanforamerica.com
> "It is only with the heart that we see rightly; what is essential is
> invisible to the eye." --Antoine de Saint Exupéry
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!