Sponsored Content
Full Discussion: Unable to extend file system
Operating Systems AIX Unable to extend file system Post 303001657 by bakunin on Tuesday 8th of August 2017 03:31:40 PM
Old 08-08-2017
Quote:
Originally Posted by dn888
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:

Code:
# lqueryvg -p <disk> -vPt

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:

Code:
ldeletepv -v <VGID> -p <PVID>

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:
 

10 More Discussions You Might Find Interesting

1. AIX

Can not extend a JFS file system

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)
Discussion started by: Can
4 Replies

2. UNIX for Advanced & Expert Users

Unable to clean up file system

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)
Discussion started by: eeidel
6 Replies

3. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

4. Solaris

Solaris file system unable to use available space

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)
Discussion started by: iris1
31 Replies

5. Emergency UNIX and Linux Support

Not able to extend ZFS file system

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)
Discussion started by: solaris_1977
5 Replies

6. Solaris

How to extend an existing file system using SVM in solaris 10

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)
Discussion started by: fretagi
1 Replies

7. AIX

Unable to extend volume group(VG)

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)
Discussion started by: murali969
15 Replies

8. AIX

/usr/sbin/extendvg: Unable to extend volume group

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)
Discussion started by: williamen
6 Replies

9. Solaris

Unable to create file system (newfs)

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)
Discussion started by: fretagi
11 Replies

10. Linux

Unable to extend LV

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)
Discussion started by: Gabriander
0 Replies
All times are GMT -4. The time now is 09:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy