Good file system / Hdd layout for linux

Howard Lowndes lannet at lannet.com.au
Sat Feb 2 19:05:20 EST 2002


Mine is quite different.

I partition the disks:
1	/
2	/usr
3	swap
4	extended
5	/var
6	/home
7	/tmp
8	/usr/local

I also move any changed /etc files into /usr/local/etc and then symlink
them back to /etc so that if I do a re-install I can exclude /home and
/usr/local from the install and I don't lose local settings/stuff or my
altered configs.

On Sat, 2 Feb 2002, Peter Barker wrote:

> 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,
>

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
 "We are either doing something, or we are not.
 'Talking about' is a subset of 'not'."





More information about the linux mailing list