Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a RAID 5 device 1

Status
Not open for further replies.

phorbiuz

Technical User
Jul 22, 2004
67
GB
I have a Sun box running Solaris 9, consisting of 2 internal disks. This server is currently running DiskSuite with mirrored volumes for the OS, eg:

d0 -m d10
d10 1 1 /dev/dsk/c0t0d0s0
d20 1 1 /dev/dsk/c0t1d0s0

d1 -m d11
d11 1 1 /dev/dsk/c0t0d0s1
d21 1 1 /dev/dsk/c0t1d0s1

etc etc

I have now got an external disk array attached with a series of 'new' disks. What I'd like to do is set these disks up as a RAID 5 device to store music/movie files. Format shows the following output:

0. c0t0d0 <ST39111A cyl 17660 alt 2 hd 16 sec 63>
/pci@1f,0/pci@1,1/ide@3/dad@0,0
1. c0t1d0 <ST39120A cyl 17660 alt 2 hd 16 sec 63>
/pci@1f,0/pci@1,1/ide@3/dad@1,0
2. c2t2d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80> ARRAY
/pci@1f,0/pci@1/scsi@2/sd@2,0
3. c2t3d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80>
/pci@1f,0/pci@1/scsi@2/sd@3,0
4. c2t4d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,0/pci@1/scsi@2/sd@4,0
5. c2t5d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,0/pci@1/scsi@2/sd@5,0
6. c2t10d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80>
/pci@1f,0/pci@1/scsi@2/sd@a,0
7. c2t11d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80>
/pci@1f,0/pci@1/scsi@2/sd@b,0
8. c2t12d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,0/pci@1/scsi@2/sd@c,0
9. c2t14d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,0/pci@1/scsi@2/sd@e,0
10. c2t15d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,0/pci@1/scsi@2/sd@f,0

Can anyone tell me how the md.tab file should be set out to set the above 9's up as I want?

Thanks in advance.

 
I would normally create the devices using metainit first before adding anything to md.tab.

See man metainit for syntax.

Once you have created the devices you can use the output from metastat -p to create the correct entries in md.tab.

Annihilannic.
 
I aggree with Annihilannic: metainit & metattach, (the md.tab is optional anyway).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top