Fedora Linux Support Community & Resources Center
  #1  
Old 18th November 2011, 04:32 PM
theholylancer Offline
Registered User
 
Join Date: Nov 2011
Posts: 1
windows_7firefox
Fedora 8 (2.6.24.3-34.fc8) /boot on LVM conversion to non LVM

Hello all,

I have an old fedora box with some custom compiled VFTP stuff that allows it to interacts nicely with our AD that needs to be P2Ved into a ESXi environment.

On using VMware converter, it gave us a error of cannot create virtual machine (vague... thanks VMware) and instead of buying into the per incident support, I tried to find a solution my self.

Now on this post (at the bottom)

http://communities.vmware.com/message/1671420

I saw that someone said the converter will not work if we got /boot on a LVM. I checked our fdisk and mount and lo and behold it is on a LVM.

Now, being a total linux noob (this is a intern job and I usually use VMware environment with supported OSes), I would love to have some advice or help on how exactly to do this conversion in fedora, as the OP seems to have gentoo installed rather than fedora. Hopefully the commands will work, but just wanted to make sure before I took down a production system...

Or, if anyone know a way to P2V this thing with /boot on LVM with another tool (paid or not) then let me know too. Even P2V into say Xen or something, then to VMware will work as well.

Thanks.

PS, I have some experience with Ubuntu and CentOS, and I never seen any fdisk -l that shows "Disk /dev/dm-1 doesn't contain a valid partition table" is that part of the LVM or is there some thing else going on?


Our fdisk:

fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1cbe1cb7

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 36472 292760527+ 8e Linux LVM

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1cbe1cb7

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 25 200781 83 Linux
/dev/sdb2 26 36472 292760527+ 8e Linux LVM

Disk /dev/sdc: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00067fb4

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 24792 199141708+ 83 Linux

Disk /dev/dm-0: 300.0 GB, 300000000000 bytes
255 heads, 63 sectors/track, 36472 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1cbe1cb7

Device Boot Start End Blocks Id System
/dev/dm-0p1 * 1 25 200781 83 Linux
/dev/dm-0p2 26 36472 292760527+ 8e Linux LVM

Disk /dev/dm-1: 205 MB, 205599744 bytes
255 heads, 63 sectors/track, 24 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 299.7 GB, 299786780160 bytes
255 heads, 63 sectors/track, 36447 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 297.6 GB, 297661366272 bytes
255 heads, 63 sectors/track, 36188 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-4 doesn't contain a valid partition table


our mount:

mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/mapper/pdc_ccchfhahbap1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdc1 on /media/backup type ext3 (rw)
/ftp on /home/admin/ftp type defaults (rw,bind)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)

our fstab:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sdc1 /media/backup ext3 defaults 0 0
/ftp /home/admin/ftp defaults bind 0 0


related LVM info:

lvm pvs
PV VG Fmt Attr PSize PFree
/dev/dm-2 VolGroup00 lvm2 a- 279.19G 32.00M

lvm vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 279.19G 32.00M

lvm lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
LogVol00 VolGroup00 -wi-ao 277.22G
LogVol01 VolGroup00 -wi-ao 1.94G
Reply With Quote
Reply

Tags
334fc8, conversion, fedora, lvm, or boot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
jgp to pdf conversion nissan.bakish Using Fedora 3 24th November 2008 08:09 PM
m4p to mp3 conversion? poblano Using Fedora 1 29th August 2008 03:48 AM
WMA to MP3 conversion leigh123linux Using Fedora 0 19th November 2006 02:31 AM
VHS to VCD conversion iamroot Wibble 10 4th May 2006 08:26 AM
Video Tape Conversion Project On Fedora?? treedstang Hardware & Laptops 0 7th July 2005 03:39 AM


Current GMT-time: 04:28 (Saturday, 20-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Creek Side - Stockholm-Arlanda Airport (ARN) Travel Photos on Instagram - Marina of Koper Travel Photos - Te Whiti Park Instagram Photos - Texas State Fair Photos on Instagram