Too bad it's not nearly complete
This particular article might have been useful, if it was correct...he did fine, with it, until he got to the part where he tells us how to destroy the volume group, after the logical volumes have been removed (his step was ok, but rmfs would have worked better, as it would have also removed the filesystem reference in /etc/filesystems):
In the section where he instructs on how to destroy the volume group, he indicates to:
varyoffvg volumegroupname
rmdev device
The first step, of course, is correct...one must bring the volume group offline before one can destroy it.
But "rmdev device"?
Which device?
The volume group, itself? That won't actually clear the VGDA on the disks, which means some additional minor hoops will have to be jumped through, when someone wants to add them to a volume group.
The disk(s) in the volume group? That won't remove the volume group, itself, or its references in the ODM.
The proper way, after the logical volumes have been removed and the volume group varied off, is "reducevg <vgname> <disk device>" for each disk in the volume group. This clears the VGDA on the disk, allowing it to easily be added to a new VG, later.
Once the last disk is removed from VG, the VG is removed from the system and ODM, leaving things much cleaner.
Unfortunately, I saw no obvious way to let the author know of alternate options, like a feedback/comment form, email link, etc.
Before I get flamed on this, I do realize that AIX is not one of the operating systems on which he usually writes...but before putting up even a rudimentary tutorial on a subject, am I that far off base in thinking the author should have done some due diligence, and researched the proper steps, prior to putting together a tutorial that was, in essence, incorrect?
|