- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to stop a LUN
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-08-2007 08:17 AM
тАО05-08-2007 08:17 AM
For some reasons, we want to stop the access between the HP-UX sever and SAN storage. We need Shutdown a LUN and startup/restore it after finish the upgrade.
I could use spmgr display see this LUN and could use strings /etc/fstab find out the volume group, LV and mount point. I want to know how to stop and restart a LUN path? spmgr delete / spmgr add ? or umount the mount point? or vgchange -a n /dev/vg03? ...
thank you very much?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:23 AM
тАО05-08-2007 08:23 AM
SolutionStop a Lun ? If you mean preventing the system from using the LUN then I would suggest unmount the filesystem. Ofcourse, that will only work if the LUN is being used for a filesystem.
If it is being used as raw LV/device, then you can make the LV unavailable using the lvchange or vgchange commands.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:27 AM
тАО05-08-2007 08:27 AM
Re: How to stop a LUN
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:33 AM
тАО05-08-2007 08:33 AM
Re: How to stop a LUN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:36 AM
тАО05-08-2007 08:36 AM
Re: How to stop a LUN
Thanks for your fast reply.
As you know, we wanna do some upgrade and fix on storage, the task requirement wrote "stop the access to SAN (LUN ID: 60001fe1...), I think, maybe its mean was let me stop the connection between HP-UX and SAN. And restore it after fixing.
You means, I just vgchange -a n /dev/vg03 and umount the all the corresponding mount points could stop the connection, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:40 AM
тАО05-08-2007 08:40 AM
Re: How to stop a LUN
"pull the fiber connections from the server. No more SAN connection." What's your mean? would you please give me more details?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:46 AM
тАО05-08-2007 08:46 AM
Re: How to stop a LUN
Well you could simply unmount all the lvols that have extents on this LUN or you could also deactivate the VG that houses this LUN but that would stop access to all file systems that don't have extents on this LUN. Run pvdisplay on this LUN's device file and post the output here.
~thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:47 AM
тАО05-08-2007 08:47 AM
Re: How to stop a LUN
NOTE: I am not saying it is the correct thing to do.
Also if you do chooose to do that, you would want to stop any processes etc that are using the disks in the SAN and umount the mount points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:55 AM
тАО05-08-2007 08:55 AM
Re: How to stop a LUN
> pvdisplay /dev/dsk/c8t0d0
--- Physical volumes ---
PV Name /dev/dsk/c8t0d0
VG Name /dev/vg03
PV Status available
Allocatable yes
VGDA 2
Cur LV 3
PE Size (Mbytes) 32
Total PE 17490
Free PE 1461
Allocated PE 16029
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
through command bdf I could find the corresponding file systems of vg03 is /f01 /f02
according as your suggestion, I could use umount f01 / f02 or/and vgchange -a n /dev/vg03 stop the access and connection between HP-UX and SAN, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 09:04 AM
тАО05-08-2007 09:04 AM