<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Online resizing Linux disks &amp;amp; filesystems in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624095#M19574</link>
    <description>Hello Ivan, &lt;BR /&gt;&lt;BR /&gt;thank's for your response. &lt;BR /&gt;&lt;BR /&gt;I've thought about the LVM approach too, but&lt;BR /&gt;for this I would have to extend the &lt;BR /&gt;underlying physical disk (something like &lt;BR /&gt;"pvextend" or "pvresize"), which again would&lt;BR /&gt;require an online extension to the partition&lt;BR /&gt;table, something that doesn't seem to be&lt;BR /&gt;easily available. &lt;BR /&gt;&lt;BR /&gt;Any other thoughts? &lt;BR /&gt;&lt;BR /&gt;Best Regards, &lt;BR /&gt;&lt;BR /&gt;Arnold Sutter, Tristar/redIT</description>
    <pubDate>Tue, 13 Sep 2005 01:19:18 GMT</pubDate>
    <dc:creator>noldi</dc:creator>
    <dc:date>2005-09-13T01:19:18Z</dc:date>
    <item>
      <title>Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624093#M19572</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;in a somewhat follow on question to the QLogic&lt;BR /&gt;Multipath thread &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=954749" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=954749&lt;/A&gt;&lt;BR /&gt;I experimented with the online filesystem resize theme. &lt;BR /&gt;&lt;BR /&gt;When I grow a LUN on an EVA, how do I make that &lt;BR /&gt;added space at the end of the LUN available to &lt;BR /&gt;the filesystem while it is online? &lt;BR /&gt;&lt;BR /&gt;It seems that I'm struggling with the issue of&lt;BR /&gt;extending the partition table, since the &lt;BR /&gt;command "ext2online" requires the underlying &lt;BR /&gt;SCSI device/partition to be extended in order&lt;BR /&gt;to successfully extend the ext3 filesystem.&lt;BR /&gt;Something I managed to get done only after an&lt;BR /&gt;umount/mount of the said device. &lt;BR /&gt;&lt;BR /&gt;Anybody knows a reasonable approach to extend&lt;BR /&gt;a Linux (RH EL 4.0, kernel 2.6) filesystem&lt;BR /&gt;online? &lt;BR /&gt;&lt;BR /&gt;Thank's again &amp;amp; best Regards, &lt;BR /&gt;&lt;BR /&gt;Arnold Sutter, Tristar/redIT</description>
      <pubDate>Mon, 12 Sep 2005 14:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624093#M19572</guid>
      <dc:creator>noldi</dc:creator>
      <dc:date>2005-09-12T14:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624094#M19573</link>
      <description>I think that you will need LVM to extend the size of a partition/volume online, using the lvextend command.&lt;BR /&gt;&lt;BR /&gt;So, after growing the VDISK in the EVA, you should run lvextend and then ext2online.&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;You can try using parted, parted has the resize partition command, but normally, partitions changes are not detected until next reboot on mounted disks.</description>
      <pubDate>Mon, 12 Sep 2005 16:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624094#M19573</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-09-12T16:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624095#M19574</link>
      <description>Hello Ivan, &lt;BR /&gt;&lt;BR /&gt;thank's for your response. &lt;BR /&gt;&lt;BR /&gt;I've thought about the LVM approach too, but&lt;BR /&gt;for this I would have to extend the &lt;BR /&gt;underlying physical disk (something like &lt;BR /&gt;"pvextend" or "pvresize"), which again would&lt;BR /&gt;require an online extension to the partition&lt;BR /&gt;table, something that doesn't seem to be&lt;BR /&gt;easily available. &lt;BR /&gt;&lt;BR /&gt;Any other thoughts? &lt;BR /&gt;&lt;BR /&gt;Best Regards, &lt;BR /&gt;&lt;BR /&gt;Arnold Sutter, Tristar/redIT</description>
      <pubDate>Tue, 13 Sep 2005 01:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624095#M19574</guid>
      <dc:creator>noldi</dc:creator>
      <dc:date>2005-09-13T01:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624096#M19575</link>
      <description>I played with it some time ago. It is (was) not possible to resize online. fdisk to create a partition and then reboot to re-read partition table.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Andrej</description>
      <pubDate>Tue, 13 Sep 2005 03:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624096#M19575</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-09-13T03:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624097#M19576</link>
      <description>if you would like to use ext2online to extend/reduce filesystem on the fly, your kernel have to support the option. which means you might need to re-config your kernel.</description>
      <pubDate>Tue, 13 Sep 2005 11:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624097#M19576</guid>
      <dc:creator>Matthew_50</dc:creator>
      <dc:date>2005-09-13T11:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624098#M19577</link>
      <description>I have LVM and I can on line resize my FS without  any problem. &lt;BR /&gt;You no need lvextend  ext2online make lvextend for you.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Sep 2005 02:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624098#M19577</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2005-09-14T02:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624099#M19578</link>
      <description>Hello all, &lt;BR /&gt;&lt;BR /&gt;one way we do it with EVA is the following:&lt;BR /&gt;&lt;BR /&gt;1) Extend the size of the LUN on the storage&lt;BR /&gt;subsystem with additional space at the end. &lt;BR /&gt;&lt;BR /&gt;2) Modify the disk partition, so the &lt;BR /&gt;additional space is available to the system&lt;BR /&gt;&lt;BR /&gt;3) Extend the filesystem in order to make &lt;BR /&gt;use of the additional space of the device&lt;BR /&gt;&lt;BR /&gt;It seems that step 2 is the problem here. &lt;BR /&gt;&lt;BR /&gt;Of course, I can always add an additional&lt;BR /&gt;LUN to the LVM volume group and extend the&lt;BR /&gt;logical volume. But this might not always&lt;BR /&gt;be desired if I want to extend the EXISTING&lt;BR /&gt;device. &lt;BR /&gt;&lt;BR /&gt;Best Regards, &lt;BR /&gt;&lt;BR /&gt;Arnold Sutter, Tristar/redIT&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624099#M19578</guid>
      <dc:creator>noldi</dc:creator>
      <dc:date>2005-09-14T06:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624100#M19579</link>
      <description>Hi noldi, the step 2 can you do it ONLINE?&lt;BR /&gt;&lt;BR /&gt;That means, can you modify the partition after growing the VDISK in the EVA, without dismount/reboot the system?</description>
      <pubDate>Wed, 14 Sep 2005 09:44:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624100#M19579</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-09-14T09:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624101#M19580</link>
      <description>Ivan, &lt;BR /&gt;&lt;BR /&gt;that's exactly the point. So far, I could&lt;BR /&gt;not successfully execute Step 2 online &lt;BR /&gt;without dismount/mount'ing the device. &lt;BR /&gt;&lt;BR /&gt;Best Regards, &lt;BR /&gt;&lt;BR /&gt;Arnold</description>
      <pubDate>Wed, 14 Sep 2005 10:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624101#M19580</guid>
      <dc:creator>noldi</dc:creator>
      <dc:date>2005-09-14T10:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624102#M19581</link>
      <description>resize2fs  ??&lt;BR /&gt;&lt;BR /&gt;In most SAN environments when space is added on the SAN you have to boot the box to get the space recognized.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 14 Sep 2005 11:46:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624102#M19581</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-14T11:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624103#M19582</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;not with Tru64 UNIX. This is a notable&lt;BR /&gt;example where you can edit/extend the disklabel &lt;BR /&gt;without umount/reboot and then extend &lt;BR /&gt;the AdvFS filesystem online. &lt;BR /&gt;&lt;BR /&gt;Also, I think some recent VxVM versions&lt;BR /&gt;on some platforms can do this. &lt;BR /&gt;&lt;BR /&gt;noldi</description>
      <pubDate>Wed, 14 Sep 2005 14:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624103#M19582</guid>
      <dc:creator>noldi</dc:creator>
      <dc:date>2005-09-14T14:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624104#M19583</link>
      <description>Ouuu I get whay you want.&lt;BR /&gt;You are right. &lt;BR /&gt;If you use some LUNs for VG you can not extend that LUNs online.&lt;BR /&gt;You can extend online LV but you can not extend PV.&lt;BR /&gt;&lt;BR /&gt;I do not know any way to do that sorry &lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 02:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624104#M19583</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2005-09-15T02:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624105#M19584</link>
      <description>See this document:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.us.dell.com/content/topics/global.aspx/power/en/ps1q03_michael" target="_blank"&gt;http://www1.us.dell.com/content/topics/global.aspx/power/en/ps1q03_michael&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After changing the physical and logical drive layers, notify the OS of the changes. Rebooting the system is the easiest way to do soâ  the new disks will be detected at system startupâ  but Linux-based systems can notify the OS without rebooting.&lt;BR /&gt;&lt;BR /&gt;If an existing logical drive was expanded, tell the OS to remove the drive and then add it back to the OS. The /proc/scsi/scsi file lists all SCSI devices currently known to the OS, and when written to, this file informs the OS of changes. The following command adds a drive to the OS:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo "scsi add-single-device Host Bus Id Lun" &amp;gt; /proc/scsi/scsi&lt;BR /&gt;(where Host, Bus, Id, and Lun correspond to the new drive parameters)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, it seems that even when you can grow your partition without rebooting, it cannot be done while the filesystem is active.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 08:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624105#M19584</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-09-15T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624106#M19585</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm working on an EVA 5000 and Linux RHEL 4 and QLogic FBA.&lt;BR /&gt;I want to create a vdisk on the SAN of 5 Go for example. Linux sees it at /dev/sda. I make a physical lvm partition on /dev/sda, (/dev/sda1), with the total space, then create a volume group, then logcial volume, then a filesystem. &lt;BR /&gt;Now I want to extend my vdisk to 10 Go. &lt;BR /&gt;I know I can't extend my physical lvm partition, but I think when I rescan my scsi-bus, linux will see the new size of my device sda. Then, create a second physical LVM partition (/dev/sda2), add it to my existing volume group, then extend my logical volume, then my filesystem with ext2online. &lt;BR /&gt;All of this must be done ONLINE. &lt;BR /&gt;&lt;BR /&gt;What do you think about this ? do you think is it possible ?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Pierre-Damien GATOUILLAT / SCC</description>
      <pubDate>Wed, 22 Mar 2006 12:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624106#M19585</guid>
      <dc:creator>gatouillat</dc:creator>
      <dc:date>2006-03-22T12:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624107#M19586</link>
      <description>If I would extend a VG in linux, I would create a new vdisk instead of extending the current vdisk. Then add the new vdisk to the vg, and extend the lv as you want.</description>
      <pubDate>Wed, 22 Mar 2006 14:50:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624107#M19586</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-03-22T14:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624108#M19587</link>
      <description>Hello Ivan,&lt;BR /&gt;&lt;BR /&gt;Yes, I agree with you, it is a solution, but I don't think it is optimal for the san. Have 1 vdisk for 1 partition is best than 2 vdisks for 1 partition, I think at the level of organizing data on the disks of the san. &lt;BR /&gt;Under windows, the things I talk on my last post are possible, online, I think under linux, it will be possible. I'm going to test tomorrow, I will inform you of my tests.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Pierre-Damien GATOUILLAT / SCC</description>
      <pubDate>Thu, 23 Mar 2006 04:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624108#M19587</guid>
      <dc:creator>gatouillat</dc:creator>
      <dc:date>2006-03-23T04:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Online resizing Linux disks &amp; filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624109#M19588</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm facing a lot of problem, following my friday's tests. The only thing which works is resizing off-line, ie, resizing the vdisk on the SAN, remove the qla driver on linux, modprobe the driver, the new size of the vdisk was correctly detected, I create a new partition on /dev/sda (sda2) for a new lvm physical device, extend the VG, next the LV.&lt;BR /&gt;&lt;BR /&gt;When I create a second vdisk and present it to the Linux, I can't see it. Linux only detect a new device sgX (X=1 or 2), but no sdX (normally  sdb). I try the qla driver of linux kernel and of HP. Nothing nothing nothing. I think about a problem of max_luns (max_scsi_luns for kernel 2.4), because the redhat kernel is not compiled with CONFIG_SCSI_MULTI_LUN=y. So I try to boot with option max_luns=128, nothing better. I also try max_scsi_luns, nothing. I also try to pass this option to scsi_mod in /etc/modprobe.conf &lt;BR /&gt;&lt;BR /&gt;If someone has an idea... Perhaps I have to recompile the kernel, but in this case I will lost the redhat support... I don't understand why the CONFIG_SCSI_MULTI_LUN is not enabled on redhat kernel...&lt;BR /&gt;&lt;BR /&gt;Thanks for your answer.&lt;BR /&gt;Pierre-Damien GATOUILLAT / SCC</description>
      <pubDate>Mon, 27 Mar 2006 03:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-resizing-linux-disks-amp-filesystems/m-p/3624109#M19588</guid>
      <dc:creator>gatouillat</dc:creator>
      <dc:date>2006-03-27T03:35:38Z</dc:date>
    </item>
  </channel>
</rss>

