How to enlarge home dir. -

Bob Goodwin bobgoodwin at wildblue.net
Thu May 5 21:51:18 UTC 2011


On 05/05/11 17:35, Richard Shaw wrote:
> 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.
>

    This is what I see and it seems to be saying these two drives are full?

           --- Physical volume ---
           PV Name               /dev/sdc3
           VG Name               vg_box9
           PV Size               19.05 GiB / not usable 15.00 MiB
           Allocatable           yes (but full)
           PE Size               32.00 MiB
           Total PE              609
           Free PE               0
           Allocated PE          609
           PV UUID               lZVB91-QMK0-mER5-m3Yy-2D2X-8XWy-yS6AQn

           --- Physical volume ---
           PV Name               /dev/sdb1
           VG Name               vg_box9
           PV Size               74.50 GiB / not usable 4.00 MiB
           Allocatable           yes (but full)
           PE Size               32.00 MiB
           Total PE              2384
           Free PE               0
           Allocated PE          2384
           PV UUID               SC73uG-gs6q-axub-eX0L-j4Sj-fH9o-7H4h1C


> 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
>

    Yes I use du -h often.

    I've got a lot of large files in a Downloads directory. I'm copying
    them to another drive and I hope that will free up enough space to
    carry me through for a couple of months or whenever I am ready to
    re-install the system.

    Thanks, you have been very helpful, got me pointed in the right
    direction I believe.

    Bob

> 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