Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I remove a 'phantom' logical volume 1

Status
Not open for further replies.

marcmcconnell

Technical User
Apr 19, 2001
25
GB
On an IBM RS6000, I am having problems removing a logical volume. If I try to remove it through smit - I get an error "unable to find lv in the Device configuration database". Any ideas ? You can list the lv by doing a lsvg -l rootvg, but the TYPE is ??? instead of jfs.
 
Marc,

Well firstly did they have a JFS associated with it? if so does a stanza still exists in the /etc/filesystems file ? If you are not sure then look at the label field in the LVCB via:

getlvcb -AT <lvname>

The other possibility is that the definition for your vg is corrupted in the ODM you can either export/import or try:

syncvg -v <vgname>

If all else fails i.e. rmlv or smitty to remove use:

To try and delete the lv look at the LVCB of the lv in question and note the lvid field:

getlvcb -AT <lv_name>
ldeletelv -l <lvid>
syncvg -v <vgname>

N.B. This will only work if the lv has no allocated partitions i.e. if it is a ghost logical volume.

Best of luck and re-post any additional info.

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top