- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- reflecting new lun size from storage w/o rebooting
Operating System - Linux
1755151
Members
5585
Online
108830
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-09-2009 09:15 PM
тАО09-09-2009 09:15 PM
reflecting new lun size from storage w/o rebooting
hi.
has anyone here experienced doing this:
you have a lun connected thru FC to an eva or msa or any storage device for that matter, and you increased the lun in the storage device, then you're able to reflect the new lun size w/o rebooting? i've tried tools like hp_rescan and qlogic's rescan_scsi_bus.sh tool w/c doesn't help. what i do is to check the scsi path, for example 0:0:0:1, then do this: echo "remove-single-device 0 0 0 1" > /proc/scsi/scsi && echo "add-single-device 0 0 0 1" > /proc/scsi/scsi. It does work. But naturally, the /dev/sd* mapped to it will change. I use the multipath mapped /dev/dm* device w/ lvm2, so i'm able to get away with the changing /dev/sd.
But if any of you guys have a better way of doing it, i'd be happy to check it out. Mine is an SLES9 SP4. I've checked out other forums, and most say that you really need a reboot for sles9 and even 10.
thanks and best regards.
has anyone here experienced doing this:
you have a lun connected thru FC to an eva or msa or any storage device for that matter, and you increased the lun in the storage device, then you're able to reflect the new lun size w/o rebooting? i've tried tools like hp_rescan and qlogic's rescan_scsi_bus.sh tool w/c doesn't help. what i do is to check the scsi path, for example 0:0:0:1, then do this: echo "remove-single-device 0 0 0 1" > /proc/scsi/scsi && echo "add-single-device 0 0 0 1" > /proc/scsi/scsi. It does work. But naturally, the /dev/sd* mapped to it will change. I use the multipath mapped /dev/dm* device w/ lvm2, so i'm able to get away with the changing /dev/sd.
But if any of you guys have a better way of doing it, i'd be happy to check it out. Mine is an SLES9 SP4. I've checked out other forums, and most say that you really need a reboot for sles9 and even 10.
thanks and best regards.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 11:43 PM
тАО09-10-2009 11:43 PM
Re: reflecting new lun size from storage w/o rebooting
For new LUNs in SLES10 we do a
echo "- - -" > /sys/class/scsi_host/host0/scan
echo "- - -" > /sys/class/scsi_host/host1/scan
as described here:
http://www.novell.com/documentation/sles10/stor_evms/?page=/documentation/sles10/stor_evms/data/scandev.html
I have never tried to grow a LUN, just added new ones.. not sure if this helps.
echo "- - -" > /sys/class/scsi_host/host0/scan
echo "- - -" > /sys/class/scsi_host/host1/scan
as described here:
http://www.novell.com/documentation/sles10/stor_evms/?page=/documentation/sles10/stor_evms/data/scandev.html
I have never tried to grow a LUN, just added new ones.. not sure if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 03:23 AM
тАО09-11-2009 03:23 AM
Re: reflecting new lun size from storage w/o rebooting
As Michael said, normally with the use of LVM you will add new LUNs to existing volume groups instead of increasing the LUN size. Have you also tried the partprobe command?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2009 08:16 AM
тАО09-12-2009 08:16 AM
Re: reflecting new lun size from storage w/o rebooting
is there a specific reason to strict to grow the existing LUN? I have seen some doc with EMC and LINUX combination talking describing how to do this online.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP