LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2010, 01:14 PM   #1
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
LVM question - move, resize.


Dear All.
I have kind of test partition, but I need lv_root on it. So I have:
Code:
    Using physical volume(s) on command line
  PV                   VG       Fmt  Attr PSize      PFree   Start    SSize     LV            Start  Type    PE Ranges          
  /dev/sda6  VolGroup lvm2 a-   29.73g 440.00m       0     6859     lv_root     0        linear  /dev/sda6:0-6858   
  /dev/sda6  VolGroup lvm2 a-   29.73g 440.00m  6859      128     lv_swap   0        linear  /dev/sda6:6859-6986
  /dev/sda6  VolGroup lvm2 a-   29.73g 440.00m  6987      512     lv_root     6859  linear  /dev/sda6:6987-7498
  /dev/sda6  VolGroup lvm2 a-   29.73g 440.00m  7499          2     lv_swap   128    linear  /dev/sda6:7499-7500
  /dev/sda6  VolGroup lvm2 a-   29.73g 440.00m  7501      110             0 free
I want to move "lv_swap" to the end of VG. I want to delete its segment, and rest of VG to use for "lv_root".

Can anyone give me suggestion how to do it.
Thanks

Last edited by nimnull22; 06-11-2010 at 01:34 PM.
 
Old 06-11-2010, 07:58 PM   #2
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
This howto did me a lot of good

http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html
 
1 members found this post helpful.
Old 06-12-2010, 04:29 AM   #3
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Original Poster
Rep: Reputation: 92
Thanks, I will try to do as suggested.
 
  


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
Can't move or resize windows WoodLark Slackware 11 04-04-2013 04:37 PM
Partition resize for LVM mhouston100 Linux - Server 9 06-07-2010 10:07 PM
Resize LV with LVM Slipstream2006 Linux - General 4 03-30-2007 09:47 AM
LVM Resize - After logical resize, FS size does not match physical size. spectra Linux - Software 6 11-01-2006 11:28 AM
Resize lvm and move /boot? tgm4883 Fedora 1 08-22-2006 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

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