AIX, unassigning an lv

Posted on 2012-08-30
Medium Priority
Last Modified: 2012-08-30
I assigned an lv as follows

mkvdev -vdev lpar_lv -vadapter vhost100

Open in new window

How do I unassign an lv
Question by:Los Angeles1
LVL 13

Assisted Solution

IT_Crowd earned 400 total points
ID: 38352208
Does this command work for you?
rmlv lpar_lv

LVL 68

Accepted Solution

woolmilkporc earned 1600 total points
ID: 38352228

rmvdev -vdev lpar_lv

If you add "-rmlv" the underlying LV will be deleted as well.
I think this is also a possible answer to your other Q on how to delete an LV:

rmvdev -vdev lpar_lv -rmlv

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question