Reconfiguring partitions on Linux Server
I just received a dedicated server last week and I'm thinking something is wrong with the way they set up my drives. The server came with 2 80GB drives and I was wonder if anyone had any advice for redoing the partiitons to make the most sense.As of now I can't add a site because /var/ is so low and I have a database to import that will completely fill it up.)
In addition, the fdisk -l shows that one of the drives is a Windows 95 LBA partition (haven't seen one of those in a long time on any computer, let alone a Linux box.
Could anyone give me any advice on how to go about getting this system to where I can get the most out of it with as little downtime as possible. One thing I would especially like to do is to make /tmp use RAM if that's possible (and something that would be good to do) before using the hard disk (I have 2 GB of RAM in the server)
I'd also like to get /var and /home on the same hard disk and use /backup on the other hard disk so that if one drive goes down, we don't anything other than time (I ftp backup once a week but I like daily mySQL backups to the backup drive.)
Based on what I've seen others post, here's what I have:
df command
Code:
Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda6 505604 199944 279556 42% / /dev/hda1 101086 8516 87351 9% /boot /dev/hdb1 72975932 5253852 64015084 8% /home none 1025980 0 1025980 0% /dev/shm /dev/hda7 256666 84729 158685 35% /tmp /dev/hda3 5036316 1421636 3358848 30% /usr /dev/hda8 256666 192080 51334 79% /var /dev/hda2 5036316 32828 4747656 1% /var/tmp
Code:
Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 650 5116702+ 83 Linux /dev/hda3 651 1287 5116702+ 83 Linux /dev/hda4 1288 10011 70075530 f Win95 Ext'd (LBA) /dev/hda5 1288 1606 2562336 82 Linux swap /dev/hda6 1607 1671 522081 83 Linux /dev/hda7 1672 1704 265041 83 Linux /dev/hda8 1705 1737 265041 83 Linux
Code:
Device Boot Start End Blocks Id System /dev/hdb1 * 1 9230 74139943+ 83 Linux
Code:
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults,usrquota 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/tmp /tmp ext3 defaults 1 2 LABEL=/usr /usr ext3 defaults,usrquota 1 2 LABEL=/var /var ext3 defaults,usrquota 1 2 LABEL=/var/tmp /var/tmp ext3 defaults 1 2 /dev/hda5 swap swap defaults 0 0