<?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: Linux LVM2 - Filesystem extension each time needs the server reboot? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135512#M50065</link>
    <description>Thanks, that's true.&lt;BR /&gt;&lt;BR /&gt;I tried to extend a FS using your instructions and it worked.&lt;BR /&gt;&lt;BR /&gt;The fact is that a colleague told me that I had to umount the FS because in Linux there wasn't the same online option as on HP-UX.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;ALe</description>
    <pubDate>Tue, 14 Oct 2008 11:27:39 GMT</pubDate>
    <dc:creator>ALe_3</dc:creator>
    <dc:date>2008-10-14T11:27:39Z</dc:date>
    <item>
      <title>Linux LVM2 - Filesystem extension each time needs the server reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135510#M50063</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;I am experiencing the following "issue" with Linux LVM2. Actually I have a full installation of RH 5.1 with LVM2 and when I must extend a filesystem I cannot umount the FS.&lt;BR /&gt;&lt;BR /&gt;Even if any user is accessing the FS (I use fuser and lsof to check it), &lt;BR /&gt;&lt;BR /&gt;[root@lxxxx ~]# lsof /tmp&lt;BR /&gt;[root@lxxxxx ~]# fuser -u /tmp&lt;BR /&gt;&lt;BR /&gt;when I try to umount it it gives me the error:&lt;BR /&gt;&lt;BR /&gt;[root@lxxxxx ~]# umount /tmp&lt;BR /&gt;umount: /tmp: device is busy&lt;BR /&gt;umount: /tmp: device is busy&lt;BR /&gt;&lt;BR /&gt;I think that it is the device mapper that locks the FS.&lt;BR /&gt;&lt;BR /&gt;The installation is the default one. I have disabled some services and now the active services are the following:&lt;BR /&gt;&lt;BR /&gt;[root@lxxxxx ~]# chkconfig --list | grep :on&lt;BR /&gt;anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;autofs          0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;cciss_scsi      0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;cpuspeed        0:off   1:on    2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;cups            0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;gpm             0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;hp-health       0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;hp-ilo          0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;hp-snmp-agents  0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;hpsmhd          0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;hpvca           0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;kudzu           0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;lm_sensors      0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;mcstrans        0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;microcode_ctl   0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;network         0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;portmap         0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;readahead_later 0:off   1:off   2:off   3:off   4:off   5:on    6:off&lt;BR /&gt;restorecond     0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;smartd          0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;smb             0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;snmpd           0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;sysstat         0:off   1:off   2:on    3:on    4:off   5:on    6:off&lt;BR /&gt;xfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;xinetd          0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;&lt;BR /&gt;All the kernel modules are loaded:&lt;BR /&gt;&lt;BR /&gt;[root@lxxx ~]# lsmod&lt;BR /&gt;Module                  Size  Used by&lt;BR /&gt;mptctl                 26565  1 &lt;BR /&gt;mptbase                57569  1 mptctl&lt;BR /&gt;sg                     35933  0 &lt;BR /&gt;ipmi_si                41056  2 &lt;BR /&gt;ipmi_devintf           12808  4 &lt;BR /&gt;ipmi_msghandler        37184  2 ipmi_si,ipmi_devintf&lt;BR /&gt;autofs4                24389  2 &lt;BR /&gt;hp_ilo                 34620  4 &lt;BR /&gt;ipv6                  251393  32 &lt;BR /&gt;dm_multipath           21577  0 &lt;BR /&gt;video                  19269  0 &lt;BR /&gt;sbs                    18533  0 &lt;BR /&gt;backlight              10049  0 &lt;BR /&gt;i2c_ec                  9025  1 sbs&lt;BR /&gt;i2c_core               23745  1 i2c_ec&lt;BR /&gt;button                 10705  0 &lt;BR /&gt;battery                13637  0 &lt;BR /&gt;asus_acpi              19289  0 &lt;BR /&gt;ac                      9157  0 &lt;BR /&gt;parport_pc             29157  0 &lt;BR /&gt;lp                     15849  0 &lt;BR /&gt;parport                37513  2 parport_pc,lp&lt;BR /&gt;ide_cd                 40033  0 &lt;BR /&gt;cdrom                  36705  1 ide_cd&lt;BR /&gt;bnx2                  173320  0 &lt;BR /&gt;serio_raw              10693  0 &lt;BR /&gt;pcspkr                  7105  0 &lt;BR /&gt;dm_snapshot            20709  0 &lt;BR /&gt;dm_zero                 6209  0 &lt;BR /&gt;dm_mirror              28741  0 &lt;BR /&gt;dm_mod                 58201  17 dm_multipath,dm_snapshot,dm_zero,dm_mirror&lt;BR /&gt;lpfc                  282464  6 &lt;BR /&gt;scsi_transport_fc      37065  1 lpfc&lt;BR /&gt;ata_piix               18501  0 &lt;BR /&gt;libata                115961  1 ata_piix&lt;BR /&gt;cciss                  67588  5 &lt;BR /&gt;sd_mod                 24897  0 &lt;BR /&gt;scsi_mod              132685  10 mptctl,sg,lpfc,scsi_transport_fc,libata,cciss,sd_mod&lt;BR /&gt;ext3                  123337  8 &lt;BR /&gt;jbd                    56553  1 ext3&lt;BR /&gt;ehci_hcd               33229  0 &lt;BR /&gt;ohci_hcd               23389  0 &lt;BR /&gt;uhci_hcd               25549  0 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is it possible that If I must extend a filesystem I must go to runlevel 1 or reboot the server? &lt;BR /&gt;&lt;BR /&gt;This makes LVM2 not feasible for a production server.&lt;BR /&gt;&lt;BR /&gt;Where do I fail???? Maybe I have missed some configuration or disabled some services that shouldn't be disabled???&lt;BR /&gt;&lt;BR /&gt;Many Thanks in advance&lt;BR /&gt;&lt;BR /&gt;ALe</description>
      <pubDate>Tue, 14 Oct 2008 07:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135510#M50063</guid>
      <dc:creator>ALe_3</dc:creator>
      <dc:date>2008-10-14T07:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Linux LVM2 - Filesystem extension each time needs the server reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135511#M50064</link>
      <description>Hi ALe,&lt;BR /&gt;&lt;BR /&gt;on our business Linux boxes we run RHEL 5.[0-2]&lt;BR /&gt;and on private boxes usually CentOS 5.2.&lt;BR /&gt;&lt;BR /&gt;There it is absolutely no issue to online resize an FS on an LV, provided you still have any free PEs left in the VG the LV belongs to.&lt;BR /&gt;&lt;BR /&gt;The standard procedure is&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;# lvextend -L +512m /dev/vgroot/lv_var&lt;BR /&gt;&lt;BR /&gt;# resize2fs /dev/vgroot/lv_var&lt;BR /&gt;&lt;BR /&gt;No more than that is required.&lt;BR /&gt;The FS like /var may stay mounted with lots of active file accesses, no need to change the runlevel.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Oct 2008 10:37:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135511#M50064</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-10-14T10:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux LVM2 - Filesystem extension each time needs the server reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135512#M50065</link>
      <description>Thanks, that's true.&lt;BR /&gt;&lt;BR /&gt;I tried to extend a FS using your instructions and it worked.&lt;BR /&gt;&lt;BR /&gt;The fact is that a colleague told me that I had to umount the FS because in Linux there wasn't the same online option as on HP-UX.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;ALe</description>
      <pubDate>Tue, 14 Oct 2008 11:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135512#M50065</guid>
      <dc:creator>ALe_3</dc:creator>
      <dc:date>2008-10-14T11:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linux LVM2 - Filesystem extension each time needs the server reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135513#M50066</link>
      <description>Thanks to Ralph</description>
      <pubDate>Tue, 14 Oct 2008 11:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-lvm2-filesystem-extension-each-time-needs-the-server/m-p/5135513#M50066</guid>
      <dc:creator>ALe_3</dc:creator>
      <dc:date>2008-10-14T11:29:28Z</dc:date>
    </item>
  </channel>
</rss>

