The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
tar -xvf is showing error Renjesh SUN Solaris 10 04-17-2008 03:50 AM
cron job showing rc=1 msg Chaitrali Shell Programming and Scripting 1 11-12-2007 07:14 AM
Posts not showing up cfajohnson Post Here to Contact Site Administrators and Moderators 1 06-16-2007 11:27 AM
Showing that something is deleteing nhatch Shell Programming and Scripting 1 05-06-2003 09:16 AM
ps -ef not showing all info nhatch UNIX for Dummies Questions & Answers 2 12-24-2002 11:36 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-30-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 350
san lv showing old fs

Hi All,

I have been working with two AIX with san and this is the first I got this minor problem on my third AIX. The san/hdisk was recreated so many times because of this problem. When I created a new vg and fs. The fs will be mounted/unmounted properly but if I query the fs on a vg with this "lsvg -l vg", the fs that will show will be the previous lv that I created but the mounted fs is the new, even with df, I will see the new lv/fs. Even when I cd to the new fs, it will change to it, but if I cd to the old fs, it will give me error with no such file or directory.

Why is that? Is my ODM corrupted?

Thanks in advance,
itik
  #2 (permalink)  
Old 05-01-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,617
Quote:
Originally Posted by itik View Post
Why is that? Is my ODM corrupted?
At least it sounds like that. Did you delete the old VG prior to creating it anew? Try the following: "varyoffvg" the VG in question, then "exportvg" it to completely get it out of the system. Delete the respective hdisk devices. Edit /etc/filesystems to get rid of the old filesystem entries.

(Ah, before i forget: before you do any of this make sure you have a working backup - this is all *very* destructive and *very* finally so.)

Then create the SAN shares anew, run "cfgmgr" and only then create a new VG and the filesystems.

I hope this helps.

bakunin
  #3 (permalink)  
Old 05-07-2008
indulis indulis is offline
Registered User
  
 

Join Date: May 2008
Posts: 4
Multipathing?

If you don't have multipathing set up properly for the SAN the AIX system may see the old FS via the old path.

Also I dont think exportvg is destructive. It just cleans out the AIX ODM. You can always do an "importvg" to bring the VG back, just point it to the hdisk. I use this to migrate the VG from one AIX server to another. Data is still there on disk.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0