09-13-2014
run the following
pvscan
vgscan
lvscan
vgs
lvs
pvs
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
/etc/lvm/archive:
vg_root_00000-1774443783.vg
/etc/lvm/backup:
vg_root
/etc/lvm/cache:
10 More Discussions You Might Find Interesting
1. HP-UX
Hi dear(s)
Can u explain how to add a disk through lvm with commands.
I need to add a 9 gb scsi HS disk to a Hp D class 9000 server. (2 Replies)
Discussion started by: sreekumar.R
2 Replies
2. AIX
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)
Discussion started by: michalwu
11 Replies
3. AIX
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
4. HP-UX
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)
Discussion started by: Shirishlnx
9 Replies
5. Linux
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)
Discussion started by: satimis
0 Replies
6. Solaris
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)
Discussion started by: jpoc
2 Replies
7. Filesystems, Disks and Memory
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)
Discussion started by: pppplu
0 Replies
8. UNIX for Advanced & Expert Users
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)
Discussion started by: lyynxxx
1 Replies
9. HP-UX
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)
Discussion started by: Linusolaradm1
6 Replies
10. UNIX for Advanced & Expert Users
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)
Discussion started by: Lord Spectre
0 Replies
LEARN ABOUT DEBIAN
vgreduce
VGREDUCE(8) System Manager's Manual VGREDUCE(8)
NAME
vgreduce - reduce a volume group
SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi-
calVolumePath...]
DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group.
OPTIONS
See lvm for common options.
-a, --all
Removes all empty physical volumes if none are given on command line.
--removemissing
Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal
operation of the volume group (new logical volumes may again be created, changed and so on).
If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove
them manually, you can run this option with --force to have vgreduce remove any partial LVs.
Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts
that lie on disks that are still present.
If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti-
vating your logical volumes with --partial as described in lvm (8).
SEE ALSO
lvm(8), vgextend(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREDUCE(8)