adding drive space

adding drive space

Post by robi » Wed, 27 Aug 2003 04:53:00


I have an IDE hard drive that is full. Does linux allow you to
install another physical drive and then add it to an existing
partition?

If not has anyone used a third party product to image the existing
data and place in on a new larger drive successfully?
 
 
 

adding drive space

Post by Bill Diamo » Wed, 27 Aug 2003 05:29:30


The simplest answer might be to create a new volume on a new drive and
then mount the volume onto a directory mount point. For example, drive 0
contains all the operating system stuff. Install a second hard drive just
for all your web services and mount it on /var. Install a third hard
drive and mount it on /home.

Bill

 
 
 

adding drive space

Post by James Knot » Wed, 27 Aug 2003 07:25:53


I haven't tried that, but why not just move some of the subdirectories over
to the new drive. Take a look at your drive usage, to determing the best
ones to move.


--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
 
 

adding drive space

Post by robi » Sat, 06 Sep 2003 07:36:38

ere are my results to the df -h command:
[root@utility /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 494M 445M 23M 96% /
/dev/hda1 99M 9.2M 84M 10% /boot
/dev/hda3 4.4G 186M 3.9G 5% /home
none 251M 0 250M 0% /dev/shm
/dev/hda2 12G 1.2G 10G 11% /usr
/dev/hda6 1004M 437M 516M 46% /var

Maybe just cleaning the / partition would be enough but I am not
really sure exactly what directories get included with the /
partition? Could you explain what all get lumped into this to me?


XXXX@XXXXX.COM (Alex) wrote in message news:< XXXX@XXXXX.COM >...
 
 
 

adding drive space

Post by Ed Murph » Sat, 06 Sep 2003 09:12:28


(Please don't top-post. Instead, place each part of your reply
immediately below the bit that it's replying to, and trim out
any bits that you're not replying to.)


Probably. Look at the numbers: /var isn't even 50% full, and the
other partitions (including /usr and /home which are the big ones)
aren't even 15% full.


Everything that's not in one of the other partitions is in the /
partition. Try this:

# du -x / | sort -n -r > /tmp/usage.txt

This will list every directory in the / partition, starting with
the ones whose files consume the most space. If you want to list
files as well as directories, then change 'du' to 'du -a'.
 
 
 

adding drive space

Post by alex » Sat, 06 Sep 2003 22:25:57


Hey Ed,

Are you the same Ed Murphy from good ol' Fidonet 388 back in the BBS
days??? Just curious :)

Later,

Alex.
 
 
 

adding drive space

Post by Ed Murph » Sun, 07 Sep 2003 04:31:15


That's me. I sent you an e-mail but maybe it got lost.