LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 07-06-2008, 12:42 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,503

Rep: Reputation: 118Reputation: 118
LXer: AIX Unix LVM Destruction Commands. Part Two of Two.


Published at LXer:

Looking at destruction commands for LVM on AIX. Part 2 of a 2 part post.

Read More...
 
Old 07-06-2008, 09:15 PM   #2
Freakdog
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Using LVM on AIX Unix. Part One Of No More Than Two. LXer Syndicated Linux News 0 07-05-2008 04:50 AM
LXer: Speaking UNIX Part 8: UNIX Processing LXer Syndicated Linux News 0 06-14-2008 04:51 AM
LXer: Monitoring and Display Commands For LVM On Linux And Unix LXer Syndicated Linux News 0 06-11-2008 02:50 PM
LXer: Optimize AIX 5L: Monitoring your CPU, Part 3 LXer Syndicated Linux News 0 05-16-2007 12:32 PM
LXer: Speaking UNIX, Part 4: Setting and managing permissions on UNIX LXer Syndicated Linux News 0 10-21-2006 01:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration