LVM and Linux

I have medium sized 9i warehouse (750GB). I have read Bert Scalzo's article on OTN about "Linux Maximus Part 2: The RAW Facts on File Systems". He suggests that using LVM with Linux over hardware RAID provides better performance. I have a Dell server with a 14 disk array attached. Can I set LVM up on such a configuration?
Thank you,
Michael

Excerpts prior thread,
"Prior to starting the migrated VM you will have to update "grub.conf" and "device.map". I also find it useful to clear out the "blkid.tab" cache. Rebuilding "initrd" is also recommended."
P2V
"If the legacy system uses LVM for block devices then "ssh | tar" method will migrate to simple filesystem. There is no need for LVM on a VM."

Similar Messages

  • Lvm and gparted

    a few months ago i installed arch linux on my computer. i use reiserfs as a filesystem and i have lvm on it (or is this backwards, i don't know ). i really don't know why i used lvm at installation, but at that time it seemed to me as a great tool to manage different "partitions" (logical volumes) on one partition. now i am thinking to cut a little space from my windows partition and give it to linux. So i have a few (well lots of ) questions.
    My specs first:
    # fdisk -l
    Disk /dev/sda: 118.5 GB, 118526284800 bytes
    255 heads, 63 sectors/track, 14410 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1912 15358108+ 7 HPFS/NTFS
    /dev/sda2 * 1913 1925 104422+ 83 Linux
    /dev/sda3 1926 14410 100285762+ f W95 Ext'd (LBA)
    /dev/sda5 1926 4475 20482843+ 7 HPFS/NTFS
    /dev/sda6 4476 4606 1052226 82 Linux swap / Solaris
    /dev/sda7 4607 14410 78750598+ 8e Linux LVM
    # di -h
    Filesystem Mount Size Used Avail %Used fs Type
    /dev/mapper/VolGro / 10.0G 4.6G 5.4G 46% reiserfs #VolGroup00-lvol0
    /dev/sda2 /boot 101.9M 59.5M 42.4M 58% reiserfs
    /dev/mapper/VolGro /home 65.1G 46.6G 18.5G 72% reiserfs #VolGroup00-lvol1
    /dev/sda5 /mnt/win 19.5G 12.1G 7.5G 62% fuseblk
    And questions:
    1. can i resize partitions using gparted without damaging data on them? does this include partitions with lvm on them?
    2. can i resize logical volumes on lvm without damaging data on them too? is snapshot used at doing this and how?
    3. is there any benefit of using lvm if i can resize partitions without damaging data on them?
    4. does changing logical volumes require a restart?
    5. why does gparted show that on /dev/sda7 there is only 34 MB of used space?
    6. is it ok to have two partitions marked as boot?
    thank you for your answers.
    Last edited by billy (2007-02-24 17:25:19)

    Originally Posted by cmosentine
    I am building out a replacement server which will be the target for a server migration. The server will host an NSS volume. In the past I have always created an array-level logical drive for my NSS partiton/volume. Rather than doing this, I would rather just have one logical drive and partition the space using LVM (except for /boot and swap). Once I create the LVM and add /, /home, /var, /tmp to it, I will have a lot of extra space which I want to use for the NSS volume.
    So, is it possible to use the unused space in LVM for NSS? Or should I stick which a separate logical partition for NSS?
    Chris
    With OES11 it's possible and quite easy to use the left free space on the system disk for NSS.
    It also does not have the potential for havoc as was the case with OES2 (as with OES2 this was also possible, it just meant using EVMS on the system disk device, which could lead to issues booting after patching of updating due to needed missing kernel modules for EVMS within initrd).
    Still, even with it being possible and supported to do so, if you can house the OS bits and data (be it on NSS and other filesystems) on different disk devices.. that would always be what I'd opt for. It makes certain maintenance/recovery and update tasks easier/more flexible/reliable as OS and data partitions are not within one and the same "container".
    Cheers,
    Willem

  • LVM and EBS R 12

    hi
    is there any issue arise if we use LVM on DB tier as partion and apps tier on IBM peoduction server and RHEL5.3 ?
    DB 10.2.0.2.0
    APPS EBS R12 RUP 6.
    rgrds

    Hi You;
    I found one note, its not recomended, please check below
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107.pdf
    Its mention there:
    *Raw logical volumes (LVM)—LVMs are supported in less complicated configurations where an LVM is mapped to a LUN, or an LVM uses disks or raw
    partitions. LVM configurations are not recommended by Oracle because they create a duplication of functionality. Oracle also does not recommended using
    LVMs for mirroring because ASM already provides mirroring.*
    But there are some note too:
    HOWTO Understand And Use The Logical Volume Manager (LVM) On Linux [ID 858497.1]
    Setting up ASM on linux wiht LVM [ID 292348.1]
    I belive its best way to confirm it wiht oracle support
    Regard
    Helios

  • Question regarding Oracle and Linux on VMware

    Hello,
    I carefuly read the paper on Oracle and Linux on Your Own VMware and I'm missing a point.
    The paper explains how to start a cluster on a single host in a single Linux VM on VMware.
    So, there are 2 instances of Oracle 10g DB on the same Linux VM inside VMware. What does allow that?
    Is it possible to run 2 instances on any (single) Linux box, or is VMware required? If VMware is not required, why this complication in that paper? If VMware is required, what does it bring that make running 2 cluster instances on the same host possible?
    Many thanks for your help.

    userLynx wrote:
    I have an oracle database (10.2) and I have a query that needs to compare data on the Oracle database to data on a MS SQL server DB. I'm using a DB Link between the two databases.
    How would I compare the date fields?
    I have a table that has a date as one of the fields and I need to restrict the records where the date is equal to the date on SQL, however the formats are different:
    My query is as follows:
    SELECT mkt_css_name,
    pmv_rqst_corp_id,
    pmv_rqst_source,
    'G',
    pmv_css_acct_no,
    eq.start_date
    FROM power_move@cmdt,
    enroll_que@tcis eq,
    marketer@cmdt
    WHERE eq.css_account_number = pmv_css_acct_no
    AND eq.requestor_type = 'P'
    AND eq.status IN ('A','P','G','S')
    AND eq.marketer_id = mkt_seq_no
    AND pmv_service_type IN ('G','D')
    And Pmv_Gas_Mktr_No = Eq.Marketer_Id
    AND pmv_received_timestamp= eq.enroll_date ;
    The problem is that the date is stored in Oracle in the following format: DD-MON-YYYY and in SQL as 'YYYY-DD-MM HH:MI:SSSSSS'
    for example: Data in Oracle would be 27-JAN-2012 and in SQL as 2012-01-27 00:00:00.000
    I get an error when I compile.
    How do you reconcile the formats when the syntax is different between databases?
    Thanks, SeanDATE datatypes do NOT have any "format"
    DATE datatype is stored in internal binary notation.
    use TO_CHAR to display, present & compare the DATE datatypes

  • Why  difference in Solaris and Linux

    Hi,
    The following program is giving results diferently when I am executing using g++ compiler in Solaris and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );
    strcpy(buf, "HelloWorld");
    printf("\n Address is : %u String is : %s size : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) = '\0';
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Solaris:
    Address is : 134160 String is : HelloWorld size : 4
    Address is : 135704 String is : HelloWor
    Linux:
    Address is : 134518824 String is : HelloWorld size : 4
    Address is : 134518824 String is : HelloWorldAB
    Thanks
    Venkat

    Hi,
    The following program is giving results diferently
    when I am executing using g++ compiler in Solaris
    and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );The size you get here is the size of buf, which is the size of a pointer, not the size of what buf points to. sizeof(*buf) would give you size of a char, the type (not the object) that buf points to.
    There is no portable way to find out the number of bytes allocated on the heap if you are give only a pointer to the memory. You have to remember the size some other way..
    strcpy(buf, "HelloWorld");A literal string consists of the characters in the string plus a terminating null, all of which are copied by strcpy. You allocated 10 chars for buf, but are writing 11 chars into it. At this point, the program has undefined behavior. Literally anything at all could happen, because you can't predict the effect of writing outside the bounds of allocated memory.
    printf("\n Address is : %u String is : %s size :
    e : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)The "sizeof" operator in this case is returning the size of the type of a literal 20, which is an int. If you want to allocate 20 bytes, you write 20, not sizeof(20).
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) == '\0';SInce you can't count on buf having more than 4 bytes at this time, you are writing into unallocated memory, with undefined results.
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Instead of asking why you get different results on different platforms, you should be asking why the program doesn't crash on all platforms. :-)
    You can avoid these problems with keeping track of allocating memory by using the C++ standard library instead of trying to manage low-level details yourself as in C code.
    The standard string class, for example, extends itself as needed, and ensures that heap memory is freed when the string object is deleted or goes out of scope. You don't need pointers, malloc, free, or sizeof to use C++ strings.

  • Personas suddenly not working Firefox 30, 31, 32 on Win 7 Pro x64 and Linux Mint 16 x64

    Personas which have been working for a long time suddenly quit working on Win 7 and Linux. I tried changing to a different persona to change the background for the top border of the window and it just goes to some odd color and the personas just don't show up. This has been with Firefox 30, 31, 32. The personas still work with Win XP Pro run as a virtual machine on Win 7 host or Win 8 host. I thought it was a Windows thing until I saw the same problem with Linux. Everything else seems normal so this isn't a real bad problem. It's just odd.

    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use Private Browsing mode"

  • Why keyboard and mouse right click not working in Solaris and Linux?

    Hi all,
    I have two problems:
    1) I am working on AWT/Swing application and its working fine in window enviornment,but while running on solaris and linux mouse right-click option window not poping up.
    2) Ctrl+c,Ctrl+v,Home and End keyboard key are not working in solaris and linux OS for same application.
    Pls provide me some solution for these problem.
    -Dinesh

    Hi Nik,
    Thanks for reply. I found some solution for the above problem.
    For mouse right click there was problem in my source code.I have not implemented the mousePressed() method
    In case of keyboard Home, End and arrow key working fine after exporting AWTUSE_TYPE4_PATCH=false; in solaris and linux
    But still Ctrl-c and Ctrl-v not working.
    I am using JDK1.5.0_07+Eclipse IDE 3.1
    -Dinesh

  • Is there any way to create an installer for Mac OS and Linux OS once a stand alone application is created?

    Is there any way to create an installer for Mac OS and Linux OS once a stand alone application is created?  I have created an executable application that I want to distribute to Mac and Linux users (different applications were created in the respective OS).  I was wondering if there is any way to create an installer?  I think there probably isn't...  If the user were to simply download the Labview Run-time Engine from ni.com would they be able to run the application or is it more complicated than that?
    Thanks so much for your time.

    I think Shane tried to say, that it is on the Mac OS X installation DVD, NOT the LabVIEW for Mac OS X installation medium. And that could very well have changed in recent Mac OS X versions as well. They used to have Xcode on it too, but that seems gone as well.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Steps to export and import oracle 10g databse from AIX to AIX and LINUX

    Hi,
    I need the steps to export the oracle 10g database from AIX server to AIX server and LINUX server.
    Please give me all the steps as this is my first exort an import activity.
    thanks,

    For 10g there exist two ways to do so.
    1) Regular exp/imp.
    2) Data pump expdp/impdp.
    As this is your first export and import activity, relevant concept understanding is mandatory for you.
    Documentation Link
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
    Read the chapters 1,2,3 (Data pump expdp/impdp) and 19 (regular exp/imp). Good luck.

  • Dual Boot Windows 8 and Linux?

    I have (UEFI System) an ASUS K55A UEFI motherboard laptop that came factory with Windows 8. I would like to install backtrack linux and Windows 8, but before I go screwing up my laptop, I want to see if this would be at all possible. I would use a virtual
    machine, but I need Backtrack Linux on a physical machine for testing purposes as I am taking a course in computer forensics, and I want to test cracking my home wi-fi. My processor is an Intel Core i5 2.5 ghz with a 500 GB HDD and 8GB DDR3 RAM. Any insight
    on this would be appreciated. Thank You.

    Hi,
    You can refer to this article to get detail information.
    http://apcmag.com/how-to-dual-boot-windows-8-and-linux.htm
    Niki Han
    TechNet Community Support

  • DUAL BOOT windows 7 and linux HELP with Current info on BIOS, MBR vs GPT, etc

    I have a feeling this should be easier than what I'm making it.  Please educate me on Lenovo's BIOS Setup menus, etc.
    I have installed easyBCD in Windows 7, and plan to use it to set up my new boot menu with Linux Mint (and possibly other distros).
    I am using a live DVD.  I inserted the DVD and went into SETUP and selected to boot off the DVD drive.  It started to boot into Linux and all was going well.
    However, I realized that I had not checked on the Secure features (Secure Boot, EFI).  So I shutdown again and went into BIOS.  I went to the SECURITY menu and Disabled UEFI.  Then I disabled Secure boot.
    Tried to boot off the DVD and couldn't get anywhere.  Kept putting me back into the window to select the boot device over and over again.  THought I'd ruined my machine
    Anyway, finally stumbled upon STARTUP menu, and put it into EFI Legacy, and I was able to get back into Windows 7.
    Obviously before I pursue this further, I need some educaiton on your MENUS, Lenovo and EFI/Secure Boot.
    I have a feeling that I can probably now install the Linux but want to make sure my settings are correct before I pursue.
    Thanks, Kim
    Moderator note:  this thread gets more Linux-flavored with each post   Moved from the "T" board to the Linux board.

    Hi, thanks for ans.  Your specs are almost identical to my T530 ,which I should have listed.  The only diff is
    I have an i7 35something processor.   Same intel card, RAM and HDD, not that that should matter I'm guessing.
    I purposely avoided the Nvidia card because of all the heaadaches with Nvidia. 
    I have to teach a class tomorrow and I need to clean up my notes.  (Definitely not computer related...LOL.)  I don't want to  be stressed out about this during class, so I plan to wait to attempt a new install tomorrow afternoon.
    What I have done is find out some more info about dual booting with windows 7.  I went in to windows 7 to shrink the C: partiition and it said I'd have to reserve at least 220 GB for MS!  Not what I wanted; I don't really care a thing for MS.  I was born and raised on Unix and Linux; I never really fiddled with MS after the demise of MS-DOS during my college days.
    Given that, and the fact that I'd lose half my 500 GB HDD to the Borg, I may just chuck the entire dual boot thing and just load Linux on it. 
    If you say you're running Linux on it just fine, that would be a great encouragement.  No HW problems at all? Everything working fine?  Which distro are you using? 
    I plan to test Mint, Fedora, PCLinuxOS, Mageira (sp?), saybahon (sp again?), Debian Wheezy, and even Pear, LOL. I'll keep trying till I find a distro to run on my Lenovo T530, but I'm guessing all of 'em should do okay.
      I have Lubuntu I could give a spin, as well and Crunchbang and Bodhi, but they're all 32 bit.  (I have an antique Dell desktop that I still use down in my woman cave.)

  • DUAL BOOT windows 7 and linux HELP

    MASTERS
    im planing to have windows 7 and linux at the same time (DUAL BOOT)
    but i dont know if one key recovery still works after installation
    ihave lenovo g560
    i3 @ 2.53
    4gb ram
    any advice guys?

    hi botards01,
    If you're planning to use linux occasionally (Ubuntu for example) and you don't want to risk losing the One Key Recovery functionality, try to install Ubuntu via Wubi as this doesn't repartition your HDD but creates a virtual disk on your current OS.
    Check it out - Install Ubuntu in Windows With Wubi
    Hope this helps
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Dual booting pre-installed Windows 8 and Linux?

    I just bought a G780 with Windows 8 pre-installed. Ideally, I would also like to install some flavor of Linux. I've been searching but not finding much info on how difficult or time-consuming this would be, or if there are any special considerations or anything. I've found some guides on dual-booting Windows 8 and Linux but they were all for installing Windows straight from a disk, not anything where it's already pre-installed, and some indicated they thought it might be problematic to use a pre-installed version of Windows. Anyway I was hoping that if anybody has done this on the G780 or even a similar laptop that you could share how it went and any difficulties you encountered. I'm open to using any Linux distro if it'll be easy to install. I would appreciate any info you could share. Thanks.

    I had issues with Windows 8 as pre-installed on my G580, my employer at the time was using Windows 7 only and would not allow upgrades for security purposes.  I deleted the entire drive (including hidden) knowing at some point I would re-install Windows 8 or later from retail disk when needed.
    Linux can resize partitions during the install process, but be careful not to disturb the hidden partition or the windows boot loader in the process.  Linux Mint is the best yet for this purpose, OpenSUSE and Fedora failed, CentOS failed and Ubuntu was not able to boot, but did not "hurt" the windows partitions.
    Good luck.

  • G780: dual boot Win 7 and Linux

    I have a G780 with win7 pre-installed. When I tried to get GNU/Linux Mint Dual-booting, the wifi-driver didn't work and most importantly, I wasn't able to make a new partition because there were already four: the boot-partition, the windows-partition, one labeled "Lenovo" and one "Lenovo2" (or something like this). The hard-disk is formatted in a way so that only four partitions are allowed.
    Does anyone have an idea how to solve those problems?
    Moderator note:  off-topic post moved to its own thread.  Subject edited to match content.  Was:  Re: Dual booting pre-installed Windows 8 and Linux?

    Hi Zoltan.
    You'll need to operate on the partitions with gparted. It uses its own partition table type, gpt, instead of the DOS partition type, which limits the number of primary partions to four.
    I believe that Mint comes with gparted, but you can boot gparted from a live cd or usb.  With it you can shrink the Windoze partition to create root, swap and home partitions.
    Regards,
    KD

  • Fonts in java apps for win and linux

    Hi everyone.
    i need to build an application mult-plataform, to run in windows and linux...
    but i don�t know waht font i must use...the default font that java takes doesn�t exist in linux (dialog)...
    waht font should i use in my app??
    thanx

    For going multi-platform it is easiest to stick to the logical fonts: Fonts named "Serif", "SansSerif", "Monospaced", "Dialog", and "DialogInput".
    These fonts are guaranteed to exist on any platform, although their implementations may be different. If you use others then you'll have to figure out how to deal with cross platform issues.
    Jeff

Maybe you are looking for

  • Speeding up creation of network servers

    Hi every one, I've seen so many requests in this form on how to handle multiple clients and socket programming in general. Most of us face this requirement in our projects and start from basic ServerSocket and Sockets every time we build servers. On

  • Cannot get Hostgator email with IMAP to work with Thunderbird

    I have cpanel for VPS hostig with Hostgator.com One of my domains, www.fasttractionmarketing.com has webmail with hostgator wihich is working properly. I have been trying for hours to get email set up with Thuderbird client. I have dlownloaded Thunde

  • Aperture trial serial number never arrives

    I'm sure there's a sensible reason for this. I'd like to give Aperture a trial, and despite having gotten as far as the "Thank you" screen that assures me a trial serial number will soon be sent, I've yet to get one. Yes, I'm relatively certain I typ

  • FM9: Exiting Full Screen Mode?

    How can you exit full screen mode in FM9? the only way I could do it was by closing all of my files, quiting FM, and relaunching FM. There seems to be no shortcut key associated with bringing the program out of full-screen mode. If you can see the me

  • How to correctly serialize object

    I'm new to object serialization, I'm using RMI for a small program I'm working on. The question I'm really asking is how do I return my object back to the client from the server? I get this error java.lang.IndexOutOfBoundsException: Source does not f