jilocommercial.blogg.se

Softraid manual
Softraid manual







softraid manual
  1. #Softraid manual how to#
  2. #Softraid manual install#
  3. #Softraid manual manual#
  4. #Softraid manual download#
softraid manual

Taille de secteur (logique / physique) : 512 octets / 4096 octets Md0 : active (auto-read-only) raid1 sdc1 sdd1 When manually assembled, the array looks like this : cat /proc/mdstat Manually assembling it doesn't trigger any error. If that line in fstab is commented, then the boot process goes to the end BUT the RAID array isn't available.

softraid manual

And thus, systemd falls back to some degraded shell after trying to mount the FS described in /etc/fstab. But it is not assembled automatically at boot time. I'm running Debian Jessie with a standard 3.16 kernel. In Lenny (5.First, I prefer to mention I've found and read this. This way, your system will still boot correctly even if you reorder your drives.

#Softraid manual install#

When asked to install bootloader, install to first device:Īfter first boot, consider executing dpkg-reconfigure grub-pc (or dpkg-reconfigure grub-efi-amd64 on EFI systems), and install to all devices.

softraid manual

However, GRUB can not install to a RAID device (e.g., /dev/md0), but will nonetheless work fine. In Jessie (8.0), and I believe Wheezy (7.0), the installer will install GRUB even on RAID installs. Let's assign and format the volumes ( partitions): (which again isn't a good idea, since it's so easy ro resize a partition with LVM) In this example, we wont split the filesystem (we won't even bother to create a swap, which is a bad idea), so I use all the disk space. Our Logical volume (LV) will use some disk space from vg1 (which belongs to md0): Let's create the logical volume (kind pf partitions): Here, I chose the name vg1 for the group: Let's configure the Logical volume manager:

  • (In this example, we have no spare partition).
  • #Softraid manual manual#

    Once you have reach DebianInstaller partitioning screen.Ĭhoose manual partitioning, then on each disk, manually create a partition (same size on both disks).Ĭhoose the type of multidisk device to be created:

    #Softraid manual how to#

    Those few screenshots show how to install root on lvm on raid :

    #Softraid manual download#

    Of course, you need to download a cdrom image. $ kvm -hda hda.qcow2 -hdb hdb.qcow2 -cdrom debian-lenny-i386-netinst.iso -boot d we can play, and break themįormatting 'hda.qcow2', fmt=qcow2, size=4194304 kBįormatting 'hdb.qcow2', fmt=qcow2, size=4194304 kB In this example, we use virtual machine ( qemu or kvm). This page contains some screenshots to demonstrate it, and applies to Debian 5.0 through, at least, 8.0, and probably 11.0. Actually, you can have root on RAID1+LVM partition. Lenny (5.0) and later support having the root and /boot partition on RAID volume.









    Softraid manual