I found the lv that has this disk, but when I try to remove it , I get the following error
[CODE]
vios:/home/padmin$ rmlvcopy lg_dumplv 1 0002ef4df616f969
0516-076 lreducelv: Cannot remove last good copy of stale partition.
Resynchronize the partitions with syncvg and try again.
0516-922 rmlvcopy: Unable to remove logical partition copies from
logical volume lg_dumplv.
vios:/home/padmin$
I hate to say it, but you are in deep kimchi. If you have any chance of reinstalling the VIOS - the virtual I/O server should hold no data itself anyway - this would probably be the best and cleanest recommendation.
As you get "5.3" from the oslevel command you are on a very old (and quite surely not any more supported) VIOS-version. The current versions are based on AIX 6.1. You can see the installed version either on the command line (the command is ioslevel) or from the HMC-GUI in the LPAR-listing display. This in itself is a danger and you should update ASAP, but i have a feeling you are going to tell me that this is not possible - right?
So you are bound to try your luck repairing the rootvg. The following is described in more detail at MichaelFelts page rootvg.net:
First you need the PVID and the VGID of the missing disk:
You need the displayed information later to delete the disk from the VG. Next remove the dump device which has allocated some PPs on the missing disk. Create a new dump device on the available disks if necessary.
Next you can remove the disk itself:
NOTE that even if this is "best practice" this is a surgical operation and a certain risk is involved. A productive system, though - let alone a VIOS - is not the place to try anything even remotely risky! Do yourself a favour and have current backups (preferably mksysb-images on a NIM-server) ready before you begin!
If you have the hardware to do it: the less risky way to correct this is to create a mksysb-image and edit the /image.data file before creating it (see the command mkszfile) for details). Then you restore this mksysb to some other hardware, take another mksysb and restore that to the original hardware, replacing the original. The advantage to this is that you can test, change and retest as long as you want before taking a final decision.
I hope this helps.
bakunin
These 2 Users Gave Thanks to bakunin For This Post:
Hi,
I am getting an error message when i try to increase the size of a filesystems
under AIX 4.3.3:
chfs: 0506-932 Can not extend a JFS file system with nbpi = 4096
and frag = 4096 past 134217728 (512 byte blocks).
-> Characteristics Journaled File System
... (4 Replies)
Hi,
Has anyone ever encountered the following scenario:
I am working on a SUN server with solaris 10 installed and veritas managing the filesystem. One of the file systems has become full:
df -kh /ossrc/dbdumps
Filesystem size used avail capacity Mounted on... (6 Replies)
Hi,
The solaris filesystem /u01 shows available space as 100GB, and used space as 6 GB.
The Problem is when iam trying to install some software or copy some files in this file system /u01 Iam unable to copy or install in this file system due to lack of space.
ofcourse the software... (31 Replies)
Hi All,
I have Solaris-10 configured with two non-global zones. All file-systems are mounted on global zone and data file-systems are mounted on non-global zone as lofs.
I have added 4 luns of 100 GB each and still not able to extend a file-system. This is production server, so I can not... (5 Replies)
Hi All
I want to extend this file system to 120Gb:
df -h /xyz
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb.
This file system is mounted on:
metastat d80... (1 Reply)
Would some help me on this below
I am trying to extend file system on AIX and however unable to extend the file system.
0516-306 extendvg: Unable to find physical volume 20 in the Device
Configuration Database.
0516-321 extendvg: Physical volume u01-lv is not configured.
0516-792... (15 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)
Hi
I have the following cenario:
I have requested a LUN from the NetApp to create a file system, and the netapp admin provide me with one as you can see below, but after following all the steps, I could not create a file system on the device:
# format
Searching for disks...done
... (11 Replies)
Hi all.
I have a Logical volume that I can't extend, with this error message:
server171:root:/root# lvextend -L +1024M -v /dev/aplic_vg/siteminderwa_lv
Finding volume group aplic_vg
Archiving volume group "aplic_vg" metadata (seqno 75).
Extending logical volume siteminderwa_lv to... (0 Replies)