Yes | sudo mdadm ...options and arguments... Only use this if you know that you want to answer "yes" to any question mdadm might ask you. This is the approach I used in my sample mdadm commands to set up a 40 TB file system using RAID-0 EBS volumes: alestic.com/2009/06/ec2-ebs-raid.
Thanks. I'm not exactly sure why this was closed as bash scripting is certainly programming. Even if it relates more to system administration generally.
But thanks for your answer. – JCSG 2 days ago.
I run a script on start-up of a m1. Large and m1. Xlarge instances that performs the disc-stripping (RAID-0).
Here is a simplified version (assuming it's m1. Large): echo "Unmounting /mnt..." /bin/umount /mnt echo "Creating RAID0 volume..." /usr/bin/yes|/sbin/mdadm --create /dev/md0 --level=0 -c256 --raid-devices=2 /dev/sdb /dev/sdc echo 'DEVICE /dev/sdb /dev/sdc' > /etc/mdadm. Conf /sbin/mdadm --detail --scan >> /etc/mdadm.
Conf echo "Creating file-system..." /sbin/blockdev --setra 65536 /dev/md0 mkfs. Xfs -f /dev/md0 echo "Mounting the device /dev/md0 to /mnt..." /bin/mount -t xfs -o noatime /dev/md0 /mnt echo "Registering in fstab.." /bin/mv /etc/fstab /etc/fstab. Orig /bin/sed '/\/mnt/ c /dev/md0 /mnt xfs defaults 0 0' /etc/fstab To answer your question, as already mentioned, you can just pipe yes.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.