xfs
[Top] [All Lists]

Re: XFS + LVM + Epanding; shrinking XFS??

To: "Martin K. Petersen" <mkp@xxxxxxxxxxxxx>
Subject: Re: XFS + LVM + Epanding; shrinking XFS??
From: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Date: Thu, 10 May 2001 11:24:06 -0500 (CDT)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <yq1heytfcxq.fsf@jcb.mkp.net>
Sender: owner-linux-xfs@xxxxxxxxxxx
Ok. I understand this in its entirety. This is what I believed to be the
proper behaviour, but someone I had working on doing some of this kept
saying that he couldn't do it. I think he wasn't doing nearly enough work
and just wanted everything done with 1 command. I know it's not so, we use
Veritas currently, and at the command line, it's just as much work. Thanks
for all the help. It will go a long way in our proof of concept!

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@xxxxxxxxxxxxxxx

On 10 May 2001, Martin K. Petersen wrote:

> >>>>> "Austin" == Austin Gonyou <austin@xxxxxxxxxxxxxxx> writes:
>
> Austin> Seems a bit odd here if I want to create a striped set, it
> Austin> seems that you must create several "groups" of single disks
> Austin> and then when using lvcreate stripe those "Groups". Thoughts?
>
> Nope.  A volume group is a set of disks that you decide to put
> together for administrative purposes.  Usually a either the internal
> disks or an external disk array.  Grouping disks makes it easier to
> move them between machines.  And you might have different requirements
> for different types of data.
>
> A volume group consists of physical volumes (PVs) which are physical
> disk partitions in most cases.
>
> Each PV is chopped into fixed-size chunks (Physical Extents).  Default
> is 4MB.  See the vgcreate manpage for more info.
>
> When you create a logical volume you have two choices:
>
> If you don't specify striping parameters, the allocator will pick
> whatever free PEs it feels like and use those.  It will round the size
> you specify for your partition to a PE boundary.
>
> If you do specify striping parameters, the allocator will interleave
> the PEs spreading out your logical volume over the available PVs.  And
> it will do striping with your preferred stripe size on top of those
> chunks.
>
>
> I suggest you read the LVM Howto:
>
>         http://sistina.com/lvm/doc/lvm_howto/index.html
>
>
> And for a brief hands-on striping setup, there's the blurb I wrote for
> use with XFS way back.  Note that this was written before I
> implemented the LVM interface, so you can't see mkfs.xfs extract
> stripe info from the logical volume in that document.  But that works
> without user intervention these days.
>
>         /usr/share/doc/xfsprogs/README.LVM
>
>


<Prev in Thread] Current Thread [Next in Thread>