Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-03-2005, 10:34 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 17

Rep: Reputation: 0
Convert LVM volumes to primary partitions?

So I had installed Windows and Linux both on my new workstation in partitions as follows:


[root@MHouse-Dell house]# fdisk -l /dev/sda

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        5222    41945683+   7  HPFS/NTFS
/dev/sda2            5223       15665    83883397+   7  HPFS/NTFS
/dev/sda3           15666       15690      200812+  83  Linux
/dev/sda4           15691       19452    30218265    f  W95 Ext'd (LBA)
/dev/sda5           15691       19452    30218233+  8e  Linux LVM

[root@MHouse-Dell house]# lvm
lvm> lvdisplay
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                fRL9Th-cLTm-ep7v-pPsu-0c1R-6YbG-Pa59hg
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                27.78 GB
  Current LE             889
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                UF7nPa-7WL6-u5yL-JY9I-y1u1-S4Cy-Hi2KlO
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.00 GB
  Current LE             32
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1


Now, I was trying to use Ghost 8.0 to back up my Linux partitions, and it can do a sector by sector copy on the Logical Volume, but can't read the files themselves. This takes up a lot of extra space and time.

I've put a second drive in my machine now, and I would like to make all the partitions primary by moving Windows to the second drive and having grub load it. This shouldn't be a big deal. However, I have no idea how to convert my logical volumes back into primary, and I really don't want to reformat and start over. It's taken me long enough to get Fedora set up the way I want.

I'm not exactly a newb, but I'm no veteran either, so please reply in small words and details. Thanks!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is it possible to convert primary partition into extended? foxy123 Linux - General 4 11-03-2005 05:19 AM
mount refusing to mount lvm volumes linuxmandrake Fedora 2 07-20-2005 06:06 PM
four primary partitions? linuxtesting2 General 6 05-04-2004 10:17 AM
How to convert partition to LVM? TheOther1 Linux - General 0 01-04-2004 12:29 PM
LVM Problem - vgimport - wrong number of physical volumes to import volume group Anything1 Linux - Software 0 09-06-2003 07:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:38 PM.

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