[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Random partitioning questions



OK... my tuppence, after the discussion has finished :-)

1) you have two hard disks, why not split the partitions equally across them both?
a) when you get an fsck at bootup it runs both hardisks at the same time, sop is
quicker.
b) split the swap across two partitions on two hard disks, with equal priorities -
this doubles the data transfer rate, just what you need when you're thrashing. This
is mentioned in some HOWTO I'm sure...
c) generally better :-)

2) apparently logical partitions can be bad, becuase they store the details
(location, size, etc) of the partition in the previous logical partition. IE, if the
info for your 2nd logical partition gets corrupted, it is not possible to read your
third,fourth,fifth,sixth etc.
with primary paritions OTOH each partitions info is stored in a specific location
towards the beginning of the disk.
So, my point is to use 3 primary partitions and the rest logical.

Here is some info that might give you an idea:

one user; used for web/internet with netscape/etc, some programming, thats about
it...waiting to get Word Perfect (UK mostly charges per minute for internet access)

I use windows for games and writing music, cos I haven't got any trackers to compile
under linux  (mostly due to the slink/potato combination I am using I think :-), and
cooledit, cubase vst etc etc don't run under linux/wine afaik.

IDEA: someone package up a tracker for debian...

anyway,

bash-2.01$ df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda4             173725   25061   139693     15%   /
/dev/hda6             643958  172300   438395     28%   /var
/dev/hdb5            1484386 1072744   334932     76%   /usr
/dev/hda5             247870  113687   121382     48%   /usr/local
/dev/hdb6             396500  270689   105329     72%   /home
/dev/hdb7             295474  162418   117796     58%   /home/ftp
/dev/hda2             909404  783180   126224     86%   /dos/c
/dev/hdb1            2525252 2045440   479812     81%   /dos/d
/dev/hdb9            1018088  787776   230312     77%   /dos/e

[Yes, I know that I'm not following my own logical partition advice, I just don't
have enough floppies to sort it out...]

/etc/fstab attached...

hopefully that might help you make a judgement,

frankie.


Brad wrote:

> i hope to get a lot of opinions!
>
> Right now, i have my entire Linux on one 4G HD (minus some data files and
> things for Wine to play with on a FAT32 partion on a second drive). One
> partition for swap, one for everything else. From what i've heard, not a
> very good arangement if anything goes wrong. So, i'm thinking of backing
> up everything and making some more partitions.
>
> 1. If i understand things correctly, /, /boot, /lib, /bin, /sbin, /dev,
>    parts of /etc, and maybe /root should be on one partition below the
>    1024th cyl for hysterical reasons, which do apply in my case. Do i
>    understand correctly?
> 2. If i were partitioning a new HD, what would be a good size for the
>    partition containing just those directories, that wouldn't waste too
>    much space. Right now on my system, du -c reports 18M for that list, so
>    i'm thinking 50M would allow plenty of room for expansion?
> 3. How about sizes for other partitions? /home i'm thinking 750M
>    (personal workstation, 6 users that are just different mailing
>    addresses for me), 1G for /var (with /tmp -> /var/tmp, is that a
>    bad idea?), 2.1G for /usr.
> 4. hda1 should be /, but how about the rest? home var swap usr as 2 3
>    4 5?
> 5. What am i missing, that i think i fit everything (including 64M of
>    swap) onto a 4G HD? ;)
>
> Just trying to learn here.
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

--
Confession is good for the soul only in the sense that a tweed coat is good
for dandruff.

        --Peter de Vries

http://www.skunkpussy.freeserve.co.uk - Drum'n'Bass music, samples and links.

ICQ://25576761


# /etc/fstab: static file system information.
#
# <file system>	<mount point>	<type>	<options>				<dump>	<pass>
/dev/hda4	/		ext2	defaults,errors=remount-ro 		0	1
/dev/hda3               none	swap	sw,pri=0				0	0
/dev/hdb8		none	swap	sw,pri=0				0	0
proc		/proc	proc	defaults					0	0
#support for unix98 ptys
none		/dev/pts	devpts	gid=5,mode=620				0	0
/dev/hda6	/var		ext2	defaults				0	2
/dev/hdb5	/usr		ext2	defaults				0	2
/dev/hda5	/usr/local	ext2	defaults				0	2
/dev/hdb6	/home		ext2	defaults				0	2
/dev/hdb7	/home/ftp	ext2	defaults				0	2

/dev/hdc	/cdrom		iso9660	defaults,ro,noauto,user			0	0
/dev/fd0	/floppy		vfat	defaults,noauto,user			0	2
/dev/hda2	/dos/c		vfat	defaults,auto,codepage=850,user,gid=100	0	2
/dev/hdb1	/dos/d		vfat	defaults,noauto,codepage=850,user,gid=100	0	2
/dev/hdb9	/dos/e		vfat	defaults,noauto,codepage=850,user,gid=100	0	2
begin:vcard 
n:;Frankie
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:frankie@skunkpussy.freeserve.co.uk
note:Trainee Linux Guru
x-mozilla-cpt:;0
fn:Frankie
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: