Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th February 2009, 09:51 PM
StefanRiemens Offline
Registered User
 
Join Date: Feb 2009
Posts: 1
lvm -- physical device removed, how to get partition read again?

Hello everybody,

I have made a very annoying mistake, which I hope is fixable... I have a notebook, of which i want to replace the harddisk (i currently have too less space). So, while running the f10 i used to have installed on the machine, i had the new harddisk attached as usb-disk. In a try to copy the lvm partition (my / partition), i added a partition to the current logical volume. The idea was to do a "migrate extents" from the "system-config-lvm" program. However, i decided not to do that, and repartitioned the new disk to be able to setup a "mirrored" logical volume. That way i hoped to achieve to keep my old disk intact. However, i forgot (stupid ) to remove the new disk's partitions from the logical volume.

Result -- I can't boot my f10 anymore, since the partition table is not recognised. I have mount problems since it misses physical extents (or whatever it looks for, infact). However, i know absolutely sure that there was no data at all on the new disk. so, I hope to be able to somehow make my system mount again, so i will be able to transfer my system to the new disk.

I'm currently running f10 live, since my system won't boot anymore. I have done a fair bit of googling, but couldn't find anything related. I hope this will be fixable, since I don't really feel like setting the system from the ground up again... I do have data backups, but no disk images (unfortanetely)

Any help is greatly appreciated, i will keep you posted!
Stefan

FWIW, here is the current output of some commands (run from the live disk), sda is the original disk, sdb is the new (repartitioned) harddisk:

[root@localhost liveuser]# vgscan
Reading all physical volumes. This may take a while...
Couldn't find device with uuid 'f5YKF1-RKci-TnwI-fuqn-7uhV-mkml-rDpgkI'.
Couldn't find all physical volumes for volume group VolGroup00.
Couldn't find device with uuid 'f5YKF1-RKci-TnwI-fuqn-7uhV-mkml-rDpgkI'.
Couldn't find all physical volumes for volume group VolGroup00.
Volume group "VolGroup00" not found
[root@localhost liveuser]# pvscan -v
Wiping cache of LVM-capable devices
Wiping internal VG cache
Walking through all physical volumes
Couldn't find device with uuid 'f5YKF1-RKci-TnwI-fuqn-7uhV-mkml-rDpgkI'.
Couldn't find device with uuid 'f5YKF1-RKci-TnwI-fuqn-7uhV-mkml-rDpgkI'.
PV /dev/sda5 VG VolGroup00 lvm2 [49.72 GB / 32.00 MB free]
PV unknown device VG VolGroup00 lvm2 [297.88 GB / 297.88 GB free]
Total: 2 [347.59 GB] / in use: 2 [347.59 GB] / in no VG: 0 [0 ]
[root@localhost liveuser]# fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa9a1b395

Device Boot Start End Blocks Id System
/dev/sda1 1 1529 12281661 27 Unknown
/dev/sda2 1530 8075 52579328 83 Linux
/dev/sda3 8076 8100 200812+ 83 Linux
/dev/sda4 8101 14593 52155022+ 5 Extended
/dev/sda5 8101 14593 52154991 8e Linux LVM

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa9a1b395

Device Boot Start End Blocks Id System
/dev/sdb1 26 9586 76798732+ 83 Linux
/dev/sdb2 9587 19147 76798732+ 83 Linux
/dev/sdb3 1 25 200781 83 Linux
/dev/sdb4 19148 28708 76798732+ 83 Linux

Partition table entries are not in disk order
Reply With Quote
Reply

Tags
device, lvm, partition, physical, read, removed

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
Removed pulseaudio - How to change default snd device sammy2ooo Hardware & Laptops 10 21st July 2008 03:31 PM
KVM + Shared Physical Device (NIC) itripn Using Fedora 5 3rd April 2008 03:38 PM
Trouble to mount a physical RAID device laxathom Hardware & Laptops 1 31st October 2006 01:04 AM
Unable to re-read the partition table (device or resource busy). tebbens Installation and Live Media 4 14th August 2005 09:41 PM


Current GMT-time: 06:01 (Wednesday, 19-06-2013)

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