Author: eelco Date: Tue Mar 20 21:38:38 2012 New Revision: 33307 URL: https://nixos.org/websvn/nix/?rev=33307&sc=1
Log: * Wait for RAID resync to complete before rebooting. Booting off an unsynced volume tends to fail. (http://hydra.nixos.org/build/2310338) Modified: nixos/trunk/tests/installer.nix Modified: nixos/trunk/tests/installer.nix ============================================================================== --- nixos/trunk/tests/installer.nix Tue Mar 20 19:11:22 2012 (r33306) +++ nixos/trunk/tests/installer.nix Tue Mar 20 21:38:38 2012 (r33307) @@ -282,7 +282,9 @@ "ls -l /dev/vda* >&2", "cat /proc/partitions >&2", "mdadm --create --force /dev/md0 --metadata 1.2 --level=raid1 --raid-devices=2 /dev/vda5 /dev/vda6", + "mdadm -W /dev/md0", # wait for sync to finish; booting off an unsynced device tends to fail "mdadm --create --force /dev/md1 --metadata 1.2 --level=raid1 --raid-devices=2 /dev/vda7 /dev/vda8", + "mdadm -W /dev/md1", "mkswap -f /dev/md1 -L swap", "swapon -L swap", "mkfs.ext3 -L nixos /dev/md0", _______________________________________________ nix-commits mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-commits
