Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[SIZE="1"][SIZE="2"][SIZE="3"][SIZE="1"]Hello!
I try to install Asterisk in Centos 5.4 (uname -r) 2.6.18-308.4.1.el5, when i try to make install command i get: Cannot write: No space left on device. Note that i have disk space in my pc.
You have filled up your root partition. Clean it down and then you will be in business again.
Not sure what you are trying to prove with a "df -i". Just go by the "df -h" output and not sure why your output is telling us you have 3x root parts and 3x home dirs?
Hello!
I try to install Asterisk in Centos 5.4 (uname -r) 2.6.18-308.4.1.el5, when i try to make install command i get: Cannot write: No space left on device. Note that i have disk space in my pc.
[root@localhost /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 3.8G 0 100% /
Please help me to find the good solution, i have tried some methods in internet but no way.
Thank u!
If you look at what you posted, you're getting the message because your disk is 100% full. So, free up some disk space...delete something you don't need. Not sure why you only partitioned a 4GB root partition, but that's where /usr, /bin, etc., all live, so it's not surprising it's full. If this is a brand new installation, consider removing it, and doing a fresh install, with a larger partition size.
Also, spell out your words, please, and provide useful details. You don't say what version/distro of Linux you're using, what size your drive is,or what the "some methods" you've found/tried are, and how they failed. All we can tell you from what you posted, is that your disk is full.
You have filled up your root partition. Clean it down and then you will be in business again.
Not sure what you are trying to prove with a "df -i". Just go by the "df -h" output and not sure why your output is telling us you have 3x root parts and 3x home dirs?
Start using "du" and find the culprits.
Cheers.
There is more than /root that because i wrote this command (mount /dev/sda2 -o /home) more than one.
There is more than /root that because i wrote this command (mount /dev/sda2 -o /home) more than one.
In fact, because i'm newbie in linux, when i have installed centos, i dont know how i can reserve large space for root partition.
It asks you during the installation process. You specify it then.
Quote:
I know very well there is no space, but i dont know how to resolve this problem. I prefer to count on myself, but I need have some ideas that can help me.
Well, not to sound harsh, but if you know there's no space, there is only ONE solution: remove some files, which will free up some space. Nothing else can really be done.
It asks you during the installation process. You specify it then.
Well, not to sound harsh, but if you know there's no space, there is only ONE solution: remove some files, which will free up some space. Nothing else can really be done.
If you are doing anything with Asterisk but learning it, I'd *HIGHLY* recommend you don't use a virtual machine for a VOIP solution.
Ummm ... that's not really the Linux way, and there's ALWAYS a different method.
Specially w/ a vmware install, where throwing more disk at a problem is trivial.
Find out which part of the file-system uses most space.
add another "disk" to the VM, a bit bigger than what you currently have
boot the VM of a live CD
create an fstab entry that matches the "full" directory (most likely /usr)
temporarily mount the new disk to a temp dir, e.g. /tmp/new_disk
Ummm ... that's not really the Linux way, and there's ALWAYS a different method.
Specially w/ a vmware install, where throwing more disk at a problem is trivial.
Find out which part of the file-system uses most space.
add another "disk" to the VM, a bit bigger than what you currently have
boot the VM of a live CD
create an fstab entry that matches the "full" directory (most likely /usr)
temporarily mount the new disk to a temp dir, e.g. /tmp/new_disk
mv the full dirs content to /tmp/new_disk
reboot, and you're away laughing
I concur with the "always a different method". But, the OP said they were new to Linux...adding a slice to an LVM (especially if it's the root partition), isn't really newbie-friendly. That's why I suggested going with a clean slate, but you are very correct in your suggestion to add disk space.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.