You are not logged in.
I recently upgraded Windows in my dual boot system. Since this erased GRUB, I used Ubuntu's live CD to restore it. The plan was subsequently I can boot into arch and install the arch version of GRUB thus restore the system. I'm doing this because I don't have an arch installation CD at this moment.
However, although I was able to boot arch after installing Ubuntu's GRUB, I can't login into X. At first I thought this was related to .xinitrc so I dropped back to console and tried to edit it. Then Vim complaint that the disk was full. Here's where the strange things started, du -f shows that there is 0% available space on all my EXT3 partitions, however not all of the 1K-blocks are used.
Moreover, I cannot create or edit any file in my home partition as normal user, but as root I can still do it. I was able to create empty files by 'touch' command. And I was able to perform normal operations on my NTFS partitions as normal user. This looks like a permission issue but I can't figure out what went wrong.
So far I've looked into these places:
AppArmor is not running.
fstab remains untouched, same as before.
All partitions are mounted with 'defaults' option in fstab.
Kernel boot option seems ok, specifically UUID on the boot command line matches with real ones.
inodes are not used up.
Any ideas?
Last edited by tfcata (2014-06-12 01:36:04)
Offline
If du is reporting a full partition you'll need to delete some content, no? As root, change the premissions of /home/YOURUSER so your user can read/write to it. You'll need to know your username and group. Use `chown -R name:group /home/YOURUSER` for that. Post the output of `df -h` and indicate which partition is causing the problems.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Here's the output, the problematic partitions are / and /home:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 15G 14G 0 100% /
dev 1.5G 0 1.5G 0% /dev
run 1.5G 508K 1.5G 1% /run
tmpfs 1.5G 0 1.5G 0% /dev/shm
tmpfs 1.5G 0 1.5G 0% /sys/fs/cgroup
tmpfs 1.5G 4.0K 1.5G 1% /tmp
/dev/sda2 12G 10G 1.1G 91% /media/xp
/dev/sda6 63G 60G 0 100% /home
The strange thing is that used space is less than the disk size, yet it reports the disk is used up.
The permission of my home folder is ok.
Last edited by tfcata (2014-05-31 02:28:12)
Offline
If it isn't a permissions issue, I recommend using a util like ncdu (as root) from a live environment to see why you're out of space. Perhaps all inodes are used. In any case, you need to free-up some space either by copying files out or deleting them.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
The strange thing is that used space is less than the disk size, yet it reports the disk is used up.
Maybe the filesystem size has been reduced & it's not filling the partition...
Have a look at the resize2fs command; use something like:
# resize2fs /dev/sda3 15G
&
# resize2fs /dev/sda6 63G
See man resize2fs for more
Jin, Jiyan, Azadî
Offline
Sorry for the delayed answer.
It turned out that the file system quota was reached. tune2fs did the trick.
I'll mark this as solved.
Offline