- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot umount filesystem (challenging one)
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
тАО05-23-2005 01:50 AM
тАО05-23-2005 01:50 AM
cannot umount filesystem (challenging one)
We received a validation error that /oracle/
I tried to follow a CBA we have for doing this. I
1) mv /oracle/
2) Created a new logical volume with the lvcreate command named after the original..
3) Perform newfs on the logical volume.
4) Mount old directory to new logical volume.
5) Copy the data from /oracle/
Example:
find /oracle/
6) Removed /oracle/
My mistake was that I didn't umount anything prior to doing these steps. Bdfs showed the filesysems are mounted very strangely now.
# bdf /oracle/NPA/sapreorg
Filesystem kbytes used avail %used Mounted on
/dev/vg_apps/lv_oracle
524288 77629 418814 16% /oracle
This should be mounted on /dev/vg_NPA_lv_reorg.
I cannot unmount anything under /oracle/NPA now.
# umount /oracle/NPA/sapreorg
umount: cannot unmount /oracle/NPA/sapreorg : Block device required
umount: return error 1.
The customer said I can blow these filesystems away as they are "test" but I cannot get them unmounted.
Any ideas for this challenging issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 01:57 AM
тАО05-23-2005 01:57 AM
Re: cannot umount filesystem (challenging one)
# mv /etc/mnttab /etc/mnttab.bak
# mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 02:00 AM
тАО05-23-2005 02:00 AM
Re: cannot umount filesystem (challenging one)
The mountpoint is /oracle
Correct Syntax:
# unmount /oracle
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 02:03 AM
тАО05-23-2005 02:03 AM
Re: cannot umount filesystem (challenging one)
Did you try "umount /oracle" !!!
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 02:11 AM
тАО05-23-2005 02:11 AM
Re: cannot umount filesystem (challenging one)
Also, I would try to umount /oracle but there are some other
I think the only way I'll be able to remedy this issue is get a reboot for this server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 04:07 PM
тАО05-26-2005 04:07 PM
Re: cannot umount filesystem (challenging one)
Devesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 06:52 PM
тАО05-26-2005 06:52 PM
Re: cannot umount filesystem (challenging one)
Try to check fuser -k /oracle to get user who is using that file system. Else directly make a message to that users as "who is using /oracle directoy. please out of that directory".
Or login as root and kill all user process by who -u except your's and unmount it.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2005 12:51 AM
тАО05-27-2005 12:51 AM
Re: cannot umount filesystem (challenging one)
#fuser -u /mountpoint
First, just because I like to see what processes it thinks is using that filesystem.
If you want you can kill the pids by hand or use the command above
#fuser -k /mountpoint.
I've seen cases where that comes back without any pids showing up. Then I usually go against the lvol.
#fuser -u /dev/vgXX/lvolXX
Then you should hopefully be able to
#umount /mountpoint