- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 1 LVM Mounted on 2 mount directories
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
11-27-2006 12:27 AM
11-27-2006 12:27 AM
I am facing a problem regarding mounting of LVOL on a mount point.
There is a VG "vgallahabad" on my HP IA64 box. Its having 2 LVOLs "lvol40" & "lvol41". lvol40 was mounted on /fns/a4 while lvol41 was mounted on /fns/lvp01.
Today the server was re-started and after that I am not able to access 2nd mount dir /fns/lvp01. Its giving errors. Upon checking in SAM, I saw that lvol41 is mounted at 2 points. I am not able to get what is meant by it and how to go about it further.
lvol40 vgallahabad LVM VxFS 20480 0 /fns/lvp01
lvol41 vgallahabad LVM VxFS/VxFS 15360 0 /fns/a4,/fns/lvp01
Regards,
Ankit.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 12:41 AM
11-27-2006 12:41 AM
Re: 1 LVM Mounted on 2 mount directories
corrupted /etc/lvmtab ??
Try:
vgscan -a -v -p
to check.
If this shows the correct data, please read "man vgscan" to decide, on whether to run command in change mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 12:59 AM
11-27-2006 12:59 AM
SolutionIf you rebooted and you still have two directories mounted on the same device, you need to look (first) at '/etc/fstab'. I suspect that your problem lies there. If so, unmount both directories; fix the '/etc/fstab' to reflect the correct mountpoints and devices; and do a 'mount -a'.
To unmount your directories you will need to stop all processes using them. You may find that 'fuser -c /mountpoint' is useful to determine the processes using the mountpoint.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 01:43 AM
11-27-2006 01:43 AM
Re: 1 LVM Mounted on 2 mount directories
I tried out your solution. Fixed everything in all TAB files.
Please check the following error:
[root]/etc#umount /dev/vgallahabad/lvol41
umount: cannot unmount /fns/a4 : Device busy
umount: return error 1.
[root]/etc#fuser -c /dev/vgallahabad/lvol41
/dev/vgallahabad/lvol41: fuser: could not find file system mounted at /dev/vgallahabad/lvol41.
mount -a gives me:
vxfs mount: /dev/vgallahabad/lvol40 is corrupted. needs checking
mount: /dev/vgallahabad/lvol41 is already mounted on /fns/a4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 02:09 AM
11-27-2006 02:09 AM
Re: 1 LVM Mounted on 2 mount directories
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 02:28 PM
11-28-2006 02:28 PM
Re: 1 LVM Mounted on 2 mount directories
The problem got resolved by running file system check:
fsck -y
Then I made the necessary changes in TAB files and run mount -a.
Cheers,
Ankit