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.
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.
1) ifconfig -a will show you all the interfaces that have been correctly detected by the kernel
2) You have two options
- Quick Fix = Grow the LVM but you only increase the number of inodes by the amount of new filesystem you add, so you will always be short.
- Proper Fix - Recreate the LVM (in other words mkfs)
You could boot from a rescue disk and create a new LVM then mirror it and the break it and the destroy the old LVM, updating your boot configuration and not forgetting to do a backup !
3) Yes you can do it on line.
- See ext2online for growing the filesystem
- and lvextend -L {size} mountpoint
e.g
lvextend -L +5G /dev/OSvg/ROOT which will extend the ROOT volume on the Volume group OSvg by 5G.
- Remember to grow the LVM first then grow the filesystem.
The might be a few alternatives as what I was proposing would take a fair time and rely upon you having the same amount of free space that the root volume has and would not be easy to, it would be easy to screw it up and loss the lot.
The Question is why have you run out of Inodes, I assume it was a standard installtion and that you did not customize the filesystem (which you can do when you create the filesystem by hand)
Normally Inodes will fill up because you have lots of little files (each file requires an Inode), therefore running out of inodes first but leaving you with plenty of free space.
You could locate the these small files and create a new filesystem with additional inodes using the mkfs command and the move the files to the new filesystem. Or alternativly backup your important data and re-install.
Normally best practice suggest that you have a sperate / /var /home, and then also create other filesystems for your data / users etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.