Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: RAID 1 Setup

  1. #21
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RAID 1 Setup

    Well you seem to have gone off on your own here. What you appear to have now is 2 300GB RAID partitions and no Windows partitions.

    The array is missing sda1 not sdb1. That's why your add command failed. Try
    sudo mdadm --add /dev/sda1

    Did you say that Ubuntu is running fine on the degraded RAID?


    You'll need to reinstall Windows to the unallocated 700GB on one of the disks, if that's what you want.
    Last edited by YesWeCan; September 14th, 2011 at 02:52 PM.
    ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0

  2. #22
    Join Date
    Mar 2010
    Location
    Isn't it obvious?
    Beans
    432

    Re: RAID 1 Setup

    Code:
    reed@Reeds-custom-computer:~$ sudo mdadm --add /dev/sda1
    mdadm: /dev/sda1 does not appear to be an md device
    reed@Reeds-custom-computer:~$
    I didn't do anything to my knowledge that deleted my windows partitions, but I don't mind reinstalling.

    Yes, Ubuntu is fine on the degraded RAID.
    Last edited by catlover2; September 14th, 2011 at 08:00 PM. Reason: typos

  3. #23
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RAID 1 Setup

    Quote Originally Posted by catlover2 View Post
    Code:
    reed@Reeds-custom-computer:~$ sudo mdadm --add /dev/sda1
    mdadm: /dev/sda1 does not appear to be an md device
    reed@Reeds-custom-computer:~$
    I didn't do anything to my knowledge that deleted my windows partitions, but I don't mind reinstalling.

    Yes, Ubuntu is fine on the degraded RAID.
    Gawd what am I like?
    sudo mdadm /dev/md0 --add /dev/sda1

    That ought'a do it. Looks like you've set the LVM up right, etc.
    ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0

  4. #24
    Join Date
    Mar 2010
    Location
    Isn't it obvious?
    Beans
    432

    Re: RAID 1 Setup

    OK, mdam: added /dev/sdc1. cool. (yes the letters changed again lol.)

    In disk utility it says State: Degraded. Action: Recovering

    I guess I'm done?

  5. #25
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RAID 1 Setup

    Pretty close, I think. You'll need Grub installed in both disks so you can boot off either if you need to, so don't forget step 29 and choose /dev/sdb and /dev/sdc (or whatever the devices are called now!).

    I'd be interested in seeing more details of your LVM volumes. If you have time would you mind posting the outputs of:
    sudo pvs
    sudo vgs
    sudo lvs
    ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0

  6. #26
    Join Date
    Mar 2010
    Location
    Isn't it obvious?
    Beans
    432

    Re: RAID 1 Setup

    Code:
    reed@Reeds-custom-computer:~$ sudo pvs
    [sudo] password for reed: 
      PV         VG     Fmt  Attr PSize   PFree
      /dev/md0   system lvm2 a-   279.39g 3.09g
    reed@Reeds-custom-computer:~$ sudo vgs
      VG     #PV #LV #SN Attr   VSize   VFree
      system   1   4   0 wz--n- 279.39g 3.09g
    reed@Reeds-custom-computer:~$ sudo lvs
      LV   VG     Attr   LSize   Origin Snap%  Move Log Copy%  Convert
      home system -wi-ao 117.00g                                      
      root system -wi-ao  35.00g                                      
      swap system -wi-ao   4.30g                                      
      vbox system -wi-ao 120.00g                                      
    reed@Reeds-custom-computer:~$
    This might be better in a different thread, but how can I setup the 1.5TB drives that I will get tomorrow in a RAID 1 that both Windows and Linux can access?

    Thank you for all your help!!
    Last edited by catlover2; September 14th, 2011 at 09:12 PM.

  7. #27
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RAID 1 Setup

    That looks good. You now have a 300GB RAID-1/LVM partition on a pair of 1TB drives. The thing is like a layer cake:

    file systems
    LVM logical volumes
    LVM volume group
    mdraid device
    disk partition

    So if you ever want to enlarge it you have to enlarge each layer starting from the bottom and working up. Post back if you want to do this.


    To have a RAID that both Windows and Ubuntu can access will require you to use Windows RAID (or Fake RAID). You have to configure the BIOS to make the two 1.5TB drives RAID-1 members, then install Windows with the appropriate drivers. Fake RAID makes a whole disk a RAID device. You then have to install Ubuntu to it, probably using the alternate install ISO. I don't know much about this but these are the things you'll need to Google for.
    See also: http://ubuntuforums.org/showthread.p...highlight=raid

    Good luck.
    ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

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