Page 1 of 1

[SOLVED] Not enough disk space message with plenty of space.

PostPosted: May 24th, '19, 23:33
by bobo1919
I'm running 6.0 64bit Mageia on an Asus laptop with a dual boot windows installation.
What I need help with is that I have plenty of room
to install a half gig file but the error keeps coming back not enough disk space.

Here is the disk partitioning situation.


Device: sda2
Volume label: OS
DOS drive letter: C (just a guess)
Type: NTFS-3G
Size: 634GB (90% of disk)

Device: sda1
Volume label: RECOVERY
Type: Hidden W95 FAT32 (LBA)
Size: 25GB (3% of disk)

Mount point: /
Device: sda5
Type: Journalised FS: ext4
Size: 12GB (1% of disk)
Mounted

Mount point: swap
Device: sda6
Type: Linux swap
Size: 3.1GB (0% of disk)
Mounted

Mount point: /home
Device: sda7
Type: Journalised FS: ext4
Size: 24GB (3% of disk)
Mounted

The file is supposed to be installed on sda7.

Any hints appreciated on why and how to resolve
appreciated.

Re: Not enough disk space message with plenty of space on di

PostPosted: May 25th, '19, 16:51
by ITA84
Are the % numbers the used disk space or the size of the partitions relative to the whole disk? If the latter, could you please enter the df command on a terminal and post the output?

Regarding the issue, if you have indeed enough free space in /home, it could be that the way you're 'installing' the file requires to temporarily copy it to another location, which in turn could be in a partition with less free space. Please mention how you're installing/copying the file

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 20:30
by bobo1919
here is the "df" output:

Code: Select all
[jerry@localhost ~]$ df -k
Filesystem     1K-blocks     Used Available Use% Mounted on
devtmpfs         1502808        0   1502808   0% /dev
tmpfs            1508412    21064   1487348   2% /dev/shm
tmpfs            1508412     1704   1506708   1% /run
/dev/sda5       12258252  7371860   4240664  64% /
tmpfs            1508412        0   1508412   0% /sys/fs/cgroup
tmpfs            1508412      116   1508296   1% /tmp
/dev/sda7       24860632 22469264   2374984  91% /home
tmpfs             301684       16    301668   1% /run/user/983
tmpfs             301684     5808    295876   2% /run/user/1000



The install file is a 1.5gb shell script .
I inquired to the distributor of the package about this and I did what they said and what you said ( i.e. set environment variable for TMPDIR to the
partition /home/myusername/tmp which has enough space to install it.


Here is the result of the attempted shell script run


Code: Select all
sh icm-3.8-7b-linux.sh
Verifying archive integrity...
OK

Uncompressing icm-3.8-7b.tar: data.tgz: Wrote only 2560 of 10240 bytes
tar: Install.sh: Cannot write.: No space left on device
....tar: README: Cannot write: No space left on device
..tar: Exiting with failure status due to previous errors.
.Extraction failed.


Signal caught, cleaning up

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 20:55
by isadora
So, this is also the answer to your questions in the other topic?
viewtopic.php?f=7&t=12793

So that one can be removed, to keep the forum a little bit clear?

Edit: and please use [CODE]-tags next time for better readability.

Thanks ahead.

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 20:58
by bobo1919
Yes thank you

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 20:59
by isadora
Removed, thanks for quick reaction.

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 21:43
by ITA84
Not sure what's wrong then. I've downloaded the self-extracting script myself and tried installing the program (http://www.molsoft.com/icm_browser.html) setting TMPDIR like this:

Code: Select all
export TMPDIR=/home/xxx/temp
sh icm-browser-3.8-7b-linux.sh

and it did extract the files, 479 MB, in that directory correctly, without touching /tmp (as far as I could tell). The script itself is a bit complicated, but unless it's doing something really weird it shouldn't write anywhere else nor use more than half a gigabyte of space in all.

The only other options that I can think of are:
  • you've run out of inodes (check with the df -i command), but I suppose it'd have displayed a different error message
  • you've got some bad blocks on your drive (not sure how to check for that, though)

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 22:17
by bobo1919
I was able to install the free browser ok toO.

The problem script is a full package

that requires a key and registration to install.

sh icm-3.8-7b-linux.sh

It's a larger file.

The other suggestion included cloning then using gparted
to repartition - increase size of the home partition.

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 22:55
by bobo1919
The command line command for bad block checking I ran is:

sudo badblocks -v /dev/sda7 > badsectors.txt

No bad sectors were identified with this approach.

Re: Not enough disk space message with plenty of space on di

PostPosted: May 26th, '19, 23:58
by doktor5000
FWIW, there might be plenty of space somewhere else on your disk, but your /home filesystem is 91% full, there are ~2GB left.
If you just installed Mageia, I'd probably redo the installation and go for a bigger /home partition.

Although you may also want to check what occupies that 20GB. You can do so with e.g.

Code: Select all
du -mx /home | sort -rn | head -100


which will basically show you the 100 biggest folders and files.

Because if you just installed Mageia, then your /home should be nearly empty ...

SOLVEDNot enough disk space message with plenty of space on

PostPosted: May 27th, '19, 00:49
by bobo1919
I drilled through the directories in the home directories
and found and deleted the space hogging files.

Am now down to 30% on sda7.

Thank you all.

SOLVED

Re: Not enough disk space message with plenty of space on di

PostPosted: May 27th, '19, 08:12
by isadora
Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)

SOLVED

PostPosted: May 27th, '19, 15:58
by bobo1919
SOLVED

Re: SOLVED

PostPosted: May 27th, '19, 16:27
by isadora
bobo1919 wrote:SOLVED

You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.


Alright; did it for you this time.