System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Extend striped LV with a catch...

 
John Donovan
Regular Advisor

Extend striped LV with a catch...

I have a RHEL 4 server currently with 7 PV's in a striped LV. The task is to add the last available PV to the LV without striping it.

I see that this can be accomplished in the following Red Hat document, LVM Administrator's Guide, in the last paragraph of section 4.4.9: http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/stripe_extend.html

The command given is lvextend -iL -l+100%FREE vg/stripe1.

This fails with "L" not being a valid argument.

Thinking there may be a typo or something, I've tried without the "-i" switch, etc., without success.

I've looked in man pages, books, and google several ways, but haven't found the correct command arguments or an alternate.

Any ideas?

Thanks,
--donovan
"I have not failed. I've just found 10,000 ways that won't work." - Thomas Edison
1 REPLY
John Donovan
Regular Advisor

Re: Extend striped LV with a catch...

Apparently, I didn't try all options. Of course, it was the variation I wanted.

The "-iL" should read "-i1" as in the number "one".

This adds the final PV to the LV as a linear with the other PV's retaining their stripes.

:-)
"I have not failed. I've just found 10,000 ways that won't work." - Thomas Edison