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

Re: [linux-lvm] Extending LVM and SomeQuestion ..



On Tue, Apr 27, 2004 at 10:17:22AM +0300, Vahric MUHTARYAN wrote:
> Hi Everybody , 
> 
> I created Volume Group and I added 2 disk into VG. That's ok problem is; 
> 
> I checked Howto http://tldp.org/HOWTO/LVM-HOWTO/recipeadddisk.html 
> 
> it's using only vgextend ( not lvextend ) to extend size of Volume Group and
> file system ?! Does it true ?! Do I have to use lvextend ?! don't I ?! 

With vgextend you grow a Volume Group (think about it like a resizable disk),
with lvextend you grow a Logical Volume (like a resizable partition).

> 
> and 
> 
> it's look like ext3 not good choise for resizing filesystem because ext2,
> ReiserFS , xfs , jfs have more tools for extending ?! 

You can resize an unmounted ext3 with resize2fs (the ext2 resize tool).

The steps you need to carry out for growing your VG and LV(s) are:

# vgextend YourVGName /dev/dsk1 /dev/dsk2 # You did that already, right ?
# lvextend -L+WhateverGrowths /dev/YourVGName/YourLVName
# resize2fs /dev/YourVGName/YourLVName # Presumably this is ext2/3

Use the respective tools to resize any other filesystem type
(eg, resize_reiserfs).

> 
> 
> 
> 
> Best Regards ..
> Vahric MUHTARYAN 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen RedHat com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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