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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby bobo1919 » May 24th, '19, 23:33

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.
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

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

Postby ITA84 » May 25th, '19, 16:51

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
ITA84
 
Posts: 199
Joined: Mar 5th, '13, 18:15

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

Postby bobo1919 » May 26th, '19, 20:30

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
Last edited by isadora on May 26th, '19, 20:56, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

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

Postby isadora » May 26th, '19, 20:55

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.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

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

Postby bobo1919 » May 26th, '19, 20:58

Yes thank you
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

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

Postby isadora » May 26th, '19, 20:59

Removed, thanks for quick reaction.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

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

Postby ITA84 » May 26th, '19, 21:43

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)
ITA84
 
Posts: 199
Joined: Mar 5th, '13, 18:15

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

Postby bobo1919 » May 26th, '19, 22:17

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.
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

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

Postby bobo1919 » May 26th, '19, 22:55

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.
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

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

Postby doktor5000 » May 26th, '19, 23:58

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 ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

SOLVEDNot enough disk space message with plenty of space on

Postby bobo1919 » May 27th, '19, 00:49

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
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

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

Postby isadora » May 27th, '19, 08:12

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. :)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

SOLVED

Postby bobo1919 » May 27th, '19, 15:58

SOLVED
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

Re: SOLVED

Postby isadora » May 27th, '19, 16:27

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.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron