After creating a folder in my ext4 partition, copying some data to it, then moving that whole folder to another drive, I became unable to add additional data to the ext4 partition when I boot into Linux.

Access via Windows was enabled for me through Paragon ExtFS for Windows.

I can delete files, but not add new ones. Booting into my LiveUSB, I did a partition check using GParted, however that didn't fix this issue. There is >1GB free space on this partition.

How can I add new data when logged into my Linux partition?

share|improve this question
    
What partitions can you not write to? Have a lsblk / mount to check? Tried using a program like baobab to see how big each folder is? – Xen2050 Feb 6 '15 at 10:38
    
The only partition I cannot write to is my ext4 SSD one from my Ubuntu partition (that same one). Is there some migration path, e.g.: I move the partition somewhere else, install Ubuntu 14.10 x64 then migrate everything over? – A T Feb 7 '15 at 3:00
    
Do you have write permissions on the ext4 drive/folders? – user371765 Feb 7 '15 at 3:09
    
Yes. Additionally my home is encrypted (but I can ls, cat and rm no worries one logged into e.g.: tty1) – A T Feb 7 '15 at 3:37
    
Try pasting the output of df -T (and lsblk & mount wouldn't hurt either), maybe there's some mountpoint issues – Xen2050 Feb 7 '15 at 4:05
up vote 3 down vote accepted

Looks like I was wrong about it being an issue from somewhere else, it actually wasn't a corruption issue! Fixed via this answer:

After some fiddling about, I was able to reclaim a large amount of space with tune2fs:

wim@wim-ubuntu:~/Desktop$ df -h | grep sdc
/dev/sdc1             1.8T  1.7T  352M 100% /media/data
wim@wim-ubuntu:~/Desktop$ sudo tune2fs -l /dev/sdc1 | grep 'Reserved block count'
Reserved block count:     24418900
wim@wim-ubuntu:~/Desktop$ sudo tune2fs -m 0 /dev/sdc1
tune2fs 1.41.14 (22-Dec-2010)
Setting reserved blocks percentage to 0% (0 blocks)
wim@wim-ubuntu:~/Desktop$ sudo tune2fs -l /dev/sdc1 | grep 'Reserved block count'
Reserved block count:     0
wim@wim-ubuntu:~/Desktop$ df -h | grep sdc
/dev/sdc1             1.8T  1.7T   94G  95% /media/data

Apparently linux reserve 5% of new partitions for the root user and system services, so that when you run out of disk space, root can still log in and clean stuff up with system services running ok. Seems kind of bananas to me when the system services only need a hundred meg or so, and 5% of a 2TB drive is a $h17load more than that.. shrugs

This left me with 93.5 GB free, which still leaves about 30 gig unaccounted for, so if anyone has any more ideas feel free to chip in!

share|improve this answer

Your sda is 98% full and sdb is 100% full... The answer to your question "How can I add new data when logged into my Linux partition?" is therefore:

Buy bigger hard disks...

Note to the low-quality queue reviewers: yup, that’s it...

share|improve this answer
    
Having said that: If you log in as root, you'll have those nearly 4GB available to you, but it is also very likely you'll completely crash your system once both disks are 100% full. And having said that, It's not because you don't like the answer to your question that you should forget to click the grey check-mark under the "0" at the left of this text, which means "yes, this answer is valid"! ;-) – Fabby Feb 9 '15 at 16:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.