I need to add two new hard drives of 300 GB capacity to a SunSPARC T5440 server. The server currently has two hard drives of 146 GB each.
How do I add the new drives to the existing UFS?
What are the procedures involved in setting this server with the new hard drives? I am very new to Solaris Administration so any help will be appreciated.
look for a new hardisk
su -
echo | format
then create new UFS on target HDD
newfs /dev/rdsk/xxxxxx
then add new disk to your /etc/fstab file to automatically mount at boot
Thanks for a quick response. I am able to see the new hard disks when I do echo | format.
But when I use the newfs /dev/rdsk/c0t2d0
I get an error - No such file or Directory.
Am I doing some thing wrong here?
use
newfs /dev/rdsk/c0t2d0sx
where x = 0 or 1 or 2 or 3 or 4 or 5 or 6
you need to run format. select the new disk. setup the slice sizes and then run newfs against the slice(s) that you have created.
Thanks for your help. I am currently formatting the partition. Will setup the file system next.
A late comment but anyway, a much simpler method would have been to use ZFS instead of UFS. For example something like:
zpool create mirror c0t2d0 c0t2d1
and that's it.
just attach the disks and run the command devfsadm and go for the formats for sparc it takes 7 slices convert it by label