Hilco Wijbenga writes:

> Yes, df -i says /portage is out of inodes. I've never run into that
> before. I reran mke2fs to increase the inode count and that fixed
> things.
> 
> Would LVM somehow prevent these sort of things from happening? LVM
> doesn't affect inode usage, does it?

AFAIK you will gain more inodes when you increase the size.

> What exactly are the advantages
> of LVM? Is it just that it's easier to resize LVM partitions after the
> fact? (That would, of course, already be very useful.)

Mainly. But it also allows you to create snapshots, I use this often to make 
backups without needing to boot from a live-cd - I can even start emerges 
meanwhile, but the backup will have the state the file system was in when 
the snapshot was taken. 
And you can create logical volumes that reside on partitions on different 
physical drives. Or you could move logical volumes from one drive or 
location to another one, while being in use all the time, without the need 
to unmount the file system.
I also like the naming scheme (/dev/<volume group>/<logical volume>/ instead 
of /dev/sd<X><N>), although you can also use file system labels so this is 
not a big problem.

        Wonko


Reply via email to