01-05-2015
Unfortunately, a disk added to a pool that way cannot be removed.
Your only option is to backup your data, rebuild the pool properly and reimport your data.
This User Gave Thanks to jlliagre For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
I had a pool which was exported and due to some issues on my SAN i was never able to import it again. Can anyone tell me how can i destroy the exported pool to free up the LUN. I tried to create a new pool on the same pool but it gives me following error
# zpool create emcpool4 emcpower0c... (0 Replies)
Discussion started by: fugitive
0 Replies
2. Solaris
I am not seeing anyway to remove a LUN from a Zpool...
Am I missing something? or do i have to destroy the zpool and recreate it? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
3. Red Hat
Hi Everyone,
I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Discussion started by: bobby320
2 Replies
4. AIX
Hi
I have one of the disk missing in my NIMVG. My doubt is can I remove this hdisk2 online ? few of the file systems seems to be spread over 7 PV's. that's why i'm worried. Can someone suggest if I can replace this disk online. Also how to check if there is some data present in hdisk2 alone... (2 Replies)
Discussion started by: newtoaixos
2 Replies
5. Solaris
Hi ,
One of my zone went down and when i booted it up i could see the pool in degraded state with some check sum errors . we have brought the pool online after scrubbing. But few files are showing this error
Bad exchange descriptor
Please let me know how to remove these files (2 Replies)
Discussion started by: chidori
2 Replies
6. Solaris
Hi,
Quick question.
I have a data zpool that consists of 1 disk.
pool: data
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
c0t50002AC0014B06BEd0 ONLINE... (2 Replies)
Discussion started by: general_lee
2 Replies
7. AIX
Dear All,
I created a new partition through "Integrated Virtualization Manager" but there have an error when I added a new disk to the partition. The disk already created without any issue,
Below error is to add the disk to the partition
An error occured while modifying the assignments... (5 Replies)
Discussion started by: lckdanny
5 Replies
8. Solaris
Hello,
I need some help in recovering ZFS pool. Here is scenerio. There are two disks -
c0t0d0 - This is good disk. I cloned it from other server and boot server from this disk.
c0t1d0 - This is original disk of this server, having errors. I am able to mount it on /mnt. So that I can copy... (1 Reply)
Discussion started by: solaris_1977
1 Replies
9. Solaris
issue,
I had a zpool which was full
pool_temp1 199G 197G 1.56G 99% ONLINE -
pool_temp2 199G 196G 3.09G 98% ONLINE -
as you can see, full
so I replaced with a larger disk.
zpool replace pool_temp1 c3t600144F0FF8BA036000058CC1DB80008d0s0... (2 Replies)
Discussion started by: rrodgers
2 Replies
10. Solaris
On an OmniOS server, I removed a single-disk pool I was using for testing.
Now, when I run zpool import it will show it as FAULTED, since that single disk not available anymore.
# zpool import
pool: fido
id: 7452075738474086658
state: FAULTED
status: The pool was last... (11 Replies)
Discussion started by: priyadarshan
11 Replies
LEARN ABOUT CENTOS
vgcfgrestore
VGCFGRESTORE(8) System Manager's Manual VGCFGRESTORE(8)
NAME
vgcfgrestore - restore volume group descriptor area
SYNOPSIS
vgcfgrestore [-d|--debug] [-f|--file <filename>] [--force] [-l[l]|--list] [-h|--help] [-M|--metadatatype 1|2] [-t|--test] [-v|--verbose]
VolumeGroupName
DESCRIPTION
vgcfgrestore allows you to restore the metadata of VolumeGroupName from a text backup file produced by vgcfgbackup. You can specify a
backup file with --file. If no backup file is specified, the most recent one is used. Use --list for a list of the available backup and
archive files of VolumeGroupName.
OPTIONS
See lvm(8) for common options.
-l, --list
List files pertaining to VolumeGroupName List metadata backup and archive files pertaining to VolumeGroupName. May be used with the
-f option. Does not restore VolumeGroupName.
-f, --file filename
Name of LVM metadata backup file Specifies a metadata backup or archive file to be used for restoring VolumeGroupName. Often this
file has been created with vgcfgbackup.
--force
Necessary to restore metadata with thin pool volumes.
WARNING: Use with extreme caution. Most changes to thin metadata cannot be reverted. You may lose data if you restore metadata
that does not match the thin pool kernel metadata precisely.
REPLACING PHYSICAL VOLUMES
vgdisplay --partial --verbose will show you the UUIDs and sizes of any PVs that are no longer present. If a PV in the VG is lost and you
wish to substitute another of the same size, use pvcreate --restorefile filename --uuid uuid (plus additional arguments as appropriate) to
initialise it with the same UUID as the missing PV. Repeat for all other missing PVs in the VG. Then use vgcfgrestore --file filename to
restore the volume group's metadata.
SEE ALSO
lvm(8), vgcreate(8)
Sistina Software UK LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) VGCFGRESTORE(8)