- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why MC/sg package does not mount again ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 06:21 PM
03-16-2006 06:21 PM
the secondary node).
Today I am switching back and it gives an error:
Mar 17 08:04:46 - Node "orasrv2": Mounting /dev/vgtst/lvbackup at /tstnew/backup
vxfs mount: /dev/vgtst/lvbackup is already mounted, /tstnew/backup is busy,
or allowable number of mount points exceeded
ERROR: Function check_and_mount
ERROR: Failed to mount /dev/vgtst/lvbackup to /tstnew/backup
Mar 17 08:04:47 - Node "orasrv2": Deactivating volume group vgtst
Deactivated volume group in Exclusive Mode.
Volume group "vgtst" has been successfully changed.
I am very surprised by this:
I can't see why it could be busy as it was halted and bdf shows none of the FS.
Furthermore I can still start the package on the primary node.
And it has always run on the secondary node,
which is its default location. So it was allowed before why not now. It does not make sense.
What am I missing here ?
Cheers
pac
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 06:50 PM
03-16-2006 06:50 PM
Re: Why MC/sg package does not mount again ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 06:57 PM
03-16-2006 06:57 PM
SolutionYou can use fuser to do so. lsof can help too.
If you can't find any processes, just rename /tstnew/backup to /tstnew/backup_old, create a new /tstnew/backup and mount your file-system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:02 PM
03-16-2006 07:02 PM
Re: Why MC/sg package does not mount again ?
Sorry I went straight to it.
The package was halted.
It is that what the logs says,
I copied and pasted exactly from the log.
As you know the package control script
runs a loop for all the file mounts,
and it failed on the first one in the list,
and halted. Quite simple realy, only the
reason why appears not to be simple.
And yes I am very SURE, bdf showed up
nothing. (Anyway to my experience if a package is halted NOTHING SHOULD BE MOUNTED)
so I gather from your comment that I am not the only one who finds it bizar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:06 PM
03-16-2006 07:06 PM
Re: Why MC/sg package does not mount again ?
The only reason seems that either the mount point is busy or it lies under some other mounted file system.
fuser will help you to find out the first option and check the directory availablility abd physically mounting the file system on mount point to know a bit more about the error.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:17 PM
03-16-2006 07:17 PM
Re: Why MC/sg package does not mount again ?
I think there maybe some process make it busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:23 PM
03-16-2006 07:23 PM
Re: Why MC/sg package does not mount again ?
vxfs mount: /dev/vgtst/lvbackup is already mounted, /tstnew/backup is busy,
or allowable number of mount points exceeded
>>>>>>>
Busy means,
1) Some user is still accessing the mounted directory of files.
2) You are trying to mount it under a directory which is also mounted one.
Check points:
1) fuser -cuk
2) mount -p
will give mounted directory list. Are you seeing your directory as a child directory in any of them which are using NFS.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:42 PM
03-16-2006 07:42 PM
Re: Why MC/sg package does not mount again ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:53 PM
03-16-2006 07:53 PM
Re: Why MC/sg package does not mount again ?
Majority of you lean towards the idea
that a process is running on it.
Al the FS from the Mc/sg package are
mounted straight on top of the root /
And yes / root is always busy, UNIX IS RUNNING ON IT.
and as to fuser:
[root@orasrv2:]/etc/cmcluster/tstnew<>>> fuser -cku /dev/vgtst/lvbackup
/dev/vgtst/lvbackup: fuser: could not find file system mounted at /dev/vgtst/lvbackup.
So , I still can't see it how it is done:
Before the package is started, nothing is
is yet mounted except / and /tmp
(it isn't even in fstab)
The tip for moving _backup is a interesting one, I will try that anyway
Thanks for the mount -p command !!
I also found out that Mc/sg has a build in
fuser -cu command which can be activated
with FS_MOUNT_RETRY_COUNT > 0,
so I will try that as well.
Unfortunately I cannot experiment right
now, will try that later, and will
allocate generous points for your input.
More ideas always welcome :)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:56 PM
03-16-2006 07:56 PM
Re: Why MC/sg package does not mount again ?
run fuser on the mount point and not the file system device file so
#fuser -cu /tstnew/backup
After finding the processes run it with -k option to kill the processes.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 08:04 PM
03-16-2006 08:04 PM
Re: Why MC/sg package does not mount again ?
How would you
fuser -cu on /tstnew/backup
when it is not mounted and it cannot be
mounted ?
[root@orasrv2:]/<>>> fuser -cu on /tstnew/backup
on: fuser: could not find file system mounted at on.
[root@orasrv2:]/<>>>cmrunpkg -v tstnew
will not mount it either (see message above)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 08:12 PM
03-16-2006 08:12 PM
Re: Why MC/sg package does not mount again ?
Yes, it will not do that but will do it without -c option.
#fuser -u /tstnew/backup
will give you the PID of processes using mount point and not allowing the mount.
Also can you try mounting some other local file system here if possible to eliminate this probability.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 08:23 PM
03-16-2006 08:23 PM
Re: Why MC/sg package does not mount again ?
You were right
fuser -u /tstnew/backup
/tstnew/backup: 26240c(root) 28105c(root) 26239c(root)
These are rlogins, just sitting on
the directory.
Plain simple.
So , you were all right, just didn't see it.
Thanks a million to all of you !!!!!!