pvremove(1M)pvremove(1M)NAME
pvremove - remove LVM data structure from a physical volume
SYNOPSIS DESCRIPTION
The command clears the LVM data structure on a disk, so that it is no longer an LVM physical volume. The device may then be used by the
file system or by other volume managers.
The operation is denied if pv_path is assigned to a volume group. The command only clears the LVM data structure on a disk if the disk
does not belong to a volume group. This avoids accidentally removing a valid physical volume under a volume group. If the physical volume
to be removed belongs to a volume group, use the command to first remove the volume group associated with the physical volume.
Arguments
recognizes the following arguments:
pv_path The character (raw) device path name of a physical volume.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
EXAMPLES
Remove LVM data structure on the physical volume
SEE ALSO lvremove(1M), vgremove(1M), intro(7), lvm(7).
pvremove(1M)
Check Out this Related Man Page
PVREMOVE(8) System Manager's Manual PVREMOVE(8)NAME
pvremove - remove a physical volume
SYNOPSIS
pvremove [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [-f[f]|--force [--force]] [-y|--yes] PhysicalVolume [PhysicalVol-
ume...]
DESCRIPTION
pvremove wipes the label on a device so that LVM will no longer recognise it as a physical volume.
OPTIONS
See lvm(8) for common options.
-ff, --force --force
Force the removal of a physical volume belonging to an existing volume group. Normally vgreduce(8) should be used instead of this
command. You cannot remove a physical volume which in use by some active logical volume.
-y, --yes
Answer yes to all questions.
SEE ALSO lvm(8), pvcreate(8), pvdisplay(8), vgreduce(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVREMOVE(8)
On hp im trying to figure out if we have alt_boot setup, basically if the root disk(physical disk) goes bad, I can bring up an alt physical disk with the same filesystems as the root disk that went bad, i dont think this is the same as mirroring, as the alt_disk would be inactive unless the root... (11 Replies)
Hi, First post. I am not to experienced in the Unix or HP-UX world but I'm learning.
We have some problem with a HP rx4640 server. During boot it states the following:
Checking for LVM volume groups and Activating (if any exist)
Volume group "/dev/vg00" has been successfully changed.
vgchange:... (7 Replies)
Hi everybody,
I am quite new in AIX and I want to have an advice on my problem.
I want to move the content of one disk (which has HW problems) to a new one.
I use LVM and the faulty disk is one logical volume.
I understand that if I define a new logical volume (same size) on a new disk, I can... (8 Replies)
Hey guys im trying fbackup, what kind of device should be used for the output. i tried to put the output into a disk that i LVM and to /tmp but it wont work, theres an error saying that its not a valid device for backup. (14 Replies)
Hello
I have a box with aix 5.3
if I type lsvg -l rootvg all my filesystems are sync except one
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 ... (16 Replies)
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)
Hello,
I am a french computer technician, and i speak English just a little.
On Aix 5.3, I encounter a name conflict logical volume on two volume group.
The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM
root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Hi all
I am working on a scenario to safely mount a SAN volume from a RHEL 5 host (HOSTA) to another RHEL 5 host (HOSTB) in case if HOSTA crashes.I have used LVM vgexport and vgimport utilities which are not helpful in case of system crash.
Everytime you have to deactivate volume groume on HOSTA... (7 Replies)
I would like to konw wheather below steps are sufficient for mirroring rootvg.
extendvg rootvg hdisk1
mirrorvg rootvg
bootlist -m normal hdisk0 hdisk1
bosboot -ad hdisk0
bosboot -ad hdisk1
or anything needs to be added. (7 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)
Our SAN administrator decided to unpresent then destroy LUN's we were actively using as a volume group (all PV's in said volume group). Now every time I do a pvscan or whatever it complains about I/O errors trying to access those PV's. How do I get it to forget the VG existed completely? vgreduce... (7 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)
Dear Expret,
Help me about my issue,
I trying add new disk to volume Group but error:
step add new disk to volume group.
1. ~Change a Volume Group
Add a Physical Volume to a Volume Group
Remove a Physical Volume from a Volume Group
Reorganize a Volume Group... (6 Replies)
Hello,
I am unable to remove the disk, whenever i remove the disk using
rmdev -dl hdisk2
or
rmdev -Rdl hdisk2
the disk appears back when i run
cfgmgr
but unable to create any volume group on it
# mkvg -y foovg hdisk2
0516-008 /usr/sbin/mkvg: LVM system call returned an unknown
... (20 Replies)