Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all, I have a Dell workstation, 2 HDD, HDD 1 setuped Red Hat 5.3 with LVM, and that HDD 2 is empty....not install RAID 1... And, i want to ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    10

    Lightbulb problem with RAID 1, LVM on Red Hat 5.3

    Hi all,

    I have a Dell workstation, 2 HDD, HDD 1 setuped Red Hat 5.3 with LVM, and that HDD 2 is empty....not install RAID 1...

    And, i want to setup RAID 1 (hardware RAID)...but, have a problem...

    I don't want to lost data on HDD 1 when i setup raid, i try ghost or backup it...,but when i restore, it error because LVM is setup on that...

    Have another solution ?

    Please help...very very emergency

    Thanks all, have a nice day...

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    I think you can setup the RAID for mirroring even with LVM installed, but it depends upon the device (raid controller) you are using. At worst, you will have to backup data to external drive, reconfigure your system to RAID-1, then restore data to RAID device(s). Once you have the RAID configured, you can set it up as an LVM, before you restore the data from external device. In any case, if this is your boot/system drive(s), then you will need to do a full reinstall of the OS, reinstall all required applications, and only restore your data - not system files... Not fun.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux User Manko10's Avatar
    Join Date
    Sep 2010
    Posts
    250
    If it is a real hardware RAID there should be no problem. If it's just fake hardware RAID (e.g. the RAID controller of your motherboard) you might need to back up your drive as Rubberman wrote.
    Refining Linux Advent calendar: “24 Outstanding ZSH Gems

  4. #4
    Just Joined!
    Join Date
    May 2010
    Posts
    10

    Exclamation Thanks for support

    Thanks....

    I decide setup RAID before reinstall RHL5, a i want setup it like old system, this is partitions setuped on old my system...

    df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    228G 5.1G 211G 3% /
    /dev/sda3 190M 13M 169M 7% /boot
    tmpfs 36G 0 36G 0% /dev/shm
    and
    fdisk -l

    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 10 80293+ 6 FAT16
    /dev/sda2 11 794 6297480 c W95 FAT32 (LBA)
    /dev/sda3 * 795 819 200812+ 83 Linux
    /dev/sda4 820 38913 305990055 5 Extended
    /dev/sda5 820 38913 305990023+ 8e Linux LVM
    i want to install new RHL5 like old system above...

    But when config partiton, i not config like above...

    /dev/sda1 1 10 80293+ 6 FAT16
    /dev/sda2 11 794 6297480 c W95 FAT32 (LBA)
    like above...

    have you another ideas ? and how to config it ?

    Thanks all
    Last edited by kingcasino; 12-08-2010 at 02:09 AM.

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Why the FAT partitions? They aren't particularly useful for Linux systems, especially since you don't have DOS/Windows installed on it. Just because it was that way before doesn't mean you can't do it better now.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...