Sponsored Content
Full Discussion: Fedora 17 LVM Issue
Operating Systems Linux Fedora Fedora 17 LVM Issue Post 302817209 by mojoman on Wednesday 5th of June 2013 11:34:11 AM
Old 06-05-2013
Fedora 17 LVM Issue

Hello,

I tried to add more space to my Volume Group in Fedora 17 and the process seems to have borked: LVM did not restart. I booted into partition manager and deleted the new parition but that seems to have compounded the problem. Now when I try and restore the Volume Group I get this message:

Code:
 
root@localhost liveuser]# lvm vgcfgrestore vg_data 
  Couldn't find device with uuid tqSZYk-r4hy-Zj0A-mlqq-dFQ2-9X23-jq2Sup.
  Cannot restore Volume Group vg_data with 1 PVs marked as missing.
  Restore failed.

I know it is important to try and figure things out on your own so I found this info on the net about the UUID:

Code:
 Presuming that the metadata backups are intact, you need to "pvcreate -ff"
the physical volumes and run vgcfgrestore on each of them.
"vgscan ; vgchange -ay" should get you back to business afterwards.

I really don't want to mess up anything more as I would rather not loose all my data so if someone could post DETAILED steps as to what I have to do to handle this UUID problem I would appreciate it. We learn sometimes by breaking things and I realize now that I should not have deleted the partition: I should have just have restored the volume group.

Last edited by vbe; 06-05-2013 at 01:00 PM.. Reason: mv icode 2 code...
 

10 More Discussions You Might Find Interesting

1. Red Hat

Networking issue with Fedora 5

Hello all, Am new to the linux game and have successfully installed FC5 onto an Acer Veriton 5100 series (P3) pc. Am having to install some RedHat servers in a few weeks running SAMBA, so I thought it would be a smart idea to start learning (well a similar OS) of how the package hangs together... (3 Replies)
Discussion started by: Cameron
3 Replies

2. Red Hat

LVM Issue

Hi I have one server with RHEL 4 OS. in that storage has been configured through software LVM. now the server got crashed. I need to retreive the data which is in the LVM. Can anyone tell me how can i retreive it? By Rath (2 Replies)
Discussion started by: ratheeshp
2 Replies

3. Red Hat

Fedora 11 installation issue

Hi, I have installed fedora 11 Alpha i386 in my desktop. After installation and reboot my pc I got error says : Reading all physical volumes. This may take a while... Found volume group "vg_group" using metadata type lvm2 2 logical volume(s) in volume group vg_group now active mount :... (1 Reply)
Discussion started by: peac3
1 Replies

4. UNIX for Advanced & Expert Users

network connectivity issue between vista and fedora

Hi guys, I had two computer which is one with vista and other one with fedora and they are connected via one router. from vista to fedora is fine.. I can ping or connect via putty using Ip address but I couldn't connect putty using hostname/domain. If I typed in fedora the hostname,... (0 Replies)
Discussion started by: peac3
0 Replies

5. AIX

Disk I/O Issue using LVM

We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks. OS--AIX 5.3 (1 Reply)
Discussion started by: ukatru
1 Replies

6. Red Hat

Fedora 9 issue

Hi, I have dual OS on my system. Have XP and fedora 9. i would like to access windows partition from linux. I know we get a RPM package for that. But I am not able to find. Please can some help me on this. As well if we have FAT file system on windows, will that OS be accessible on... (1 Reply)
Discussion started by: prakash.kudreka
1 Replies

7. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

8. Red Hat

Fedora 16 (i686) DVD boot issue in x86 (32bit)

Hi, I'm using fedora for 5 years. recently i decided to install new version (16). after i reboot the computer and want to boot from dvd nothing happen's and system boot's from hard disk (i have setup the bios to directly boot from dvd-rom and my dvd-rom is ok). i have downloaded (again) fc16 dvd... (3 Replies)
Discussion started by: ba$h
3 Replies

9. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

10. UNIX for Advanced & Expert Users

How to shrink root file system (LVM) in Linux Fedora 9?

My root file system is of type LVM. i wanna shrink it but unable to do so. When i give the below command: resize2fs /dev/mapper/VolGroup00-VolLog00 10000M it messages that online shrink can't can't be done as the logical volume is mounted on /. i switched to single user mode by giving command:... (2 Replies)
Discussion started by: ravisingh
2 Replies
vxvmconvert(1M) 														   vxvmconvert(1M)

NAME
vxvmconvert - convert LVM volume groups to VxVM disk groups SYNOPSIS
vxvmconvert DESCRIPTION
vxvmconvert is a menu-driven program to convert an HP Logical Volume Manger (LVM) configuration to a Veritas Volume Manager configuration. This man page is a brief overview of vxvmconvert. Refer to the Veritas Volume Manager Migration Guide for a detailed description before using the conversion procedure. The vxvmconvert script is interactive and prompts you for responses, supplying defaults where appropriate. There is a Help facility at every prompt. Enter a question mark (?) at a prompt to display a context-sensitive help message. With vxvmconvert you can identify LVM volume groups, list disks, analyze volume groups for conversion and complete the conversion of LVM volume groups to VxVM disk groups. LVM configurations are converted at the volume group level. All disks used in a volume group are converted together. You cannot use vxvm- convert to convert unused LVM disks (those not part of an LVM volume group) to VxVM disks. To convert unused LVM disks, use pvremove to take the disk out of LVM control, then initialize the disk for VxVM use by using vxdiskadm (see pvremove(1M) and vxdiskadm(1M) for more information). vxvmconvert changes disks within LVM volume groups to VxVM disks by replacing the areas of the disks used for LVM configuration information and with the equivalent VxVM volume configuration information. Portions of the disks used for user data, such as file systems and data- bases, are not affected by the conversion. The conversion process changes the names by which your system refers to the logical storage, so must be done offline. No applications can access data in the volume groups undergoing conversion. You must unmount file systems using those volumes and shut down any applications, such as databases, that might use the volumes directly. OPERATIONS
Analyze LVM Volume Groups for Conversion Use this operation to analyze one or more LVM volume groups for conversion to use by VxVM. The analysis checks for problems that can prevent the conversion from completing successfully. It calculates the space required to add volume group disks to a Volume Manager disk group. More than one volume group may be entered at the prompt. A grep-like pattern may be used to select multiple volume groups. See the ``Limitations in Conversion'' section in the Volume Manager Migration Guide for more information. Convert LVM Volume Groups to VxVM Converts one or more LVM volume groups to one or more VxVM disk groups. This adds the disks to a VxVM disk group and replaces existing LVM volumes with VxVM volumes. vxvmconvert prompts you to name the VxVM disk group that replaces the LVM volume group being converted. A default is suggested at the prompt. For example, if you are converting a volume group vg08, vxvmconvert renames it as dg08. See to the sections ``Dealing with New Logical Volume Names'' and ``Tailoring your VxVM Configuration'' in the Volume Manager Migration Guide for more information. Rollback from VxVM to LVM Rollback reverts VxVM disk groups to LVM volume groups. vxvmconvert provides a limited snapshot capability for the LVM metadata in a converted volume group. A snapshot is a simple protection method to use during conversion. Caution! Do not use this operation if the VxVM disk group was modified since the conversion. See to the section ``Restoring LVM Volume Groups and Disaster Recovery'' in the Volume Manager Migration Guide for more informa- tion. List Disk Information Displays information about the disks on a system. You can obtain detailed information about a disk by entering a specific disk device address. List LVM Volume Group Information Listvg displays a list of LVM volume groups. You can obtain detailed information about an LVM volume group at a specific disk device address. SEE ALSO
pvremove(1M), vgcfgbackup(1M), vgrestore(1M), vxdisk(1M), vxdiskadd(1M), vxdiskadm(1M), vxintro(1M) Veritas Volume Manager Migration Guide VxVM 5.0.31.1 24 Mar 2008 vxvmconvert(1M)
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy