You are not logged in.
Pages: 1
My root partition is full, but it contains a lot of /home and its directories and files. I set aside a larger partition for /home so that documents,music,photos and general linux programs (not Arch) would be put there so that root should not fill up. Why does /home and some of its files go on root? and can I move themwithout messing things up (like having (ARCH) know where they are without having to link them manually? My root is sdb3 and home is sdb4. I gave root 9.7G and home 136G.
Last edited by Trevorofmolino (2009-02-17 12:04:31)
Offline
Have you actually mounted sdb4 as /home on your system?
Are you sure that it's /home that's filling up and not /usr and /var?
Post your fstab (/etc/fstab) if you're not sure that sdb4 is mounted as /home.
You can check the size of each directory in / by running "du -hs /*" as root.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
you must have not mounted the correct partition as home during the installation process.
EDIT : Too late
Last edited by Inxsible (2009-02-15 23:59:22)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
For /etc/sfatb I have
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sr0 /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/sdb1 /boot ext2 defaults 0 1
/dev/sdb2 swap swap defaults 0 0
/dev/sdb3 / ext3 defaults 0 1
/dev/sdb4 /home ext3 defaults 0 1
/dev/sda1 /home/svr ext2 defaults 0 1
/dev/sda2 /home/group linux defaults 0 1
#/dev/sda3 /backup linux defaults 0 1
/dev/sdc1 /mnt/usb auto noauto,users 0 0
/dev/sdd1 /mnt/usb auto noauto,users 0 0
I had to comment out sda3 because it has a short read reading journal superblock I will work on that after I get the main harddrive root partition and files taken care of.
Running du -hs /* I get
/boot 8.2M
/etc 36M
/home 24G
/lib 79M
/opt 652M
/root 1.1G
/sbin 14M
/usr 3.9G
/var 3.7G all the rest are less than 1M each
Offline
9.7 GB (sdb3)
- 1.1 GB (/root)
- 3.9 GB (/usr)
- 3.7 GB (/var)
- 652 MB (/opt)
--------
372 MB
/home has nothing to do with it. You've underestimated how much space you need for /root & etc.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
/root is very big. And I'd almost put money on it that /var is so big because of your pacman cache (/var/cache/pacman). You can clean that out by running pacman -Sc and see how much that frees up. If you need more space after that, pacman -Scc will clear out everything from the cache.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
My sda drrive is 160G. If I repartition it to boot 40M,swap 5G, root 15G, var 10G and home the rest can I move the corresponding directories from one drive to the other? or will I have to reinstall everything and move the documents and other info from home to the other drive? After everything is moved should I repartition the other drive or can I delete everyting from the partitions and rename them for backups?
Offline
You should be able to copy everything from each partition with "cp -a", but you'll have to update your fstab (or at least double-check) to make sure that you set the right devices. Back everything up though just in case something goes wrong.
I would also recommend that you look up LVM in the wiki and on google. If you leave boot as a physical partition and then put your other partitions on LVM, you won't have to repartition the entire disk later if you need to resize partitions again.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
changed fstab to
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sr0 /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
#/dev/sdb1 /boot ext2 defaults 0 1
#/dev/sdb2 swap swap defaults 0 0
#/dev/sdb3 / ext3 defaults 0 1
/dev/sdb4 /home ext3 defaults 0 1
/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 1
/dev/sda3 /var ext3 defaults 0 1
/dev/sda4 / ext3 defaults 0 1
/dev/sdc1 /mnt/usb auto noauto,users 0 0
/dev/sdd1 /mnt/usb auto noauto,users 0 0
I used the install disk to auto format sda using sda1 for boot with 50M, sda2 for swap with 4g, sda3 for var with 15g, and sda4 for / with the rest abt 140G. When I check with fdisk -l /dev/sda I see that it matches. But when I check with df -h I get that
sda4 is 9.7G with 100% used
swap is 1014M
sdb4 is 136G /home
sda1 is 54M with 894K used as /boot
sda3 is 15G with 281M used as /var
I have not copied anything over to sda after auto format so I dont know how it booted or why it doesn't match how I partitioned it.
Offline
Off topic, but still relevant -- Please use the code tags to display your outputs and files etc. Easier reading for people trying to help you out.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1