On Wed, Mar 28 2012, Alan McKinnon wrote:

> What you describe sounds ok, but I'd still hesitate to give a definite
> answer without a little more data.
>
> If you send over the output of 
>
> df -h
> du -shx for each partition you have
> fdisk -l
> pvdisplay
> vgdisplay
> lvdisplay
>
> I'll be happy to go over the numbers and offer an opinion.

Wow.  I get a detailed lvm recipe (with warnings) from wonko (thank you
very much) and from alan I get "an offer I can't refuse".  Definitely a
good day!

allan 

ajglap gottlieb # df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                5.0G  534M  4.2G  12% /
/dev/root             5.0G  534M  4.2G  12% /
rc-svcdir             1.0M   92K  932K   9% /lib64/rc/init.d
cgroup_root            10M     0   10M   0% /sys/fs/cgroup
udev                   10M  660K  9.4M   7% /dev
shm                   3.9G  304K  3.9G   1% /dev/shm
/dev/mapper/vg-usr     20G   14G  5.7G  70% /usr
/dev/mapper/vg-local  9.9G  7.3G  2.1G  79% /local
/dev/mapper/vg-var     15G  466M   14G   4% /var
/dev/mapper/vg-tmp    5.0G  307M  4.4G   7% /tmp
/dev/mapper/vg-opt    5.0G  285M  4.4G   6% /opt
/dev/mapper/vg-a       35G   16G   18G  48% /a


ajglap gottlieb # for i in / /usr /local /var /tmp /opt /a; do du -shx $i; done
395M    /
13G     /usr
7.2G    /local
313M    /var
168M    /tmp
147M    /opt
16G     /a


ajglap gottlieb # pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda7
  VG Name               vg
  PV Size               100.01 GiB / not usable 2.50 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              25601
  Free PE               2561
  Allocated PE          23040
  PV UUID               NW7PkL-9uTd-FpVs-CBQ5-23uN-zXmP-S93rUr
   

ajglap gottlieb # vgdisplay
  --- Volume group ---
  VG Name               vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  9
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                6
  Open LV               6
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               100.00 GiB
  PE Size               4.00 MiB
  Total PE              25601
  Alloc PE / Size       23040 / 90.00 GiB
  Free  PE / Size       2561 / 10.00 GiB
  VG UUID               Qu7Lml-xaZ6-RjDF-3Pu4-Q0im-aStB-AWKGwD


ajglap gottlieb # lvdisplay
  --- Logical volume ---
  LV Path                /dev/vg/usr
  LV Name                usr
  VG Name                vg
  LV UUID                PsU87T-o3vy-k2wj-15wU-tOZk-2csz-1gmDwz
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                20.00 GiB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
   
  --- Logical volume ---
  LV Path                /dev/vg/local
  LV Name                local
  VG Name                vg
  LV UUID                h05KfH-xF4U-A5ii-diWd-SZ4P-bWQD-U8Gly2
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
   
  --- Logical volume ---
  LV Path                /dev/vg/var
  LV Name                var
  VG Name                vg
  LV UUID                860txl-vddH-nF5m-2cZz-6uco-eZ4v-IvSeh6
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                15.00 GiB
  Current LE             3840
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2
   
  --- Logical volume ---
  LV Path                /dev/vg/tmp
  LV Name                tmp
  VG Name                vg
  LV UUID                a2RKmz-If71-cF9p-QE3E-kjQO-sYW2-VopkEO
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             1280
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3
   
  --- Logical volume ---
  LV Path                /dev/vg/opt
  LV Name                opt
  VG Name                vg
  LV UUID                0zUFgs-I0UE-j3ue-eVtY-9snn-noho-uDNOBk
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             1280
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4
   
  --- Logical volume ---
  LV Path                /dev/vg/a
  LV Name                a
  VG Name                vg
  LV UUID                QHqc9a-JLRy-01Oe-W61Y-SO1y-aPdJ-utDoqh
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                35.00 GiB
  Current LE             8960
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:5
   

Reply via email to