Rich Freeman on 8 Dec 2011 12:47:35 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Lost gigabytes?


On Thu, Dec 8, 2011 at 3:30 PM, Adam Zion <azion1995@gmail.com> wrote:
> /dev/sda5       342034432   625141759   141553664   8e  Linux LVM
>
> ...
>
>> cat /etc/fstab
>
> /dev/mapper/vg_adamfedorantbk-lv_root /                       ext4
> defaults        1 1
> UUID=4cce4a2a-62a0-444a-911b-d1a5629ed996 /boot                   ext4
>   defaults        1 2
> /dev/mapper/vg_adamfedorantbk-lv_home /home                   ext4
> defaults        1 2
> /dev/mapper/vg_adamfedorantbk-lv_swap swap                    swap
> defaults        0 0
> /dev/sda2        /media/C-Drive          ntfs-3g  defaults     0 0
>

And now all becomes clear.  You're using LVM.

Run:
vgs
lvs

Your one partition is further divided up using LVM, and so root is
just a portion of it.  LVM does allow for resizing so you can shuffle
things around - IF YOU KNOW WHAT YOU ARE DOING!!!!!!!!!  You may need
to shrink existing filesystems and then their corresponding logical
volumes - then increase other logical volumes and their corresponding
filesystems.

If this is on a laptop might not hurt to bring it to a PLUG meeting or
otherwise work with somebody who is familiar with LVM.  Or you can
learn about it online, but make sure you understand what is going on
or (ideally and) have good backups.

Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug