- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot remove lvol via sam
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
06-04-2003 07:03 AM
06-04-2003 07:03 AM
Cannot remove lvol via sam
I cannot remove a logical volume via sam. It just hangs during the umount and the only way out is to kill sam.
The sam log shows:
Entering Task Manager with task FS_REMOVE_FSTAB_ENTRY.
@!@8@1054738340@0
Performing task "Remove entry from /etc/fstab.".
@!@4@1054738340@0
Getting information from the /etc/fstab file.
The directory has actually been unmounted and I can then delete the logical volume using lvremove without any problem.
It's not a huge problem but I am curious as this has worked in the past. Anybody got any ideas? Box is a D370 hpux 10.20 (I know, it should be put out to pasture).
Thanks
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:08 AM
06-04-2003 07:08 AM
Re: Cannot remove lvol via sam
Was the /etc/fstab entry for the lvol correct? What about the /etc/mnttab entry? Did the two match?
The /etc/fstab and /etc/mnttab entries should be the same or problems can occur. I had all sorts of problems when "/" was /dev/vg00/lvol1 in one file and /dev/vgroot/lvol1 in the other.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:10 AM
06-04-2003 07:10 AM
Re: Cannot remove lvol via sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:17 AM
06-04-2003 07:17 AM
Re: Cannot remove lvol via sam
Regards,
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:19 AM
06-04-2003 07:19 AM
Re: Cannot remove lvol via sam
The entry in /etc/fstab was correct. I don't know about mnttab as the entry had been removed by sam.
The box is up to date with the last support plus for 10.20 but it is possible the latest sam patch isn't there, I'll check once I've found which one to check for.
Strange that it has worked in the past.
Thanks
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:23 AM
06-04-2003 07:23 AM
Re: Cannot remove lvol via sam
# cd /etc
# mv mnttab mnttab.old
# mount -a
Now try SAM commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:28 AM
06-04-2003 07:28 AM
Re: Cannot remove lvol via sam
PHCO_22268 which appears to be the latest patch is installed.
Thanks for the suggestion Shiju, I'll create a test lvol and try it out. Will let you know.
Thanks
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 11:56 PM
06-04-2003 11:56 PM
Re: Cannot remove lvol via sam
Deleting mnttab and recreating it made no difference. It still hangs trying to update /etc/fstab.
Any other suggestions?
Thanks
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 12:53 AM
06-05-2003 12:53 AM
Re: Cannot remove lvol via sam
I know that SAM appears to be the problem, and I saw what the suggestions were made, but have you just tried to this from the command line just for the hell of it?
# umount /blah
# lvremove -f /dev/vgxx/lvolxx
You can manually edit /etc/fstab later.
Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 01:15 AM
06-05-2003 01:15 AM
Re: Cannot remove lvol via sam
Yes, I have removed it manually and amended the fstab. I am just curious as to why sam can no longer do it.
Cheers
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 02:13 AM
06-05-2003 02:13 AM
Re: Cannot remove lvol via sam
Unfortunately I can't answer that question as to whether SAM could or couldn't do it. I've been a CLI person from way back and don't use SAM very often at all. Using the command line gives you total control over what is happening, and of course you can use scripts as well.
I'm glad to see you have it under control.
Cheers
Michael
"When I have trouble spelling, it's called fat finger syndrome."