Unix/Linux Go Back    


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

Vg not able access.

AIX


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-18-2017   -   Original Discussion by leecopper
leecopper's Unix or Linux Image
leecopper leecopper is offline
Registered User
 
Join Date: May 2017
Last Activity: 19 February 2018, 10:19 PM EST
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Vg not able access.

I created a new vg name oranewvg, created fs and mount it as /oranew
After the firmware upgrade on the ds5300, I am still able to see the vg as lsvg -o show still active, but I am not able to access the vg. lsvg oranewvg not working, varyon & varyoff also not working.
can some one advise??

Last edited by rbatte1; 05-19-2017 at 07:21 AM.. Reason: Added some formatting for clarity.
Sponsored Links
    #2  
Old Unix and Linux 05-19-2017   -   Original Discussion by leecopper
rbatte1's Unix or Linux Image
rbatte1 rbatte1 is offline Forum Staff  
Root armed
 
Join Date: Jun 2007
Last Activity: 19 February 2018, 11:57 AM EST
Location: Lancashire, UK
Posts: 3,487
Thanks: 1,518
Thanked 679 Times in 612 Posts
I've just posted a brief outline for disk management concepts on your other thread https://www.unix.com/unix-for-beginne...#post302997765

To help diagnose your issue, can you share the output (wrapped in CODE tags) for the following:-


Code:
lspv
lsvg -p oranewvg
lsvg -l oranewvg
df


Thanks, in advance,
Robin
Sponsored Links
    #3  
Old Unix and Linux 05-19-2017   -   Original Discussion by leecopper
leecopper's Unix or Linux Image
leecopper leecopper is offline
Registered User
 
Join Date: May 2017
Last Activity: 19 February 2018, 10:19 PM EST
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Thanks Robin,


Code:
lspv -o
oranewvg
oraclevg
backupvg
rootvg

Any other command to oranewvg it will hang...

df there mount point is not mount.

---------- Post updated at 10:38 PM ---------- Previous update was at 10:34 PM ----------

I am not sure why there is 2 same name mount point..
I try to use Smit rmfs,but not able to select the fs as well..
Is it the only way is we need to shutdown the server and set the mount point not mount when the server start?

Last edited by rbatte1; 05-19-2017 at 02:01 PM.. Reason: CODE tags
    #4  
Old Unix and Linux 05-19-2017   -   Original Discussion by leecopper
rbatte1's Unix or Linux Image
rbatte1 rbatte1 is offline Forum Staff  
Root armed
 
Join Date: Jun 2007
Last Activity: 19 February 2018, 11:57 AM EST
Location: Lancashire, UK
Posts: 3,487
Thanks: 1,518
Thanked 679 Times in 612 Posts
Could you post the output from lspv? I think you have posted output from lsvg only. Do the lsvg commands with flags cause a hang?

..... and please wrap the output in CODE tags. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)





Robin

Last edited by rbatte1; 05-19-2017 at 02:03 PM.. Reason: Added CODE tags tutorial
The Following User Says Thank You to rbatte1 For This Useful Post:
leecopper (08-10-2017)
Sponsored Links
    #5  
Old Unix and Linux 06-30-2017   -   Original Discussion by leecopper
splattty's Unix or Linux Image
splattty splattty is offline
Registered User
 
Join Date: Jun 2017
Last Activity: 31 July 2017, 4:41 AM EDT
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Sounds like a volume group lock, can be remedied with a varyonvg

I had this before after a disk subsystem failure and a drive showing as missing rather than active on a remote mirror. I had to use "-c" on the varyonvg though as it was a concurrent volume group

Run it as a background process and see if there are any sync processes running

HTH
The Following User Says Thank You to splattty For This Useful Post:
leecopper (08-10-2017)
Sponsored Links
    #6  
Old Unix and Linux 08-10-2017   -   Original Discussion by leecopper
leecopper's Unix or Linux Image
leecopper leecopper is offline
Registered User
 
Join Date: May 2017
Last Activity: 19 February 2018, 10:19 PM EST
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Hi Guys,
After a reboot done on the server, I am able to access the VG again, in fact while I am trying to shutdown the server it self, it hang and take long time till I need to force shutdown from HMC.
Thanks a lot guys.
Sponsored Links
    #7  
Old Unix and Linux 08-11-2017   -   Original Discussion by leecopper
bakunin's Unix or Linux Image
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 22 February 2018, 11:04 AM EST
Location: In the leftmost byte of /dev/kmem
Posts: 5,702
Thanks: 112
Thanked 1,642 Times in 1,207 Posts
Quote:
Originally Posted by leecopper View Post
Hi Guys,
After a reboot done on the server, I am able to access the VG again, in fact while I am trying to shutdown the server it self, it hang and take long time till I need to force shutdown from HMC.
Thanks a lot guys.
First off, i am glad you could resolve your issue. But: a reboot is (most times) not the way to resolve things. After all, we are not on Windows - we use a real OS with real error-correcting capabilities.

Most probably your issue came from a "VG lock". The SCSI-protocol (which is also used with FC-connected disks as "iSCSI") can lock a disks so that any other attempt to use it will fail. You need such locks for disks which are accessed from more than one system, like in clusters. Sometimes such a lock is placed wrongly and not removed so that it prevents further management of the disk. You need to break such a lock before continuing.
You do that by



Code:
varyonvg -bu <VG>

I hope this heps.

bakunin
The Following User Says Thank You to bakunin For This Useful Post:
leecopper (08-15-2017)
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access? kwliew999 Proxy Server 1 01-22-2015 04:36 AM
samba read write access to owner and no access to other users sahil_shine Solaris 1 10-17-2012 04:52 PM
Does my provider limit my internet access or somesites access? jao_madn IP Networking 2 05-06-2011 08:22 AM
kernel giving access for multiple users to access files jimmyuk UNIX for Dummies Questions & Answers 1 03-11-2010 01:28 PM
Need help to access/mount so to access folder/files on a Remote System using Linux OS S.Vishwanath UNIX for Dummies Questions & Answers 2 07-30-2001 09:17 AM



All times are GMT -4. The time now is 06:34 PM.