So, I’ve been provisioning disks, and stuff recently.. this is how I did it on a Dell. Quite an easy thing to do!
omconfig storage controller action=createvdisk controller=0 raid=r1 size=max readpolicy=ara pdisk=0:0:2,0:0:3 Command successful!
In this case the two disks newly added were 0:0:2 and 0:0:3 on the SAS ‘bus’.
An additional primary partition was created and added for this device sdb1, and a filesystem of the same kind (ext3) as the system disk was created;
mkfs.ext3 /dev/sdb1 mke2fs 1.39 (29-May-2006) .... Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done
You will naturally need to mount the partition and create an fstab entry to make this permanent;
mount /dev/sdb1 /mnt/backup echo "/dev/sdb1 /mnt/backup ext3 defaults 1 1" >> /etc/fstab
You may wish to consider adding the above to fstab manually. It’s not a good idea using echo with it incase you make a mistake ;-D