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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does removing a disk with rmdev also delete data?

Status
Not open for further replies.

baggetta

Technical User
Feb 27, 2003
116
US
Got a problem with all of my VG groups. Looks like my ODM database is corrupt, yet all my filesystem are running okay with HACMP. If I remove the device and add it back, won't the data on the disks be deleted?
 
no, the data will still exist there. all you need to do after disk are removed (with rmdev -dl) is to cfgmgr and import VGs back to the system.
do remember VG's major numbers and at least one of logical disk PVID of each group to import it with the same VG name.

so,
varyoffvg VG
exportvg VG
rmdev -dl hdisk(X,Y,Z)
cfgmgr
importvg -V[vg_major_number] -y vg_name hdiskX
chvg -Qn -an vg_name
varyoffvg vg_name


and the same on the other cluster nodes.

r,.m.
 
okay, thanks for the info. Would you know why our system on node1 would work even if AIX is not seeing any of the devices (hdisks) yet, our HACMP environment and all our users and applications are running? IBM says that the kernal has the information in mem, and the ODM is on disk. Doing a reboot may fix the problem but I doubt it. Were all stumpped here on how our system is operational yet our node1 cannot see any disks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top