Lines Matching refs:raid_dev
552 local i part_name raid_name raid_dev uuid
562 raid_dev="/dev/md/$raid_name"
566 "$raid_dev"
572 …echo y | mdadm --create "$raid_dev" --name "$raid_name" --uuid "$uuid" /dev/disk/by-id/ata-foobar_…
573 udevadm wait --settle --timeout=30 "$raid_dev"
574 mkfs.ext4 -L "$part_name" "$raid_dev"
578 mdadm -v --stop "$raid_dev"
580 mdadm --assemble "$raid_dev" --name "$raid_name" -v
585 mdadm -v --stop "$raid_dev"
590 raid_dev="/dev/md/$raid_name"
594 "$raid_dev"
600 …echo y | mdadm --create "$raid_dev" --name "$raid_name" --uuid "$uuid" /dev/disk/by-id/ata-foobar_…
601 udevadm wait --settle --timeout=30 "$raid_dev"
602 mkfs.ext4 -L "$part_name" "$raid_dev"
606 mdadm -v --stop "$raid_dev"
608 mdadm --assemble "$raid_dev" --name "$raid_name" -v
613 mdadm -v --stop "$raid_dev"
618 raid_dev="/dev/md/$raid_name"
622 "$raid_dev"
627 "${raid_dev}1"
628 "${raid_dev}2"
629 "${raid_dev}3"
638 …echo y | mdadm --create "$raid_dev" --name "$raid_name" --uuid "$uuid" /dev/disk/by-id/ata-foobar_…
639 udevadm wait --settle --timeout=30 "$raid_dev"
642 sfdisk --wipe=always "$raid_dev" <<EOF
654 mdadm -v --stop "$raid_dev"
656 mdadm --assemble "$raid_dev" --name "$raid_name" -v
661 mdadm -v --stop "$raid_dev"
667 local part_name raid_name raid_dev uuid vgroup
676 raid_dev="/dev/md/$raid_name"
681 "$raid_dev"
689 …echo y | mdadm --create "$raid_dev" --name "$raid_name" --uuid "$uuid" /dev/disk/by-id/ata-foobar_…
690 udevadm wait --settle --timeout=30 "$raid_dev"
692 lvm pvcreate -y "$raid_dev"
694 lvm vgcreate "$vgroup" -y "$raid_dev"
705 mdadm -v --stop "$raid_dev"
709 mdadm --assemble "$raid_dev" --name "$raid_name" -v
714 mdadm -v --stop "$raid_dev"