Operating System - HP-UX
1838648 Members
2888 Online
110128 Solutions
New Discussion

Re: vxdisk list shows removed disks, how to remove these entries?

 
jamesps
Regular Advisor

vxdisk list shows removed disks, how to remove these entries?

If I do a
#vxdisk list

- - rootdisk02 rootdg removed was:c3t15d0
- - rootdisk03 rootdg removed was:c3t15d0


these entries show up beside my existing rootdg disk. I played with the vxdiskadm's option 3 (Remove a disk for replacement) and that's where they came from I know that :)

What I don't know is how to get rid of these entries since I don't have that c3t15d0 anymore?

Any ideas would be greately appreciated.
Thanks!
james
8 REPLIES 8
Sundar_7
Honored Contributor

Re: vxdisk list shows removed disks, how to remove these entries?

Did you try "vxdctl enable" ?
Learn What to do ,How to do and more importantly When to do ?
jamesps
Regular Advisor

Re: vxdisk list shows removed disks, how to remove these entries?

I don't have this device any more and I do not intend to replace back this disk. I would just need to let VxVM know about that.

A vxdisk list should show me only the only disk I have in the rootdg without showing the "removed" ones, right?

james
Mridul Shrivastava
Honored Contributor

Re: vxdisk list shows removed disks, how to remove these entries?

U try to manually remove the disks using
#vxdg -g rootdg rmdisk
If it doesn't work u just restart the services
#vxdctl disabe
#vxdctl enable
# vxvol start rootdg
I hope it'll solve ur issue
Time has a wonderful way of weeding out the trivial
Sivakumar TS
Honored Contributor

Re: vxdisk list shows removed disks, how to remove these entries?



Hi James,

You can get rid of this by just doing,

#vxdisk rm c3t15d0

you may not be able to do vxdiskunsetup.

With Regards,

Siva.
Nothing is Impossible !
Alzhy
Honored Contributor

Re: vxdisk list shows removed disks, how to remove these entries?

vxdg rmdisk roodisk02
vxdg rmdisk rootdisk03

vdisk rm c3t15d0

Hakuna Matata.
jamesps
Regular Advisor

Re: vxdisk list shows removed disks, how to remove these entries?

Thank you for all your replies but no luck yet:

#vxdg -g rootdg rmdisk rootdisk03
vxvm:vxdg: ERROR: Disk rootdisk03 is used by one or more subdisks

#vxdisk rm c3t15d0
vxvm:vxdisk: ERROR: Device c3t15d0: Device is in use

#vxdg rmdisk rootdisk02
vxvm:vxdg: ERROR: Disk rootdisk02 is used by one or more subdisks. Use -k to remove device assignment.

Alzhy
Honored Contributor

Re: vxdisk list shows removed disks, how to remove these entries?

send:

vxprint -ht -g rootdg
Hakuna Matata.
jamesps
Regular Advisor

Re: vxdisk list shows removed disks, how to remove these entries?

Figured it out, maybe this will help others too, here it is how:

First list the plexes and then take them offline:
#vxprint -pt
#vxmend off standvol-02

If a plex is mirrored then detach it (mine was):
#vxplex det standvol-02

Dissociate and remove the plex (force it):
#vxplex -o rm dis standvol-02
- to make this work, the plex should have either a DETACHED OFFLINE or a DISABLED REMOVED state.

standvol-02 above was just one of my plexes, of course i did the same with the rest.

Hth, thanks all for your replies!
james