Discussion Locked

Can't delete logical volume in AIX 4.1.5

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I can't delete a logical volume from my AIX 4.1.5 system. Question marks appear next to the entry in smitty. I suspect some internal pointers to tables are not set consistently but there must be a way around the problem. I can assign a filesystem on top of the logical volume, then remove the file system but can not remove the logical volume.

11 replies

by gordon

I don't know anything of AIX, but it sounds like you haven't umount'ed the drive in question. If all the "stuff" is gone, you should be able to umount, then make file system, etc.

by yvlong2000

Perhaps the logical volume you want to delete
is on active state, if the volume is a paging
space,you must inactive it and reboot the system, then delete it.

by dtomko

All will be all right if you unmount volume first, then you can delete it.

by slam

Using smit first list the logical volumes...after you have located the volume you would like to delete attempt to modify it and it may clean up the tables - (do an increase or something to that effect)

Also try lslv volnam and see which volume group that it is in -

It's hard to tell without looking at it but try to umount it as someone previously said. It is probably showing the ??? because there are no file systems in it.

If there is a file system in it use fuser on it to see if something is writing to it.

hd1 jfs 25 25 1 open/syncd /home

Another thing you may want to check is if it is mirrored which is not uncommon. (JFS mirror)

Hope some of this helps - there may be other problems or possibilities.

Adam
-www.slam-corp.com

by millbrad

What you've got is an ODM corruption. Probably due to a missing physical volume from a volume group, or something similar. That's where the ??? come from.... unmatched entries in the ODM.
Suggestion #1: Call IBM support first. If you don't have a support contract....
Suggestion #2: Email me and I'll get you some very dangerous but effective utilities I wrote to clean up these all too common messes.

This discussion is closed to new replies.