You are on page 1of 3

24/4/2014

Creating Hardware raid root mirror in T2000 | Krishna Kumar K Solaris Blogs

Krishna Kumar K Solaris Blogs Just another WordPress.com site

Creating Hardware raid root mirror in T2000


June 11, 2012 Hi, One thing to remember is we can not convert any existing os root file system to hardware raid when the system is up and running. Here I am creating hardware raid mirror in one of T2000 box. My machine details are as follows: 1.# prtdiag -v System Configuration: Sun Microsystems sun4v Sun Fire T200 System clock frequency: 200 MHz Memory size: 8184 Megabytes 2. # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c0t0d0s0 67G 4.3G 62G 7% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 6.4G 1.3M 6.4G 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object sharefs 0K 0K 0K 0% /etc/dfs/sharetab /platform/SUNW,Sun-Fire-T200/lib/libc_psr/libc_psr_hwcap1.so.1 67G 4.3G 62G 7% /platform/sun4v/lib/libc_psr.so.1 /platform/SUNW,Sun-Fire-T200/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 67G 4.3G 62G 7% /platform/sun4v/lib/sparcv9/libc_psr.so.1 fd 0K 0K 0K 0% /dev/fd swap 6.4G 32K 6.4G 1% /tmp swap 6.4G 40K 6.4G 1% /var/run # format Searching for disksdone AVAILABLE DISK SELECTIONS: 0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@780/pci@0/pci@9/scsi@0/sd@0,0 1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@780/pci@0/pci@9/scsi@0/sd@1,0 Specify disk (enter its number):
http://kksol.wordpress.com/2012/06/11/creating-hardware-raid-root-mirror-in-t2000/ 1/3

24/4/2014

Creating Hardware raid root mirror in T2000 | Krishna Kumar K Solaris Blogs

# raidctl -l Controller: 0 <<This indicates that no volumes have created as of now. Disk: 0.0.0 Disk: 0.1.0 so let us start creating hardware raid in this server. 3. {0} ok setenv auto-boot? false 4. {0} ok reset-all 5. ok setenv fcode-debug? true 6. {0} ok probe-scsi-all /pci@780/pci@0/pci@9/scsi@0 MPT Version 1.05, Firmware Version 1.09.00.00 Target 0 Unit 0 Disk HITACHI H101473SCSUN72G SA23 SASAddress 5000cca000140419 PhyNum 0 Target 1 Unit 0 Disk HITACHI H101473SCSUN72G SA23 SASAddress 5000cca00013923d PhyNum 1 143374738 Blocks, 73 GB 143374738 Blocks, 73 GB

7.{0} ok select /pci@780/pci@0/pci@9/scsi@0 8. {0} ok 0 1 create-im-volume Target 0 size is 143243264 Blocks, 73 GB Target 1 size is 143243264 Blocks, 73 GB The volume can be any size from 1 MB to 69943 MB What size do you want? [69943] <<just press enter here Volume size will be 143243264 Blocks, 73 GB PhysDisk 0 has been created for target 0 PhysDisk 1 has been created for target 1 Volume has been created 9. Checking the volume status {0} ok show-volumes Volume 0 Target 0 Type IM (Integrated Mirroring) Degraded Enabled Resync In Progress <<We need to wait until the resync got complete. 2 Members 143243264 Blocks, 73 GB Disk 0 Primary Online Target 4 HITACHI H101473SCSUN72G SA23 Disk 1 Secondary Online Out Of Sync Target 1 HITACHI H101473SCSUN72G SA23
http://kksol.wordpress.com/2012/06/11/creating-hardware-raid-root-mirror-in-t2000/ 2/3

24/4/2014

Creating Hardware raid root mirror in T2000 | Krishna Kumar K Solaris Blogs

10 . Once the volume is ready then we can install os on it. Key points: 1.If the system failed to boot with the first disk it will automatically second disk into consideration and it will boot from second disk. 2. We can not break the hardware mirror as we use to do in svm or vxm only thing is we need to pull the second disk manually.

You May Like


1.

About these ads (http://en.wordpress.com/aboutthese-ads/)

From Uncategorized One Comment 1. formularze ips pity 2013 permalink I read this paragraph completely regarding the difference of newest and earlier technologies, its remarkable article.| Reply

Create a free website or blog at WordPress.com. | The Titan Theme. Follow

Follow Krishna Kumar K Solaris Blogs


Powered by WordPress.com

http://kksol.wordpress.com/2012/06/11/creating-hardware-raid-root-mirror-in-t2000/

3/3

You might also like