I am having trouble with LVM and one of my physical volumes.
Using Ubuntu Desktop 14.04
I was trying to set up LVM across two disks (not containing the OS or Home).
First I created the initial Physical Volume, the Volume Group, and the Logical volume, and everything seemed fine. The problem occurred after trying to add the second disk. During the course of this, I managed to screw up the entire thing. Now I have a physical volume that is in a sort of limbo.
If I check the Volume Group, it says /dev/sda is in the volume group. See the end of the following:
However, if I check out the physical volume itself, it says it is not in any volume group. So right there it is not consistent, because the Volume Group reports it already contains /dev/sda, but /dev/sda reports that it is not in any Volume Group:
It now is impossible to reduce:
Still in use, so I tried the following to move the extants on the drive elsewhere:
This shows /dev/sda not in group. I can't even force removal:
and the file system is definitely not mounted.
There is also the matter of the metadata header checksum error which I constantly get.
At this point, I am trying to remove /dev/sda from the volume group lvmglr, so I can retry adding it again.
I am looking for any help I can get on this, because now I am stuck and can progress no further.
See what that shows. If all else fails you can look at running a vgcfgbackup and vgcfgrestore with choose the config in /etc/lvm that is good. The tree looks like this.
ls -R /etc/lvm
/etc/lvm:
archive backup cache lvm.conf
Dear community,
is it possible to add more volumes to actual LVM disk? I have the following:
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 120G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 ... (0 Replies)
Scenario1:
VG00 lvm,not mirrored,2 disk of 36GB vg size
VG00 size is under 30G.
Is possible to remove a disk of 36GB and replace "on fly"
with a disk of 300GB on VG00?
Thanks (6 Replies)
Hi guys,
I would like to ask your opinion about my theory, how to fix my broken LVM without risking any data loss.
I use Archlinux at home. I just love this distro, even it gives me a lots of work (particularly after system updates).
Basic system spec:
AMD FX(tm)-6100 Six-Core Processor... (1 Reply)
Hi
I am new on your forum, because I need some help.
I have a server with debian and proxmox 2.
The HardDisk is broken.
I am in rescue mode, and I can't mount LVM partition to recover my backups.
What I've already done :
# fdisk -l
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255... (0 Replies)
Hi, I am trying to install Solaris 11 on an X86 machine.
I am using the text install iso image burned to an optical disk.
The system contains a single 500G SATA drive.
When the system attempts to detect local disks, it reports that the disk only has a capacity of 8GB.
How do I get... (2 Replies)
Hi all,
Fedora 17, 64bit
Ubuntu 12.04 desktop 64bit
HD 160G
I installed Ubuntu 12.04 on the HD first taking up the whole disc. Later I added/installed Fedora 17 selecting the "Shrink" option and save the bootloader on /dev/sda1 to make them dualboot. Installation is successful with... (0 Replies)
Requirement to remove a faulty mirrored disk from hp-ux LVM
<root@pdwp1s>/etc # vgdisplay -v /dev/vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't... (9 Replies)
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)
Hello
I'm working on AIX 6.1. I inherited something I do not know and now I need to bring it into the line.
# df -m
Filesystem MB blocks Free %Used Mounted on
/dev/hd4 | 256.00 | 87.09 | 66% /
/dev/hd2 | 4608.00 | 82.45 | 99%... (11 Replies)