LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2012, 01:32 PM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
lvreduce/lvextend vs lvresize


Hi

What is the difference in using lvreduce/lvextend vs lvresize ?

Best regards
 
Old 06-04-2012, 12:47 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

All three are symlinks to LVM for as far as I can tell. The only difference, in my opinion, is that lvresize can be used for both operations (shrinking and/or extending) while lvreduce / lvextend can only be used for one option, reducing / extending respectively. If there is something more to it, I'd love to know too. Always eager to learn.

Kind regards,

Eric
 
Old 06-04-2012, 01:03 AM   #3
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Found one little difference:
lvreduce as the only one of the three commands has the -f option to force operation. At least according to the man page. Cheered to soon when you do a {lvreduce;lvextend;lvresize} --help all three have the -f option
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lvextend? sachinh Linux - General 3 09-22-2009 07:25 AM
messed up an fs with lvreduce ic_torres Linux - Newbie 2 03-30-2009 04:17 AM
lvextend - where's my data? zdenisl Linux - Software 4 05-13-2006 08:36 AM
lvresize skatta33 Red Hat 2 05-04-2006 08:09 AM
lvresize (lvm) equinox Fedora 0 01-27-2005 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration