Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
So to try and make a long story short I am attempting to install a small rpm that will give command line access to an integrated array controller on my system so that I can add more local disk.
When attempting to apply the package I am receiving an error indicating that there is not enough space available on the filesystem. I have expanded the filesystem several times today in order to try and resolve this issue and also moved ~1.5G of files to another filesystem but I am still receiving the error.
[email@example.com:~]# rpm -ivh /tmp/hpacucli-8.35-7.0.noarch.rpm
Preparing... ########################################### [100%]
installing package hpacucli-8.35-7.0.i386 needs 18MB on the /opt filesystem
[firstname.lastname@example.org:~]# df /opt
Filesystem 1K-blocks Used Available Use% Mounted on
47231888 45018840 0 100% /opt
I have rebooted the server a couple of times and ran fsck as well. I'm pretty much stumped here, any ideas would be greatly appreciated.
I considered filesystem overhead as a possibility...
/dev/mapper/rootvg-rootlv on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/mapper/rootvg-tmplv on /tmp type ext3 (rw)
/dev/mapper/rootvg-varlv on /var type ext3 (rw)
/dev/mapper/rootvg-homelv on /home type ext3 (rw)
/dev/mapper/rootvg-usrlv on /usr type ext3 (rw)
/dev/mapper/rootvg-locallv on /usr/local type ext3 (rw)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/mapper/rootvg-optlv on /opt type ext3 (rw)
/opt/mrepo/iso/rhel3.9-as-i386-disc1.iso on /opt/mrepo/www/rhel3-as-i386/disc1 type iso9660 (ro,loop=/dev/loop0)
/opt/mrepo/iso/rhel3.9-as-i386-disc2.iso on /opt/mrepo/www/rhel3-as-i386/disc2 type iso9660 (ro,loop=/dev/loop1)
/opt/mrepo/iso/rhel3.9-as-i386-disc3.iso on /opt/mrepo/www/rhel3-as-i386/disc3 type iso9660 (ro,loop=/dev/loop2)
/opt/mrepo/iso/rhel3.9-as-i386-disc4.iso on /opt/mrepo/www/rhel3-as-i386/disc4 type iso9660 (ro,loop=/dev/loop3)
/opt/mrepo/iso/rhel4.7-as-i386-dvd.iso on /opt/mrepo/www/rhel4-as-i386/disc1 type iso9660 (ro,loop=/dev/loop4)
/opt/mrepo/iso/rhel4.7-as-x86_64-dvd.iso on /opt/mrepo/www/rhel4-as-x86_64/disc1 type iso9660 (ro,loop=/dev/loop5)
/opt/mrepo/iso/rhel5.2-server-i386-dvd.iso on /opt/mrepo/www/rhel5-server-i386/disc1 type iso9660 (ro,loop=/dev/loop6)
/opt/mrepo/iso/rhel5.2-server-x86_64-dvd.iso on /opt/mrepo/www/rhel5-server-x86_64/disc1 type iso9660 (ro,loop=/dev/loop7)
Expanded the filesystem or the LV ?. Merely expanding the LV won't help. Where did you delete the files from - /opt ?
I extended the lv. As far as the files that were removed, I deleted a couple of my yum repositories (/opt/mrepo/rhel2.1/*).
At this point the problem is resolved. I ended up removing almost 10gb of files before I was able to finally install the 18mb rpm. Once the new drives were configured and rootvg was extended the %use calculation appears to be correct.