How to enlarge home dir. -

Richard Shaw hobbes1069 at gmail.com
Thu May 5 21:35:10 UTC 2011


On Thu, May 5, 2011 at 4:21 PM, Bob Goodwin <bobgoodwin at wildblue.net> wrote:
> On 05/05/11 16:14, Richard Shaw wrote:
>>
>> That's what I was afraid of. /dev/sb1 is already in use. Fdisk doesn't
>> really know anything about LVM (other than the partition label). You
>> need to inspect the output of vgdisplay and lvdisplay to see what's
>> going on. You may not actually have an unused drive available to
>> expand /home.
>>
>
>        Yes, I've been looking there and lvm> pvdisplay shows all three
>        drive full. But full with what? This is a terrible system,
>        there's no way to know what's "filling" those drives! I don't
>        believe they are full of my data. I was considering unplugging
>        two of them to see how the system acts? But that's a hell of a
>        way to troubleshoot  a software problem it seems to me.
>
>        I will probably have to move files on to my NFS server until I
>        can rework the whole mess when I'm ready to install F-15.

Well {pv,vg,lv}display will give you an idea to the structure of your
storage environment (drives, partitions, volumes, etc), not if the
file system is full.

One command I use frequently is "du" or disk usage. The most useful
way I've found to use it is like this:

du -h --max-depth=1

This is nice because one you know who the biggest culprits of disk
usage you can cd into the directory and then run the exact same
command again (use the up arrow to browse your history) and follow the
trail.

There's a graphical version that's more interactive as well.

You may have some weird log file or something else that was growing
out of control for some reason. Either of those methods should help
you find it.

Good luck,
Richard


More information about the users mailing list