LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (http://www.linuxquestions.org/questions/general-10/)
-   -   What is your partition layout and filesystem used (http://www.linuxquestions.org/questions/general-10/what-is-your-partition-layout-and-filesystem-used-4175484613/)

NetBot 11-14-2013 05:59 PM

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

Habitual 11-14-2013 06:39 PM

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.

Jeebizz 11-14-2013 07:41 PM

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)

NetBot 11-14-2013 07:52 PM

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


frankbell 11-14-2013 09:31 PM

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


kooru 11-15-2013 02:50 AM

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


DavidMcCann 11-15-2013 12:53 PM

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

weirdwolf 11-15-2013 08:28 PM

sda1 and sda5, ext4, no swap.

devnull10 11-16-2013 07:10 PM

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


Spect73 11-16-2013 08:48 PM

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

Coordially,

devnull10 11-17-2013 10:01 AM

I'm surprised that more people don't choose to keep /home separate...

frankbell 11-17-2013 08:59 PM

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.

Soderlund 11-18-2013 11:40 AM

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.

TobiSGD 11-21-2013 10:45 AM

Quote:

Originally Posted by devnull10 (Post 5066124)
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.

devnull10 11-21-2013 06:29 PM

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! :)


All times are GMT -5. The time now is 03:22 PM.