LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 11-14-2013, 04:59 PM   #1
NetBot
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Rep: Reputation: 0
What is your partition layout and filesystem used


Hi

I currently use four partitions:
/boot is ext3
/ is ext4
swap
/home is ext4

Using tmpfs for /tmp and /var/log/ because I am using a SSD drive for the OS and a HDD for the /home partition.

cheers
 
Old 11-14-2013, 05:39 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
/dev/sda1              ext4    20G   18G  721M  97% /
/dev/sda3              ext4   886G   79G  762G  10% /home
tmpfs                  tmpfs  7.9G  4.0K  7.9G   1% /dev/shm
easy-peasy, mac-n-cheesy.
 
Old 11-14-2013, 06:41 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Code:
/dev/sda1       120G   11G  109G   9% /
/dev/sdb1       1.9T  1.1T  763G  60% /home
JFS on sda1 (SSD) - JFS on sdb1 (conventional HD)

Last edited by Jeebizz; 11-14-2013 at 06:46 PM.
 
Old 11-14-2013, 06:52 PM   #4
NetBot
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks Habitual and Jeebizz for your replies. Since both of you used the df command, I will do the same.
Code:
df -Th
Filesystem     Type   Size  Used Avail Use% Mounted on
/dev/sda5      ext4    27G  6.4G   20G  25% /
/dev/sda1      ext3   236M   18M  206M   9% /boot
/dev/sdb7      ext4   274G  210G   64G  77% /home
tmpfs          tmpfs  3.9G  335M  3.6G   9% /tmp
tmpfs          tmpfs  3.9G  360K  3.9G   1% /var/log
tmpfs          tmpfs  3.9G     0  3.9G   0% /var/spool
 
Old 11-14-2013, 08:31 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
On my Debian box, which has been happily chugging along for over three years now with two dist-upgrades and no reinstalls:

Code:
/dev/sda1   *          63   150946739    75473338+  83  Linux <---root and everything
/dev/sda2       150946740   156248189     2650725    5  Extended
/dev/sda5       150946803   156248189     2650693+  82  Linux swap / Solaris
On my primary laptop (Slackware)

Code:
/dev/sda1              63       80324       40131   de  Dell Utility
/dev/sda2           81920    10567679     5242880    b  W95 FAT32
/dev/sda3   *    10567680    49637759    19535040   83  Linux
/dev/sda4        49637760   312581807   131472024    5  Extended
/dev/sda5        49637823   307448879   128905528+  83  Linux <---home
/dev/sda6       307448943   312581807     2566432+  82  Linux swap
 
Old 11-15-2013, 01:50 AM   #6
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 275Reputation: 275Reputation: 275
On my Slackware desktop, lvm + ext4

Code:
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/vg01-root    9.8G  5.6G  3.7G  60% /
/dev/mapper/vg01-lab     9.8G  3.2G  6.1G  35% /lab
/dev/mapper/vg01-home    269G  234G   22G  92% /home
/dev/mapper/vg01-var     2.9G   55M  2.7G   2% /var
tmpfs                   1012M     0 1012M   0% /dev/shm
On my NetBSD server (just new, so it's all empty):

Code:
Filesystem         Size       Used      Avail %Cap Mounted on
/dev/wd0a          2.0G       434M       1.4G  22% /
/dev/wd0e          969M        19M       902M   2% /var
/dev/wd0f          188G        64M       179G   0% /home
kernfs             1.0K       1.0K         0B 100% /kern
ptyfs              1.0K       1.0K         0B 100% /dev/pts
procfs             4.0K       4.0K         0B 100% /proc
 
Old 11-15-2013, 11:53 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
On the desktop,
/ is 10GM, ext3
/home is 19GB, ext3
swap is 1GB
/media/guest is 8GB: used for testing distros, so it's sometimes ext3, sometimes ext4

Last edited by DavidMcCann; 11-15-2013 at 11:54 AM.
 
Old 11-15-2013, 07:28 PM   #8
weirdwolf
Member
 
Registered: Jun 2007
Location: 1 AU from a G2V star
Distribution: PCLinuxOS LXDE / Android
Posts: 247

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
sda1 and sda5, ext4, no swap.
 
Old 11-16-2013, 06:10 PM   #9
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
Code:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        50G  2.3G   45G   5% /
/dev/sda10      164G  7.2G  148G   5% /home
/dev/sda5       9.9G  687M  8.7G   8% /var
/dev/sda6        50G   12G   36G  24% /usr
/dev/sda7        50G  180M   47G   1% /tmp
/dev/sda8        50G  3.9G   43G   9% /opt
/dev/sda9        79G   31G   45G  41% /archive
/dev/sdb1       459G  266G  171G  61% /str
tmpfs           1.7G     0  1.7G   0% /dev/shm
 
Old 11-16-2013, 07:48 PM   #10
Spect73
Member
 
Registered: Aug 2013
Distribution: Slackware 14.1
Posts: 128

Rep: Reputation: Disabled
ext4 with sda1/2/3. First is root with /home. Second two partitions are for storing data.

Coordially,
 
Old 11-17-2013, 09:01 AM   #11
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
I'm surprised that more people don't choose to keep /home separate...
 
Old 11-17-2013, 07:59 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I just added up my non-home directories on my Debian box and it came to just under 15GB. This is the only box on which I have both KDE and Gnome installed and also one which does not have a separate /home partition.

On my primary computer, which has a 15 GB everything-but-home partition and lots of applications installed, df gives me this:

Code:
/dev/sda3       19097236  13692280   4411820  76% /
Note that on this computer the only GUI environments installed are the six Slackware defaults and E17.

Last edited by frankbell; 11-17-2013 at 08:00 PM.
 
Old 11-18-2013, 10:40 AM   #13
Soderlund
Member
 
Registered: Aug 2012
Posts: 185

Rep: Reputation: 81
Code:
/dev/sda1  Debian                    /        (ext3) and GRUB
/dev/sda2  Extended
/dev/sda5  Shared swap
/dev/sda6  Data partition mounted in /mnt/... (ext3)
/dev/sda7  Shared                    /home/   (ext3)
/dev/sda8  Slackware                 /        (ext3) and LILO
Although /home/ (which is very small since all data is on the data partition) is shared between Debian and Slackware, the user names are different so the actual user directories and configuration files are not shared. GRUB chainloads LILO.
 
Old 11-21-2013, 09:45 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by devnull10 View Post
I'm surprised that more people don't choose to keep /home separate...
Not so long ago I always had a separate /home, but nowadays I see no need for that. My config files are backed up and synced between my machines regularly anyways and since I have several computers it just makes more sense to have a separate data partition on my main machine that is exported via NFS to my network.
 
Old 11-21-2013, 05:29 PM   #15
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
Yes, I guess if you're syncing it elsewhere then it's not an issue. One day I'll get around to setting up a small file/print server at home!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best partition Layout Laodiceans Slackware 9 08-06-2010 07:55 PM
Modifying partition layout & partition order rm_-rf_windows Linux - General 3 06-28-2007 05:16 AM
Linux filesystem layout Nic-MDKman Linux - General 6 08-13-2006 04:50 AM
partition layout pilatus666 Linux - Newbie 4 06-06-2006 01:44 AM
Can somebody check my dvd filesystem layout? Inexactitude Linux - Software 3 03-06-2004 11:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration