Good file system / Hdd layout for linux

Peter Barker pbarker at barker.dropbear.id.au
Sat Feb 2 12:14:36 EST 2002


On Sat, 2 Feb 2002, Mick Howe wrote:

> I'm insterested I'm peoples opinions regarding suitable file system / Hdd 
> layout for linux.

Well, that will vary quite widely, depending on what the machine's used
for. For example, my desktop box currently looks like this:

----------------
[pbarker at bluebottle pbarker]$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda3              1968620   1437572    431044  77% /
/dev/hda1                38859     13700     23153  38% /boot
/dev/hda2              2048000   1383904    664096  68% /dosc
/dev/hdb1             14998040   7327480   7670560  49% /dose
/dev/hdd2              6047756    384436   5356108   7% /mnt/debian
/dev/hdd1                32175      1366     29148   5% /mnt/debian-boot
moriarty.fith.priv:/nethome/pbarker
                     153876772 135939204  10121056  94% /nethome/pbarker
moriarty.fith.priv:/mnt/raid/peter/
                     153876772 135939204  10121056  94% /misc/apps
[pbarker at bluebottle pbarker]$ 
-----------------

hda1 is a small boot partition, to keep all the stuff lilo needs early on
the disk.
dosc is early since I don't trust windows not to get confused about being
late on the disk.
windows needed more space, so it got another disk to itself. Somehow I
screwed up the partitioning, so it comes in at dose.
the debian partitions are around in case I feel like playing with
debian. Currently I do this by chrooting to those mount points, but they
are bootable...
My home directories are mounted over the network, from....

-------------------------
[pbarker at moriarty pbarker]$ df
Filesystem           1k-blocks      Used
Available Use% Mounted on
/dev/hda2              2172792   1493124    569292  73% /
/dev/hda1                65846      6265     56181  11% /boot
/dev/hdb2              2028771   1557601    366288  81% /mnt/data
/dev/hdb3              7582500   7341068    164396  98% /mnt/nethome-old
/dev/md0             153876772 135939208  10121052  94% /mnt/raid
/mnt/raid/redhat/iso/rh-71-1.iso
                        656756    656756         0 100%
/mnt/raid/redhat/rh-71-1/mnt/raid/redhat/iso/rh-71-2.iso
                        652882    652882         0 100%
/mnt/raid/redhat/rh-71-2/mnt/raid/redhat/iso/rh-71-srpm.iso
                        662348    662348         0 100%
/mnt/raid/redhat/rh-71-srpm
/mnt/raid/redhat/iso/rh72-1.iso
                        662072    662072         0 100%
/mnt/raid/redhat/rh-72-1/mnt/raid/redhat/iso/rh72-2.iso
                        653740    653740         0 100%
/mnt/raid/redhat/rh-72-2/mnt/raid/redhat/iso/rh72-errata.iso
                        358158    358158         0 100%
/mnt/raid/redhat/rh-72-errata
/mnt/raid/redhat/iso/rh72-docs.iso
                        609840    609840         0 100%
/mnt/raid/redhat/rh-72-docs
/mnt/raid/debian/iso/Debian2.2r2-binary-i386-1.raw
                        655472    655472         0 100%
/mnt/raid/debian/potato-1
/mnt/raid/debian/iso/Debian2.2r2-binary-i386-2.raw
                        658456    658456         0 100%
/mnt/raid/debian/potato-2
/mnt/raid/debian/iso/Debian2.2r2-binary-i386-3.raw
                        565890    565890         0 100%
/mnt/raid/debian/potato-3
/mnt/raid/smoothwall/iso/smoothwall-0.9.9.iso
                         20344     20344         0 100%
/mnt/raid/smoothwall/smoothwall-0.9.9
/mnt/raid/redhat/iso/rh-70-1.iso
                        654848    654848         0 100%
/mnt/raid/redhat/rh-70-1/mnt/raid/redhat/iso/rh-70-2.iso
                        660382    660382         0 100%
/mnt/raid/redhat/rh-70-2
[pbarker at moriarty pbarker]$ 

-----------------------------
Arguments for hda1 and 2 are the same as the desktop box. hdb is slated
for removal. The raid is obviously for large chunks of data; I export
several directories off this fs, notably the nethome you saw above.

The images are also on the raid, and are mounted loopback on startup for
convenience.

> /\/\ick

Yours,
-- 
Peter Barker                          |   N    _--_|\ /---- Barham, Vic 
Programmer,Sysadmin,Geek              | W + E /     /\                
pbarker at barker.dropbear.id.au         |   S   \_,--?_*<-- Canberra      
You need a bigger hammer.             |             v    [35S, 149E]   
qq%I've never heard of it or used it, apart from finding it in the Camel
 book and saying "Oh god".% -- Onceler






More information about the linux mailing list