Operating System - Linux
1753470 Members
5196 Online
108794 Solutions
New Discussion юеВ

Increase size of LUN in SAN on Linux servers without rebooting the server

 
Grzegorz Jajuga
Occasional Advisor

Increase size of LUN in SAN on Linux servers without rebooting the server

First of all, I'm quite new to Linux so forgive me if I use the terms 'disks', 'partitions' and 'devices' incorrectly below!

I have a Red Hat 5.2 x86_64 server with kernel version 2.6.18-92.el5. I have several SAN-based Vdisks presented to the server, appearing as /dev/sd*x* and, when I create a partition, /dev/sd*x*1 . The SAN is an hp EVA-8100.

Occasionally I need to extend a disk. I can increase the size of the Vdisk via the hp Command View EVA software, but the only way currently I can get the server to recognise the additional space is to reboot the server.

For various reasons I'm not currently using an LVM. Is there a command or method I can use to get the server to recognise the additional space without rebooting the server?
2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: Increase size of LUN in SAN on Linux servers without rebooting the server

Please see RedHat's Online Storage Reconfiguration Guide:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/index.html

In particular, chapter 14 (Resizing an Online Logical Unit) seems to be what you want.

MK
MK
sktskt
Regular Visitor

Re: Increase size of LUN in SAN on Linux servers without rebooting the server

Good document. Thanks