ferrocomic.blogg.se

Partioning centos server with softraid
Partioning centos server with softraid










  1. PARTIONING CENTOS SERVER WITH SOFTRAID INSTALL
  2. PARTIONING CENTOS SERVER WITH SOFTRAID UPDATE
  3. PARTIONING CENTOS SERVER WITH SOFTRAID SOFTWARE

Begin graphical installation of CentOS.The partition tables of the devices will be zeroed out and all contents of the drives lost!

partioning centos server with softraid

PARTIONING CENTOS SERVER WITH SOFTRAID INSTALL

The following commands may be performed on the 2nd virtual console (Ctrl-Alt-F2) during a graphical install before partitioning, or booted in rescue mode from installation media, or from a LiveCD. It may be necessary to overwrite the partition tables if fake raid has previously been used on the disks.

  • Disable any fake RAID in the motherboard or RAID controller BIOS so that it acts as a normal controller - usually either ATA or SATA, possibly SCSI.
  • partioning centos server with softraid

    If you have data on the drives that you need access to, please backup the drives and test the adequacy of the backups, first. The "dd" commands and the installation procedure described below will destroy all information on the disks. With the /boot constraints satisfied, the root and other partitions may be RAID5 or another type however, these options are not covered in this example. RAID0, RAID5 or other RAID types will not work for /boot and RAID0 (striping with no redundancy) is not recommended for critical partitions. Be very careful to adjust commands for your situation and not simply blindly follow the procedure.īooting will only work with /boot on non-RAID or RAID1 partitions. Adjust drive designations as required for other configurations. Replace /dev/sda and /dev/sdb with /dev/hda and /dev/hdb (or possibly /dev/hdc for a secondary master) respectively for the first two parallel ATA drives. It is also assumed that the devices involved are /dev/sda and /dev/sdb for the first two SATA or SCSI drives. This approach implies hardware controllers that expose the raw block devices directly to the operating system. Never blindly copy/paste commands, particularly as root, without a thorough understanding of their effects. Please experiment first on a test box and then only proceed after creating current and proven viable backups. The actions described in this write-up can damage an existing filesystem. Using this approach avoids the rather kludgy and fragile approach outlined below. You might do so with a small script such as this: and so to get a RAID protected copy of that partition.

    PARTIONING CENTOS SERVER WITH SOFTRAID UPDATE

    As such it is not difficult to gain redundancy of that data with a simple copy, post chnage, to a location under RAID redundancy AFTER an initial installation AND after each update of the kernel. It is relatively small in size under 250 megabytes is customary. "Unsupported" means: when you appear and ask about this article in the #centos IRC channel, the knowledgeable channel regulars will tell you it is NOT SUPPORTED and DO NOT DO THAT.ĭesign consideration: Is it sensible to even be using RAID for the /boot partition? The content at mountpoint: /boot/ is normally placed on a native (non-RAID) partition. Years of experience demonstrate that is is highly likely that you WILL forget to do a bootloader refresh, and run a greater risk of losing data, than the theoretical risk of a hard drive failure.

    partioning centos server with softraid

    PARTIONING CENTOS SERVER WITH SOFTRAID SOFTWARE

    Rather this article is written to document an approach involving much local experimentation, to end up with a fragile result that is not updated when a software update installs a new kernel. It is NOT supported by the CentOS project it is NOT a recommended approach for non-hobby users (see the Design Consideration note, infra). This article addresses an approach for setting up of software (mdraid) RAID1 at install time on systems without a true hardware RAID* controller.












    Partioning centos server with softraid