You are not logged in.

#1 2010-08-16 23:41:57

Taoist
Member
Registered: 2010-08-16
Posts: 13

[SOLVED] My Laptop Scheme

Hello again:)
I want to know which scheme is better for a single user laptop:
                                                                                              /dev/sda1: /
                                                                                              /dev/sda2 :swap
                                                                                              /dev/sda3: home
                                                                                              /dev/sda4: var

                                                                                                   OR

                                                                                              /dev/sda1: /
                                                                                              /dev/sda2: swap
                                                                                              /dev/sda3: var
                                                                                              /dev/sda4: home

Thanks!

p.s. posted on another thread but couldn't figure out how to delete the post, so apologies.

Last edited by Taoist (2010-08-17 00:13:33)

Offline

#2 2010-08-16 23:57:28

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [SOLVED] My Laptop Scheme

Um, what you've shown us doesn't really tell much. No sizes or anything? Just a flipping of partitions shouldn't affect a lot, although partitions placed further away from the center of the drive will be slower.

Also, use the report function to report your old thread to be closed.

Offline

#3 2010-08-17 00:05:30

Taoist
Member
Registered: 2010-08-16
Posts: 13

Re: [SOLVED] My Laptop Scheme

Hello,

/dev/sda 1 /             15GB JFS
/dev/sda 2  swap       1GB ReiserFS
/dev/sda 3 Home   290GB JFS
/dev/sda 4 Var        10GB JFS

All I am concerned with primarily is whether the Home, Swap, and Var need to be shuffled?

Thanks again!

Offline

#4 2010-08-17 00:10:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] My Laptop Scheme

Taoist wrote:

Hello,

/dev/sda 1 /             15GB JFS
/dev/sda 2  swap       1GB ReiserFS
/dev/sda 3 Home   290GB JFS
/dev/sda 4 Var        10GB JFS

All I am concerned with primarily is whether the Home, Swap, and Var need to be shuffled?

Thanks again!

No shuffling is needed. The order of the partitions doesn't matter.

Offline

#5 2010-08-17 00:18:35

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [SOLVED] My Laptop Scheme

However, using JFS isn't a good idea. It's a server filesystem, which means it's good for big files, but not good for small files.(which also goes for XFS) Using reiserfs for the /var partition is good, because /var deals with a lot of small files, which reiser is good for. For the others, ext4 should be sufficient.

BTW, swap is simply swap. You can't format swap as reiserfs and make it swap. Also, if you want to hibernate, putting swap to at least your ram size is necessary to make sure that swap doesn't run out of space.

Offline

#6 2010-08-17 00:28:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] My Laptop Scheme

That's right, you can't format swap as any other filesystem, other than swap.
I think you're generally confused about partitions and filesystems, I suggest you read up a bit.

Offline

#7 2010-08-17 00:31:47

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [SOLVED] My Laptop Scheme

http://wiki.archlinux.org/index.php/Beginner's_Guide#Partition_Hard_Drives

Here's a good wiki article for learning about partitions.(well, technically it's the beginner's guide)

Offline

#8 2010-08-17 10:31:49

Taoist
Member
Registered: 2010-08-16
Posts: 13

Re: [SOLVED] My Laptop Scheme

Actually, the whole swap was a typo, I have read the beginner;s guide, the official beginner;s guide, and a host of wiki's. I do on occasion do stupid human tricks....I can't believe I typed it out that way....sorry for insulting everyone;s intelligence with that bad typographical error

Offline

#9 2010-08-17 10:38:34

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: [SOLVED] My Laptop Scheme

schen wrote:

/var deals with a lot of small files, which reiser is good for. For the others, ext4 should be sufficient.

+1
Current filesystem recommends are always EXT4 and BTRFS: http://www.phoronix.com/scan.php?page=a … _ssd&num=4 - there are a few newcomers lurking on the horizon (NILFS etc.), but they are not stable yet IIRC.

Offline

#10 2010-08-17 12:00:41

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED] My Laptop Scheme

If you see slakware it says to use swap as first partition. In Ubuntu you can keep swap in extended partition. What ever the combination you choose it just works.  JFS/XFS are not a good choice for workstation applications imo. using resierfs in /var will speed up the pacman. nilfs2 is ideal for where your data is in and not much deletion of files (currently it warns you not to keep important data on it / btrfs is new and in future will be a replacement for LVM and introduces the concept of pooling (not a new one tho')). I have seen here many use /boot in separate and remaining under another.

Offline

#11 2010-08-17 12:10:13

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] My Laptop Scheme

You can also skip the swap partition and use a swap file instead.

Offline

#12 2010-08-17 12:27:16

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [SOLVED] My Laptop Scheme

Just stick with ext4/reiserfs. Those new filesystems are pretty unstable as of now. Wait a couple years and it'll all be better.

Offline

Board footer

Powered by FluxBB