Article 4X23Z help understanding filesystem, partitions and mounting

help understanding filesystem, partitions and mounting

by
spaghettios
from LinuxQuestions.org on (#4X23Z)
Hi,

I have installed slackware onto a T61 with a single 250GB SSD. I did this some months ago and haven't picked it up since. I am getting an error message saying /home is full, and it appears everything is on one partition. I've tried to read around this a little, but would appreciate any help with reconciling the below:

My cfdisk reads:
Code:
/dev/sda1 2048 16779263 16777216 8G 82 Linux swap
/dev/sda2 * 16779264 58722303 41943040 20G 83 Linux
/dev/sda3 58722304 488397167 429674864 204.9G 83 LinuxOn install i set the swap to twice the RAM and then allocated 20GB for the slackware install - which i assumed would be sufficient. When i run the df command i get:
Code:Filesystem Size Used Avail Use% Mounted on
/dev/root 9.8G 9.0G 237M 98% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 972K 1.9G 1% /run
tmpfs 1.9G 63M 1.9G 4% /dev/shm
cgroup_root 1.9G 0 1.9G 0% /sys/fs/cgroup
cgmfs 100K 0 100K 0% /run/cgmanager/fsSo question 1 is were's my 20G? i see 18GB spread across all of these. My understanding from FHS is that i should have mounted /home, /tmp, /usr, /opt and /var to a separate partition (question 2 - all on a single separate one?) Finally, when i look in the fstab file i see:

/Code:dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext4 defaults 1 1
/dev/sda3 /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0which i read as saying sda3 is mounted to /home? From the cfdisk that suggested that sda3 wasn't mounted at all?

Is there a way i can mount the relevant directories to another partition away from the / filesystem, without having to do a total reinstall?latest?d=yIl2AUoC8zA latest?i=gmxLuRYuG24:iVdSV2imnV4:F7zBnMy latest?i=gmxLuRYuG24:iVdSV2imnV4:V_sGLiP latest?d=qj6IDK7rITs latest?i=gmxLuRYuG24:iVdSV2imnV4:gIN9vFwgmxLuRYuG24
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments