Adam Zion on 9 Dec 2011 07:57:02 -0800

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

Re: [PLUG] Lost gigabytes?

> And now all becomes clear.  You're using LVM.
> Run:
> vgs
> lvs

OK, that shows me the actual size of the partitions. Here's what I get from those commands:

[adam@adam-fedora-ntbk ~]$ sudo vgs
 VG                #PV #LV #SN Attr   VSize   VFree
 vg_adamfedorantbk   1   3   0 wz--n- 134.97g    0

 LV      VG                Attr   LSize  Origin Snap%  Move Log Copy%  Convert
 lv_home vg_adamfedorantbk -wi-ao 80.22g                                      
 lv_root vg_adamfedorantbk -wi-ao 50.00g                                      
 lv_swap vg_adamfedorantbk -wi-ao  4.75g

I got conky to do so by configuring it as so:

${color yellow}/${color white}  ${fs_free_perc /}% free$alignr${fs_used /}/${fs_size /} - ${FS_FREE /}
${color yellow}/home${color white}  ${fs_free_perc /home}% free$alignr${fs_used /home}/${fs_size /home} - ${FS_FREE /home}
${color yellow}C:${color white}  ${fs_free_perc /media/C-Drive}% free$alignr${fs_used /media/C-Drive}/${fs_size /media/C-Drive} - ${FS_FREE /media/C-Drive}

In case you're not familiar w/conky (which you should be- it's a brilliant system monitor), the first line checks the free space percentage, space used, total space, and space available on root, the 2nd those on home, and the third on the Windows partition (I need 1 WIndows PC for grad work). So, now, at least, I know where the space is.

> I think LVM is pretty safe (when growing fileysstems at least, I never bother
> with shrinking them), though yes, at least understand the cmdline options
> that you're passing to lvresize as it would be awful to think you're
> growing a certain number of extents but instead be providing the new
> absolute size.

Just to confirm: this is a good, stable, arrangement, yes? Is there any disadvantage to leaving this configuration as-is vs. reformatting it differently?

Adam+Zion, MCSE+I, Registered Linux User #471910

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --