- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Misleading message while mounting lvm
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
Discussions
Discussions
Forums
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
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-10-2009 04:14 AM
тАО03-10-2009 04:14 AM
Misleading message while mounting lvm
I am trying to mount a device/file system, which is already mounted to another mount point. While doing so I got an error message (as expected), but its misleading.
Device: /dev/srm_fs/vxfs
old mount point: /mnt/vxfs_mount_old
new mount point: /mnt/vxfs_mount_new
----------- screen dump start --------
# uname -a
HP-UX spea67 B.11.23 U ia64 1517336840 unlimited-user license
# mount -F vxfs /dev/srm_fs/vxfs /mnt/vxfs_mount_old
# mount | grep vxfs_mount_old
/mnt/vxfs_mount_old on /dev/srm_fs/vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40030002 on Tue Mar 10 17:44:09 2009
# mount -F vxfs /dev/srm_fs/vxfs /mnt/vxfs_mount_new
mount: /dev/srm_fs/vxfs is already mounted on /mnt/vxfs_mount_new
# echo $?
1
# mount | grep vxfs_mount_
/mnt/vxfs_mount_old on /dev/srm_fs/vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40030002 on Tue Mar 10 17:44:09 2009
#
----------- screen dump end --------
The error message returned mentions "dev/srm_fs/vxfs is already mounted on /mnt/vxfs_mount_new", which is not correct, as the device is still mounted on /mnt/vxfs_mount_old.
Any help pertaining to this will be appreciated.
Thanks and Regards,
Mohammed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 04:24 AM
тАО03-10-2009 04:24 AM
Re: Misleading message while mounting lvm
While the message may include the wrong name of the mount-point, the important event is that (1) you get a return code indicating and error; and (2) that (at least) the first part of the message indicates that the error is for the reason that the device is already mounted. Clearly you can then decipher *where* so I think all you can do is file a bug report.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 05:07 AM
тАО03-10-2009 05:07 AM
Re: Misleading message while mounting lvm
# mount | grep vxfs_mount
Just grep for all "vxfs_mount".
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 06:13 AM
тАО03-10-2009 06:13 AM
Re: Misleading message while mounting lvm
Thanks for the response. As I am a new member, I would appreciate if you can let me know the procedure/link to file a bug report.
Torsten,
/dev/srm_fs/vxfs : Well, here I have created a volume group "srm_fs" and a logical volume "vxfs" in that VG. And then I have created a "vxfs" file system on that LV.
I do see only one mount point, i.e. the one which was created first.
----------- screen dump start --------
# uname -a
HP-UX spea67 B.11.23 U ia64 1517336840 unlimited-user license
# mount | grep vxfs_mount
/mnt/vxfs_mount_old on /dev/srm_fs/vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40030002 on Tue Mar 10 17:44:09 2009
----------- screen dump end --------
Thanks,
Mohammed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 06:20 AM
тАО03-10-2009 06:20 AM
Re: Misleading message while mounting lvm
Before complaining about anything I would first check the patches (even via patch session here on ITRC or with swa - software assistant).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 06:23 AM
тАО03-10-2009 06:23 AM
Re: Misleading message while mounting lvm
And what about the mnttab.
grep vxfs_mount /etc/mnttab
In the past, I have an issue with mnttab/mount. I don't know why, my customer have made multiple mounting point with the same lv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 04:02 AM
тАО03-11-2009 04:02 AM
Re: Misleading message while mounting lvm
Couldn't find "swa" on the host. But could get the patch info using "swlist"
----------- screen dump start --------
# uname -a
HP-UX spea67 B.11.23 U ia64 1517336840 unlimited-user license
# which mount
/usr/sbin/mount
# ls -l /usr/sbin/mount
lrwxr-xr-x 1 bin bin 11 Oct 15 15:47 /usr/sbin/mount -> /sbin/mount
# ls -l /sbin/mount
-r-xr-xr-x 1 bin bin 788268 Aug 27 2004 /sbin/mount
# swlist -l file | grep "/sbin/mount"
OS-Core.UX-CORE: /usr/sbin/mount
OS-Core.UX-CORE: /usr/sbin/mountall
OS-Core.UX2-CORE: /sbin/mount
OS-Core.UX2-CORE: /sbin/mountall
PHCO_31545.UX-CORE: /usr/sbin/mount
PHCO_31545.UX2-CORE: /sbin/mount
#
----------- screen dump end --------
I have attached the complete "swlist" output as attachment (spea67_HP-UXIA64_11.23.txt).
Just wanted to add that, in another host I am not seeing correct error message thrown while mounting the same device in other mount point. This is 11.31 host.
----------- screen dump start --------
spea119 #uname -a
HP-UX spea119 B.11.31 U ia64 1176152452 unlimited-user license
spea119 #mount -F vxfs /dev/test_vg/vxfs /mnt/vxfs_mount_old
spea119 #mount | grep vxfs_mount
/mnt/vxfs_mount_old on /dev/test_vg/vxfs ioerror=mwdisable,delaylog,dev=40030001 on Wed Mar 11 17:31:58 2009
spea119 #mount -F vxfs /dev/test_vg/vxfs /mnt/vxfs_mount_new
mount: /dev/test_vg/vxfs is already mounted on /mnt/vxfs_mount_old
spea119 #echo $?
1
spea119 #
----------- screen dump end --------
Does the initial issue reported by me, boils down to patch update?
Thanks,
Mohammed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2009 05:01 AM
тАО08-22-2009 05:01 AM
Re: Misleading message while mounting lvm
Rename or delete your current mount point .... and create it freshly and give a try it might work.
fuser