Fedora Linux Support Community & Resources Center
  #1  
Old 10th July 2012, 02:21 AM
Eloi D Offline
Registered User
 
Join Date: Jul 2012
Location: Montreal
Posts: 10
linuxfirefox
Exclamation Insuficient disk space to install a program

Hi All,

I am trying to install Diablo 3 for my son on Fedora since is Ubuntu install was screwed. Everything run smoothly but I get "insufficient space" warning from the Diablo install when I try to install it with play on linux. The program ask for 15GB wich I though I got.

Could you tell me what happen from the partition information bellow? Thank you!


[root@diablo Downloads]# fdisk -l

Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b12f6

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 117229567 58101760 8e Linux LVM

Disk /dev/mapper/vg_diablo-lv_swap: 10.5 GB, 10502537216 bytes
255 heads, 63 sectors/track, 1276 cylinders, total 20512768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/vg_diablo-lv_root: 32.7 GB, 32682016768 bytes
255 heads, 63 sectors/track, 3973 cylinders, total 63832064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/vg_diablo-lv_home: 16.3 GB, 16307453952 bytes
255 heads, 63 sectors/track, 1982 cylinders, total 31850496 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@diablo Downloads]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 31G 4.4G 26G 15% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 1.6M 3.9G 1% /dev/shm
tmpfs 3.9G 1.6M 3.9G 1% /run
/dev/mapper/vg_diablo-lv_root 31G 4.4G 26G 15% /
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 0 3.9G 0% /media
/dev/sda1 497M 124M 348M 27% /boot
/dev/mapper/vg_diablo-lv_home 16G 8.8G 5.6G 62% /home
/dev/sr0 645M 645M 0 100% /run/media/duguay/Fedora-17-x86_64-Live-Desktop.is
Reply With Quote
  #2  
Old 10th July 2012, 02:36 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,207
linuxchrome
Re: Insuficient disk space to install a program

I presume the program is installing into the /home partition.
Quote:
/dev/mapper/vg_diablo-lv_home 16G 8.8G 5.6G 62% /home
/home has 16GB total, with 8.8GB (62%) already used and only 5.6GB left.

Last edited by PabloTwo; 10th July 2012 at 02:38 AM.
Reply With Quote
  #3  
Old 10th July 2012, 03:38 AM
Eloi D Offline
Registered User
 
Join Date: Jul 2012
Location: Montreal
Posts: 10
linuxfirefox
Re: Insuficient disk space to install a program

Indeed Pablo, now I look at the playonlinux virtual drive property there and it got 6gb left, but the rootfs partition say it got 26gb!

Is it possible to increase the home size? I need to transfer 10gb to the home...

---------- Post added at 01:38 AM ---------- Previous post was at 01:12 AM ----------

I try to reset the partition. I installed and run gparted. Anyone know how to do the work from that application?

I think I have to rather use lvmgui, is there anyway to find the instruction on how to do this without using the Fedora installation wizard?
Reply With Quote
  #4  
Old 10th July 2012, 03:39 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,207
linuxchrome
Re: Insuficient disk space to install a program

It may be possible, but without a keen knowledge of working with Logical Volume Management at the command line, not practical from a casual users point of view. It would be easier to do a complete re-install of Fedora, but this time using a custom partitioning scheme instead of the Fedora "defaults", if that's what you did. And while you're doing that, if you should care to pursue that route, I would recommend not using LVM and just create standard Linux partitions, and giving more space for /home.

The other alternative, though I don't particularly endorse doing so, would be to switch to full root and install to roots home directory, which is /root and currently has 26GB unused space. That would also mean having to run the game as root, far from an ideal solution as it presents possible security risks and a higher likelihood of damage to the operating system which is on the same partiton.

Last edited by PabloTwo; 10th July 2012 at 03:43 AM.
Reply With Quote
  #5  
Old 10th July 2012, 03:18 PM
Eloi D Offline
Registered User
 
Join Date: Jul 2012
Location: Montreal
Posts: 10
windows_7ie
Re: Insuficient disk space to install a program

It seem like a solution to extend the Home size would be to add a Hard Drive and use fdisk and lvm to do the work. I heard I can have the partition on several disk using lvm.

Could you post your commands? I would like to make sure what is proper.
Reply With Quote
  #6  
Old 10th July 2012, 04:04 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,207
linuxchrome
Re: Insuficient disk space to install a program

Adding a second hdd and creating a logical_volume on it and then adding that new lv to your existing /home lv would work. That's the good part about using LVM in the first place. No, I can't post any commands how you would do that, as I never learned to do such things, even back when I was using LVM. You would either need to get some guidance here on the forum from someone who could help you with that, or start learning yourself from online tutorials and reading the man pages for the various LVM command line tools.
Code:
BASH:~/-> rpm -ql lvm2 | grep bin/
/sbin/fsadm
/sbin/lvchange
/sbin/lvconvert
/sbin/lvcreate
/sbin/lvdisplay
/sbin/lvextend
/sbin/lvm
/sbin/lvmchange
/sbin/lvmconf
/sbin/lvmdiskscan
/sbin/lvmdump
/sbin/lvmsadc
/sbin/lvmsar
/sbin/lvreduce
/sbin/lvremove
/sbin/lvrename
/sbin/lvresize
/sbin/lvs
/sbin/lvscan
/sbin/pvchange
/sbin/pvck
/sbin/pvcreate
/sbin/pvdisplay
/sbin/pvmove
/sbin/pvremove
/sbin/pvresize
/sbin/pvs
/sbin/pvscan
/sbin/vgcfgbackup
/sbin/vgcfgrestore
/sbin/vgchange
/sbin/vgck
/sbin/vgconvert
/sbin/vgcreate
/sbin/vgdisplay
/sbin/vgexport
/sbin/vgextend
/sbin/vgimport
/sbin/vgimportclone
/sbin/vgmerge
/sbin/vgmknodes
/sbin/vgreduce
/sbin/vgremove
/sbin/vgrename
/sbin/vgs
/sbin/vgscan
/sbin/vgsplit
There should be "man" pages for most or all of these commands. I don't even know what graphical LVM tools there are available, and what their capabilities are if they do exist.
Reply With Quote
  #7  
Old 10th July 2012, 05:24 PM
Eloi D Offline
Registered User
 
Join Date: Jul 2012
Location: Montreal
Posts: 10
windows_7ie
Re: Insuficient disk space to install a program

How can we get the the LVM GUI? I can use Gparted instead of fdisk and LVM GUI instead of LVM but what is the yum command to install LVM GUI?
Reply With Quote
  #8  
Old 10th July 2012, 05:26 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,207
linuxchrome
Re: Insuficient disk space to install a program

Code:
yum install system-config-lvm
Code:
BASH:~/-> yum info system-config-lvm
Loaded plugins: langpacks, presto
Available Packages
Name        : system-config-lvm
Arch        : noarch
Version     : 1.1.17
Release     : 1.fc16
Size        : 461 k
Repo        : updates
Summary     : A utility for graphically configuring Logical Volumes
URL         : http://www.redhat.com/
License     : GPLv2
Description : system-config-lvm is a utility for graphically configuring Logical Volumes
Reply With Quote
  #9  
Old 10th July 2012, 06:51 PM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 88
linuxopera
Re: Insuficient disk space to install a program

The system-config-lvm is a great tool, will enable you to resize logical volumes and many other things. The only caveat I am aware of has to do with mounted volumes. It will be necessary to unmount a volume before you can work on it, if you are trying to unmount the / volume that would present problems. Because you would be unmounting the partition or volume that you are working from.
Reply With Quote
  #10  
Old 10th July 2012, 11:23 PM
Eloi D Offline
Registered User
 
Join Date: Jul 2012
Location: Montreal
Posts: 10
windows_7ie
Lightbulb Re: Insuficient disk space to install a program

It look like we have to run the following command afterward, I just wanted to know what you think...

7.4. Resizing an Ext4 File System
Before growing an ext4 file system, ensure that the underlying block device is of an appropriate size to hold the file system later. Use the appropriate resizing methods for the affected block device.
An ext4 file system may be grown while mounted using the resize2fs command, as in:
resize2fs /mount/point size
The resize2fs command can also decrease the size of an unmounted ext4 file system, as in:
resize2fs /dev/device size
When resizing an ext4 file system, the resize2fs utility reads the size in units of file system block size, unless a suffix indicating a specific unit is used. The following suffixes indicate specific units:
s — 512kb sectors
K — kilobytes
M — megabytes
G — gigabytes
For more information about resizing an ext4 file system, refer to man resize2fs.
Reply With Quote
  #11  
Old 10th July 2012, 11:47 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
windows_7firefox
Re: Insuficient disk space to install a program

Yes, you must run resize2fs before shrinking and after growing logical volumes.
Reply With Quote
  #12  
Old 11th July 2012, 04:39 AM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 88
linuxopera
Re: Insuficient disk space to install a program

Quote:
Originally Posted by markkuk View Post
Yes, you must run resize2fs before shrinking and after growing logical volumes.
I agree with having to resize the file system on the volume once it has changed size. However, remember that you will have to unmount the volume before you can resize it.

Think of it this way:

Logical Volume in LVM = Primary Partition or Logical Partition in an Extended Partition.

That volume is like a file cabinet with 4 drawers, if you add more or take away drawers then you will have to change the way the file hangers are placed inside of it.

Best analogy I could come up with right now.
Reply With Quote
  #13  
Old 11th July 2012, 05:34 PM
Eloi D Offline
Registered User
 
Join Date: Jul 2012
Location: Montreal
Posts: 10
windows_7ie
Re: Insuficient disk space to install a program

Hi All,
THE GUI DOES IT ALL!!!
I did resize the Home with an extra HDD and I just needed to use Gparted and LVM gui, no reboot required. The change are instant. Very efficient.

I think we are all set!
Reply With Quote
  #14  
Old 12th July 2012, 12:23 AM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 88
linuxopera
Re: Insuficient disk space to install a program

Great, glad to hear that it all worked out for you.

I know I am not a moderator or anything, but under the thread tools would you mind marking the thread "Solved." Helps me keep from coming back to it, thanks.
Reply With Quote
Reply

Tags
disk, install, insuficient, program, space

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
im out of disk space i need to install a program noobusinglinux Using Fedora 2 11th August 2009 03:41 AM
Cannot install f11 beta -- not enough disk space? yesterday Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 2 7th April 2009 01:59 PM
Disk space required to install KDE4 joe.pelayo Using Fedora 4 19th February 2009 08:22 AM
What program can I use to partition my fee disk space (Post-install) rendered_one Using Fedora 14 30th July 2004 08:00 AM
Error transferring install image. You are probably Out of Disk Space gonzalo76 Installation, Upgrades and Live Media 0 14th April 2004 09:33 AM


Current GMT-time: 19:58 (Wednesday, 17-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Lulu Bar Cafe Restaurant Instagram Photos - Ciudad De Valparaiso Travel Photos on Instagram