I started with linux on a small partition. I had an extra hard disk which I plugged in, and now my configuration is:
/dev/hda6: root (/) (reiserfs)
/dev/hda5 : swap partition
/dev/hdb1: /usr (reiserfs)
/dev/hdb5: swap
Below is the output of fdisk
Code:
Disk /dev/hda: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 519 4168836 7 HPFS/NTFS
/dev/hda2 520 5005 36033795 f W95 Ext'd (LBA)
/dev/hda5 520 532 104391 82 Linux swap
/dev/hda6 533 665 1068291 83 Linux
/dev/hda7 1054 1346 2353491 7 HPFS/NTFS
/dev/hda8 1347 3475 17101161 7 HPFS/NTFS
/dev/hda9 3476 5005 12289693+ 7 HPFS/NTFS
Disk /dev/hdb: 1281 MB, 1281181696 bytes
64 heads, 63 sectors/track, 620 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 533 1074496+ 83 Linux
/dev/hdb2 534 620 175392 5 Extended
/dev/hdb5 534 620 175360+ 82 Linux swap
The problem is that my disk space is running out, especially in /usr (hdb).
I've freed disk space from my windows partitions, and this free space is located after hda6 (start 666 end 1053)
The hdb harddisk is an older, slower one, while hda is faster (7200rpm against 5400). Therefore I'd prefer the system files being on hda, while my personal files (/home) being on hdb.
What is the best thing I can do, without losing my current installation?
Can I extend hda6 to the free space, and what is the best way?
Is it then possible to just move the contents of hdb (which is mounted as /usr) to the faster hda? (and where do I change the mounting point, fstab?)
Thanks for pointing me out!