Romeo Theriault
2008-01-23 20:45:17 UTC
I am using Veritas Volume Manager 4.1 on Solaris 9. Disk c4t2d0s2 shows this
status:
# vxdisk list | grep c4t2d0s2
c4t2d0s2 auto:sliced - - error
# vxdisk list c4t2d0s2
Device: c4t2d0s2
devicetag: c4t2d0
type: auto
info: format=sliced,privoffset=1,pubslice=4,privslice=3
flags: online error private autoconfig
errno: Device path not valid
Multipathing information:
numpaths: 1
c4t2d0s2 state=enabled
Now here's the story, shortened. The disk used to have a vxfs filesystem on
it (which I was unaware of, previous employee put it there and it was no
longer being used). The server, which is using SVM for the localdisk, needed
more swap space so I created a partition on the drive which appeared to be
unused and then added the partition to the existing swap space. Worked well
and was pretty much end of story until I released that the drive used to be
used for a different purpose. Not a big deal but I would like to get rid of
the error state and remove the drive from Veritas's knowledge so it shows up
like the other local drives, which is:
c4t1d0s2 auto:none - - online invalid
I've tried this so far: Stopping swap usage on the drive and then `vxdisk rm
c4t2d0s2`, I then `vxdctl enable` but the drive still shows up in the
errored state.
Does anyone know how I can remove this drive from Veritas Volume Manager
Knowledge?
Thanks for any help.
Romeo
status:
# vxdisk list | grep c4t2d0s2
c4t2d0s2 auto:sliced - - error
# vxdisk list c4t2d0s2
Device: c4t2d0s2
devicetag: c4t2d0
type: auto
info: format=sliced,privoffset=1,pubslice=4,privslice=3
flags: online error private autoconfig
errno: Device path not valid
Multipathing information:
numpaths: 1
c4t2d0s2 state=enabled
Now here's the story, shortened. The disk used to have a vxfs filesystem on
it (which I was unaware of, previous employee put it there and it was no
longer being used). The server, which is using SVM for the localdisk, needed
more swap space so I created a partition on the drive which appeared to be
unused and then added the partition to the existing swap space. Worked well
and was pretty much end of story until I released that the drive used to be
used for a different purpose. Not a big deal but I would like to get rid of
the error state and remove the drive from Veritas's knowledge so it shows up
like the other local drives, which is:
c4t1d0s2 auto:none - - online invalid
I've tried this so far: Stopping swap usage on the drive and then `vxdisk rm
c4t2d0s2`, I then `vxdctl enable` but the drive still shows up in the
errored state.
Does anyone know how I can remove this drive from Veritas Volume Manager
Knowledge?
Thanks for any help.
Romeo