<?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 OS Partitions - on HW RAID Disk -- to LVM oor Not? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537051#M38973</link>
    <description>LVM, a volume manager, as on any unix is highly advisable.&lt;BR /&gt;&lt;BR /&gt;it makes working with disks easier (although it might seem more complex at start). you can resize filesystems easily. another great advantage is that a filesystem can span multiple disks. filesystem don't have to be continous blocks on disks. cluster operations are easier too i find. etc.&lt;BR /&gt;&lt;BR /&gt;main purpose of raid is protection, main purpose of lvm is disk management.</description>
    <pubDate>Fri, 20 Nov 2009 08:28:32 GMT</pubDate>
    <dc:creator>dirk dierickx</dc:creator>
    <dc:date>2009-11-20T08:28:32Z</dc:date>
    <item>
      <title>Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537043#M38965</link>
      <description>&lt;!--!*#--&gt;With the exception of /boot of course - is there any operational advantage to having my OS partitions using LVM if the underlying disk is already HW protected?&lt;BR /&gt;&lt;BR /&gt;This:&lt;BR /&gt;# df -k&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/mapper/vg00-root&lt;BR /&gt;                      20314748   3136312  16129860  17% /&lt;BR /&gt;/dev/mapper/vg00-var  40342864    440852  37819608   2% /var&lt;BR /&gt;/dev/mapper/vg00-opt  10157368    185576   9447504   2% /opt&lt;BR /&gt;/dev/mapper/vg00-tmp   2031440    247312   1679272  13% /tmp&lt;BR /&gt;/dev/sda1               256666     24941    218473  11% /boot&lt;BR /&gt;tmpfs                 66050764         0  66050764   0% /dev/shm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or This:&lt;BR /&gt;&lt;BR /&gt;# df -k&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/sda3             20315844   9302180   9965024  49% /&lt;BR /&gt;/dev/sda5             10153988    566296   9063576   6% /opt&lt;BR /&gt;/dev/sda6             41611472  17303484  22160100  44% /var&lt;BR /&gt;/dev/sda1              1019208     46788    919812   5% /boot&lt;BR /&gt;tmpfs                123610636         0 123610636   0% /dev/shm&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 18:46:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537043#M38965</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T18:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537044#M38966</link>
      <description>Logical volumes can be resized on-line.&lt;BR /&gt;&lt;BR /&gt;Resizing traditional partitions always requires that all filesystems on that disk must be unmounted, so that the system can start using the new partition table.&lt;BR /&gt;&lt;BR /&gt;Because root filesystem cannot be unmounted, resizing the partitions on a system disk always requires a reboot.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 19 Nov 2009 19:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537044#M38966</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-11-19T19:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537045#M38967</link>
      <description>Matti..&lt;BR /&gt;Since these are OS/SYstem partitions -- the likelihood of ever resizing them will be pretty remote as 'cept for /var and /tmp most filesystems are or will be static anyway -- So I question whether it is worth it.&lt;BR /&gt;&lt;BR /&gt;Besides -- during a SystemRescue Boot -- would I be easily able to mount my System Partition that are on LVM? I have not tried - but I am just guessing one would go throught he VM gyrations - right? But if the paritions were simple slices -- it would just be a simple mount.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 19:13:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537045#M38967</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T19:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537046#M38968</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i don't see any reason to use LVM, on HW raid,&lt;BR /&gt;&lt;BR /&gt;as you mentioned, if you need to use recovery cd, for me is simple to mount typycal FS instead of LVM.&lt;BR /&gt;&lt;BR /&gt;mikap&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 20:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537046#M38968</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-11-19T20:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537047#M38969</link>
      <description>I agree that resizing is a good reaons, and you do can resize / online, I did it as you don't have to modify the partions, just extend the logical volumes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; Besides -- during a SystemRescue Boot -- would I be easily able to mount my System Partition that are on LVM? I have not tried - but I am just guessing one would go throught he VM gyrations - right? But if the paritions were simple slices -- it would just be a simple mount.&lt;BR /&gt;&lt;BR /&gt;When you enter in rescue mode, you just need to run:&lt;BR /&gt;&lt;BR /&gt;lvm vgchange -ay&lt;BR /&gt;&lt;BR /&gt;And then, use lvm command before any "known" volume management command, like:&lt;BR /&gt;&lt;BR /&gt;lvm vgdisplay&lt;BR /&gt;lvm lvdisplay&lt;BR /&gt;&lt;BR /&gt;You can also take snapshots, to obtain a consistent backups.</description>
      <pubDate>Thu, 19 Nov 2009 20:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537047#M38969</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-11-19T20:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537048#M38970</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Yes LVM&lt;BR /&gt;&lt;BR /&gt;LVM everything but /boot which can not be on LVM.&lt;BR /&gt;&lt;BR /&gt;Why? Because if you add disk, you can dynamically extend any partiton with the same commands you know and love from HP-UX.&lt;BR /&gt;&lt;BR /&gt;Without LVM, you need to make a new partition and use dd to copy the data and then remount. Possible. Far from fun.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Nov 2009 20:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537048#M38970</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-19T20:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537049#M38971</link>
      <description>&amp;gt; Since these are OS/SYstem partitions -- the likelihood of ever resizing them will be pretty remote as 'cept for /var and /tmp most filesystems are or will be static anyway -- So I question whether it is worth it.&lt;BR /&gt;&lt;BR /&gt;You know the use and configuration of your systems: you decide.&lt;BR /&gt;&lt;BR /&gt;If you use traditional partitioning, remember to make your /var and /tmp roomy enough. My current standard is that there must be enough free space to download a full DVD image to either /var/tmp or /tmp; some application updates are sometimes delivered as ISO images, and there must be a place to put the image for mounting it. &lt;BR /&gt;&lt;BR /&gt;(We operate most of our systems remotely, so the use of a local DVD drive would be inconvenient.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Besides -- during a SystemRescue Boot -- would I be easily able to mount my System Partition that are on LVM?&lt;BR /&gt;&lt;BR /&gt;Yes. For example, the rescue mode of RHEL 4 and 5 does this automatically.&lt;BR /&gt;&lt;BR /&gt;If you need to do it manually, it's simple enough:&lt;BR /&gt;&lt;BR /&gt;vgscan -vv (to explicitly detect the VG configuration, and the -vv option so that you can see the name of the system VG)&lt;BR /&gt;&lt;BR /&gt;vgchange -a y &lt;NAME-OF-SYSTEM-VG&gt;&lt;BR /&gt;&lt;BR /&gt;mount /dev/&lt;NAME-OF-SYSTEM-VG&gt;/&lt;NAME-OF-LV&gt; /&lt;MOUNTPOINT&gt;&lt;BR /&gt;or&lt;BR /&gt;mount /dev/mapper/&lt;NAME-OF-SYSTEM-VG&gt;-&lt;NAME-OF-LV&gt; /&lt;MOUNTPOINT&gt;&lt;BR /&gt;&lt;BR /&gt;In some situations, a system with root filesystem on LVM can be even *more* robust than a traditionally-partitioned system: if you need to move the system disk to a different type of storage controller (IDE to SATA, from one SCSI/SAS controller to another, etc.) you'll only need to make sure that the initrd contains the driver for the new storage controller and that it is loaded by the system (e.g. in RHEL, the /etc/modprobe.conf lists both the old and the new storage controller before re-creating the initrd).&lt;BR /&gt;&lt;BR /&gt;With a traditional system, you must get the /dev/sd* name of the root partition exactly right or your system won't boot, which may be challenging when changing storage controllers. With a LVM system, the initrd will automatically detect all VGs on all storage devices it has drivers for; if the system VG can be accessed with those drivers, the system will automatically find it and use it.&lt;BR /&gt;&lt;BR /&gt;In effect, you can easily achieve a configuration which can boot at least to single-user mode with either old and new controller using the exact same configuration for both cases - very convenient if the new controller turns out to be DOA/incompatible and you'll have to resume using the old controller.&lt;BR /&gt;&lt;BR /&gt;Been there, done that.&lt;BR /&gt;&lt;BR /&gt;Of course, the LVM is different and requires some new skills. Pick the one you're most comfortable with.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/MOUNTPOINT&gt;&lt;/NAME-OF-LV&gt;&lt;/NAME-OF-SYSTEM-VG&gt;&lt;/MOUNTPOINT&gt;&lt;/NAME-OF-LV&gt;&lt;/NAME-OF-SYSTEM-VG&gt;&lt;/NAME-OF-SYSTEM-VG&gt;</description>
      <pubDate>Thu, 19 Nov 2009 23:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537049#M38971</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-11-19T23:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537050#M38972</link>
      <description>Gracias Amigos!&lt;BR /&gt;&lt;BR /&gt;'Been a UNIX Shop at work and we're on our way to moving from RISC to Linux. And it's been kool so far - am not just convinced this is the right move for our uber-large systems - but hey...&lt;BR /&gt;&lt;BR /&gt;We're finding out and I am proving to my team that the transition for UNIX Admins(specially HP-UX admins) is rather easy...&lt;BR /&gt;&lt;BR /&gt;At home and smaller NGOs  I've been using flavours of Linux (mostly Debian/Ubuntu though)  on vMware but in the last 18 months switched to KVM with excellent results.&lt;BR /&gt;&lt;BR /&gt;I will continue to inquire and validate our steps in this forum and will also share my experiences.&lt;BR /&gt;&lt;BR /&gt;Thank you sirs.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Nov 2009 03:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537050#M38972</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-20T03:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux OS Partitions - on HW RAID Disk -- to LVM oor Not?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537051#M38973</link>
      <description>LVM, a volume manager, as on any unix is highly advisable.&lt;BR /&gt;&lt;BR /&gt;it makes working with disks easier (although it might seem more complex at start). you can resize filesystems easily. another great advantage is that a filesystem can span multiple disks. filesystem don't have to be continous blocks on disks. cluster operations are easier too i find. etc.&lt;BR /&gt;&lt;BR /&gt;main purpose of raid is protection, main purpose of lvm is disk management.</description>
      <pubDate>Fri, 20 Nov 2009 08:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-os-partitions-on-hw-raid-disk-to-lvm-oor-not/m-p/4537051#M38973</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2009-11-20T08:28:32Z</dc:date>
    </item>
  </channel>
</rss>

