Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove Veritas device files

Status
Not open for further replies.

trifo

MIS
May 9, 2002
269
HU
Hi Experts!

I have an AIX box to make order on. The box ran 3 oracle instances, and 2 is no more used. They have - I think at least - Veritas managed raw devices in /dev/vx/rdsk directory.

/dev/vx/rdsk/rORCL.oni__d01
/dev/vx/rdsk/rORCL.oni__d02
/dev/vx/rdsk/rORCL.oni__i01
...and so on

I did not found any ODM entries about them. Nor any Veritas related commands or device drivers.

My question is, how to eliminate them from the system without making harm to other subsystems?

--Trifo
 
I am not sure what end result you require but it may be that you should just remove the device files. There may be some Veritas software installed on the system, if not you can probably safely remove them.

I do not know why Veritas would be used over the already excellent LVM commands anyway, except maybe if you are constantly shrinking filesystems (a bizarre requirement indeed.) And before all you Sun dudes say "yeah, but what about splitting mirrors for backup ?" It's easy to script this using native LVM.... ;)

Alternativley, just rebuild the OS.....



 
The entries you see are normally directories and refer to VERITAS Disk Group names (the imported ones). Inside the directories you find the raw devices corresponding to the VERITAS Volumes residing on the Disk Group

A "vxdg list" will show the Disk Groups. I would not remove the device files but remove the disk groups (if no longer needed)

1. stop the volumes: # vxvol stop <vol name>
2. rm disk groups: # vxdg destroy <disk group name>

This will remove all device files automatically.



@Muxproc: Why using VERITAS Volume Manager ?

Striping, Striping+Mirroring, Layered Volumes, RAID5, Volume Replication, Volume Layout conversion on the fly, etc, etc ...
The FS shrinking would not be a feature of Volume Manager, that's the VERITAS Filesytem.


/JLinhart
 
Thanks for the info. Even though I already destroyed the devices. My original goal was to free up PV-s, as they are no more used. (and also there was no any vx* commands found).

About LVM and VERITAS: As far as I know, IBM has the concept to make people use hardware to run raid configs. And it is true, software raid5 is not so effective. Raid0 and Raid1 is included in LVM (well, LVM Raid1 is not so good).

For me LVM is much more sympa then VERITAS. Well, I also have a Shark box to run RAID volumes on, thus it is easy for me.

--Trifo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top