Operating System - HP-UX
1833772 Members
2012 Online
110063 Solutions
New Discussion

Remove a lv on Service Guard

 
SOLVED
Go to solution
castro_2
Regular Advisor

Remove a lv on Service Guard

How can I do to remove a file system/logical volume, that belows a vg in a cluster (service guard)
3 REPLIES 3
Kent Ostby
Honored Contributor
Solution

Re: Remove a lv on Service Guard

There is a good ITRC document for removing LVOLS:

UMCSGKBRC00010152
http://www1.itrc.hp.com/service/cki/search.do?category=c0&mode=text&searchString=UMCSGKBRC00010152&searchCrit=allwords&docType=EngineerNotes&search.x=19&search.y=9

For a Filesystem, you'd also have to remove the FS entry.

Best regards,

Kent M. Ostby
+
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Mel Burslan
Honored Contributor

Re: Remove a lv on Service Guard

first off, I would strongly suggest bringing down the package before doing this. Although it is not absolutely necessary, it may save you a lot of headaches.

After that,find the control file of your package, usually under

/etc/cmcluster//.cntl

edit this file and find the line which looks like:

LV[0]="/dev/vg01/lvol1"; FS[0]="/opt/oracle"; FS_MOUNT_OPT[0]="-o delaylog,largefiles"; FS_TYPE[0]="vxfs"

associated with the one you want to remove.
delete this line
copy the cntl file to the other node members.

then bring the package back up.

hope this helps
________________________________
UNIX because I majored in cryptology...
castro_2
Regular Advisor

Re: Remove a lv on Service Guard

They answer the solution.

Thanks