Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove diskgroup

SOLVED
Go to solution
hua_1
Frequent Advisor

how to remove diskgroup

A: I make a diskgroup with the following step:
1.voldisksetup -i dsk20
2. voldg init dg20 dsk20
but the disk is "sliced" type,and i should change it to "simple" type;
B: if i use "voldisksetup -i dsk20c" then i can get "simple" type disk,
C: i should remove the diskgroup dg20, and reinitializ the disk;but i don't how to remove the diskgroup :"dg20"

dsk65 sliced dsk65 dgzy21 online
10 REPLIES
Venkatesh BL
Honored Contributor

Re: how to remove diskgroup

You could use "voldg deport " for this purpose.
hua_1
Frequent Advisor

Re: how to remove diskgroup

i use "voldg deport dg20", but the dsk20 cannot be reused. there is only one dsk20 in this diskgroup.i cannot "rmdisk"the dsk20, because dsk20 is the last one disk in this diskgroup. how to reuse dsk20??
thanks for u advice.
Venkatesh BL
Honored Contributor

Re: how to remove diskgroup

I am not sure that I understand the situation. I assume that 'voldg deport' worked. What would you like to do now?

Are you saying that "voldg init " did not work?
hua_1
Frequent Advisor

Re: how to remove diskgroup

i want to change the lsm disk type from "slice" to "simple",
the "voldisksetup -i dsk20" make "slice disk"
the "voldisksetup -i dsk20c"makes "simple disk".
after dg20 deported, and i run "voldisksetup -i dsk20c", error comes.
how to put dsk20 to its original state?
should i run "voldg flush dg20"?
or "disklabel -s dskc LSMsimple"
or else?

Venkatesh BL
Honored Contributor

Re: how to remove diskgroup

Ok...I am not sure what error you get when using 'voldisksetup'. But, you can try removing the disk from LSM control (this will make the disklabel as _unused_) and then try putting the disk back under LSM control.

I wouldn't suggest using 'disklabel' directly in this case, as it may cause inconsistency in the LSM database.

hua_1
Frequent Advisor

Re: how to remove diskgroup

very nice to receive ur advice.
how to remove the disk from LSM control? use "voldg flush" or other ?


<>
Venkatesh BL
Honored Contributor
Solution

Re: how to remove diskgroup

After deporting the disk group, use:
# voldisk rm ; to remove the disk from LSM control.

You can add the disk back to LSM using 'voldisksetup'
Michael Schulte zur Sur
Honored Contributor

Re: how to remove diskgroup

Hi,

this procedure is described in the lsm doc 5.2.4
You could also use dxlsm.

greetings,

Michael
hua_1
Frequent Advisor

Re: how to remove diskgroup

thank u very much for ur help.

still i have another question, pls see:http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=736381
hope u can give me more help.


thanks!
mmain_1
Occasional Advisor

Re: how to remove diskgroup

hello hua:

soultion project:
#voldg list
#voldg deport dg20
#voldisk offline dsk20
#voldisksetup -i -F dsk20g
#voldisk online dsk20g
#voldisk list