You are not logged in.
Model: ATA ST3320613AS (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 526MB 526MB primary linux-swap
2 526MB 105GB 105GB primary ntfs boot
3 105GB 306GB 200GB primary ext2
4 306GB 320GB 14.4GB primary ext3
sda1 - swap
sda2 - windows
sda3 - /home
sda4 - /
Last edited by Boris Bolgradov (2009-10-03 09:41:52)
Offline
zen3 wrote:JFS?
I think JFS is only usable if you use many ports/small tarballs and small sized files, in general.Nope. JFS is an excellent filesystem with great all-around performance..you may be confusing it with ReiserFSv3..
Oh, right.
Thanks for the clarification.
ffc
Offline
So I decided on how to partition my drive.
Is as it follows:
4 Partitions:
1 = 200GB for Linux of course.
(Out of those 200GB =
15GB for /
150MB for /boot
2GB for swap *even though it's not needed since I have 8GB of Ram, but just to be safe*
Rest for /home)2 = 2 300GB Partitions for storing files and the likes.
3= 1 200GB Partition for back ups and disk cloning.
That would do I think ^^
Storing backups on the same system is a bit risky if those are your only backups.
Offline
I'm not on my computer so the sizes are just based on conjectures.
/dev/sda1 /boot ext2 75mb
/dev/sda2 swap 512mb
/dev/sda3 / jfs 2gb
/dev/sda4 /home jfs 1.5gb
Offline
Are you using LVM? If you are, make sure that the /boot partition is seperate from the LVM partition. (I just made that mistake yesterday...) :-)
Here's mine now: (I got fed up with LVM, and just decided to stick to what I know. When I install Arch on my computer I'll use LVM, but this was my mom's)
It's a 180GB HD, and I'm gonna get another for data, although I know I'll never use it :-)
/dev/sda1 30GB Windows
/dev/sda2 45GB /
/dev/sda3 1024MB swap
/dev/sda4 The Rest /home
all but Windows ext3, Windows being NTFS.
Offline
My RAID array consists of 3 640GB drives. Then, I have 3 more 160GB drives, used for various things. At the rate I'm going, I won't need any more storage space for quite a while.
~ $ df -hTx tmpfs
Filesystem Type Size Used Avail Use% Mounted on
/dev/md0 ext4 138G 9.6G 122G 8% /
/dev/md1 ext3 92M 17M 70M 20% /boot
/dev/md2 reiserfs 24G 7.2G 17G 31% /var
/dev/md3 xfs 1.1T 121G 909G 12% /home
/dev/sdd1 fuseblk 150G 27G 123G 18% /mnt/win7
/dev/sde1 xfs 149G 62G 88G 42% /mnt/a
/dev/sdf1 reiserfs 150G 33M 149G 1% /mnt/b
-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers
Offline
Can you post your partitioning set up, just for reference. Please?
I generally maintain a rather simple partitioning scheme that resembles something close to the following:
/ (about 10 to 20 GB, ext3)
swap (about 1 or 2 GB, swap)
/home (about 10 to 20 GB, ext3)
It works well enough for me.
oz
Offline
OK, this is gonna take a while...
Harddisks:
/dev/sda - 160GB
/dev/sdb - 160GB
/dev/sdc - 160GB
/dev/sdd - 250GB
Partitions:
sda:
Device Boot Start End Blocks Id System
/dev/sda1 1 6 48163+ fd Linux raid autodetect
/dev/sda2 7 103 779152+ 82 Linux swap / Solaris
/dev/sda3 104 19457 155461005 f W95 Ext'd (LBA)
/dev/sda5 104 9073 72051493+ fd Linux raid autodetect
/dev/sda6 9074 19457 83409448+ fd Linux raid autodetect
sdb:
Device Boot Start End Blocks Id System
/dev/sdb1 1 6 48163+ fd Linux raid autodetect
/dev/sdb2 7 103 779152+ 82 Linux swap / Solaris
/dev/sdb3 104 19457 155461005 f W95 Ext'd (LBA)
/dev/sdb5 104 9073 72051493+ fd Linux raid autodetect
/dev/sdb6 9074 19457 83409448+ fd Linux raid autodetect
sdc:
N/A
sdd:
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sdd2 2551 30401 223713157+ 7 HPFS/NTFS
RAIDs:
md0 : active raid1 sda1[0] sdb1[1]
48064 blocks [2/2] [UU] (/boot)
md1 : active raid1 sdb5[0] sda5[1]
72051392 blocks [2/2] [UU] (LVM system,/home)
md2 : active raid0 sda6[0] sdb6[1]
166818688 blocks 64k chunks (Data dump)
LVM:
# vgs
hydra 1 7 0 wz--n- 68.71G 6.71G
storage 2 1 0 wz--n- 308.14G 0
# pvs
PV VG Fmt Attr PSize PFree
/dev/md1 hydra lvm2 a- 68.71G 6.71G
/dev/md2 storage lvm2 a- 159.09G 0
/dev/sdc storage lvm2 a- 149.05G 0
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
arch hydra -wi-ao 15.00G
home hydra -wi-ao 20.00G
repos hydra -wi-a- 1.00G
root hydra -wi-a- 3.00G
tmp hydra -wi-ao 3.00G
usr hydra -wi-a- 10.00G
var hydra -wi-a- 10.00G
data storage -wi-ao 308.14G
(repos, root, usr, var are leftovers from my old gentoo system, I only use arch, home and tmp for now. But being LVM I can always rearrange as I see fit.)
Explanation:
sda and sdb are my two system harddisks. There are two raid1 partitions (/boot and LVM-PV) and one swap partition per hdd. Those together make up one half of each hdd (aka 80 GB).
The second half of each disk is a single partition taking up the other 80G, those two are then combined in a raid0 (160G).
Intel calls this configuration Matrix-RAID and offers it in it's Windows ICH drivers. It combines nicely the security of raid1 for important data (system/home) and the speed and capacity of raid0. I only "loose" 1/4 of the capacity of the two disks this way.
the 160G raid0 is then combined with another 160G disk (sdc, raw, no partitions) in the "storage" LV, giving me 300G of "dump"-quality storage for all the sh*t i either don't care about, or have backups of.
sdd is a Windows-only disk with 2 partitions filled with (sdd1) the system and useful programs and (sdd2) mostly games i don't play anyways
Filesystems are mostly ext3 for the old gentoo stuff, ext4 for arch/home and xfs for the data dump.
What you cannot see here is, that most of the gentoo partitions are pretty full (gentoo is using approx. 18GB overall), while arch chugs along nicely with 7/15G used and no noticeable loss in functionality.
Offline
The partitioning looks conspicuously like the Arch defaults:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext4 7.3G 4.1G 2.9G 59% /
/dev/sda1 ext2 38M 12M 25M 33% /boot
/dev/sda4 ext4 451G 69G 360G 16% /home
/dev/sdb1 ext4 459G 69G 367G 16% /backup
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext4 defaults,noatime,nodiratime 0 1
/dev/sda4 /home ext4 defaults,noatime,nodiratime 0 1
/dev/sdb1 /backup ext4 defaults,noatime,nodiratime 0 1
Offline
/dev/sda1 /boot ext2 1GB
/dev/sda2 swap swap 2GB
/dev/sda3 / ext4 the rest
I find complicated partitioning unnecessary for a workstation (laptop/desktop). Servers are a different matter.
Offline
sda1 ext2 228M /boot
sda2 swap 2048M
sda3 reiserfs 9,4G /var
sda4 extended 138G
sda5 ext4 24G /
sda6 ext4 114G /home
Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."
Offline
Since the unplanned reinstallation that I had to do last weekend:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.5G 3.9G 3.2G 56% / [Arch]
/dev/sda2 31G 3.9G 25G 14% / [Ubuntu]
/dev/sda5 31G 4.2G 25G 15% /home
/dev/sda6 31G 177M 29G 1% /tmp
/dev/sda7 31G 3.3G 26G 12% /var
/dev/sda8 445G 91G 331G 22% /mnt/free
Offline
zen3 wrote:JFS?
I think JFS is only usable if you use many ports/small tarballs and small sized files, in general.Nope. JFS is an excellent filesystem with great all-around performance..you may be confusing it with ReiserFSv3..
yep, I used JFS as my main FS for awhile but once ext4 was stable enough to use and had mainstream support in the kernel I switched over to it and the speed increase was definitely noticeable
Offline
╔═[22:40]═[inxs @ arch]
╚═══===═══[~]>> fdisk
Password:
Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 1 8 64228+ 83 Linux
/dev/sda2 9 726 5767335 5 Extended
/dev/sda3 727 1640 7341705 83 Linux
/dev/sda4 1641 3648 16129260 83 Linux
/dev/sda5 9 73 522081 82 Linux swap / Solaris
/dev/sda6 74 726 5245191 83 Linux
╔═[18:03]═[inxs @ arch]
╚═══===═══[~]>> df
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext3 7.0G 1.7G 5.0G 25% /
none tmpfs 125M 100K 125M 1% /dev
none tmpfs 125M 0 125M 0% /dev/shm
/dev/sda4 ext4 16G 920M 14G 7% /home
/dev/sda6 reiserfs 5.1G 655M 4.4G 13% /var
/dev/sda1 ext2 61M 12M 47M 20% /boot
╔═[18:04]═[inxs @ arch]
╚═══===═══[~]>>
Yes my hard drive is only 30 GB. My machine is a 10 yr old laptop -- which would probably be heavier than the smallest desktop available in the market today. ;-) Oh and 256MB RAM. Hell yeah !!
hmmmm.. I just noticed that my root is still ext3. I guess I just never got around to changing it over to ext4 .... I guess I will have to re-install Arch for that or it won't use the extents etc for the old data...Maybe when Arch crashes I will re-install (Good luck on that one !) I still haven't re-installed Arch since I first installed it.
Last edited by Inxsible (2009-10-06 22:09:56)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline