hi,
I agree with the problem, but I don'like the solution.
To make the partitoin bigger, you have to move what is
after sda2, in the disk: sda3(usr).....
If you have fresh-installed the box and you don'like how
you have partitioned it, remake all.
But if you are not in this situation, you have already in
production (or you don't want remake all), and, when you
started was all ok,
this means that some (or many) files, unwanted maby,
have gone in / filesystem.
You have to find them and move them under another location.
To do this, cd in / and perform a
du -ks *
This gives in 1024 kbyteblocks, the summarized size of directories. If you see that, ie /etc dir holds 90%
of / space, cd in /etc and recursively repeat du -ks *
I don't see /tmp in your partition table.
When you have found where files are, you have to move them.
If you have place in other fs, no problem, move them.
You can use links or symbolic links if files must
be positioned in a specific location: if files
have to be in /etc/yourappl, you can try to put them
in /home/mysite and create a sybmolic dir link between
/etc/yourappl and /home/mysite .
( mkdir /home/mysite
cd /etc
ln -s /home/mysite yourappl
)
If you have no space, put another hard-disk, then using
the fdisk command, (fdisk -l), see how your OS has called the disk (probably /dev/sdb )
By just 2 operations (2 commands) (and some $ for hd) you:
1) create a partition on new disk (fdisk /dev/sdb and follow help)
2) create fs (format it) (mkfs -t ext3 /dev/sdb1,
for all these commands, see your doc)
Then create a dir ( /home/mydir) and give a
#mount /dev/sdb1 /home/mydir
try to write on it, if ok, umount it,
edit /etc/fstab copy a line and modify it as
/dev/sdb1 .... /home/mydir .... as other
# mount -a
test all is mounted, and reboot (no need).
Probably I have been too fast, but we are here to help
you more in detail.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.