i am very new to solaris...i am trying configure raid 0 in my ultrascsi box which is having 6 sun36GB hard disks. I have created 4 state database replicas in the following slices /dev/dsk/c1t1d0s7 /dev/dsk/c1t2d0s7 /dev/dsk/c1t3d0s7 and /dev/dsk/c1t4d0s7. i could not use any other slices in this controller to create a mirror. when i give
# metainit d10 1 1 c1t3d0s6 ( this is a 33 GB slice in the hard disk) it says
metainit: u15_9: c1t3d0s6: overlaps with device in metadevice state database. The same thing happening on other targets (t1, t2 and t4) too. Where i am wrong...i could not trace not the problem. I need someone's help.
Sorry for my english if u feel it is bad. i am using solaris 5.10..SPARC IIe architecture.
Location: meri jaan Mumbai, from mera desh BHAARAT.
Posts: 147
Thanks Given: 7
Thanked 15 Times in 15 Posts
Quote:
Originally Posted by kingston
hi all
i am very new to solaris...i am trying configure raid 0 in my ultrascsi box which is having 6 sun36GB hard disks. I have created 4 state database replicas in the following slices /dev/dsk/c1t1d0s7 /dev/dsk/c1t2d0s7 /dev/dsk/c1t3d0s7 and /dev/dsk/c1t4d0s7. i could not use any other slices in this controller to create a mirror. when i give
# metainit d10 1 1 c1t3d0s6 ( this is a 33 GB slice in the hard disk) it says
metainit: u15_9: c1t3d0s6: overlaps with device in metadevice state database. The same thing happening on other targets (t1, t2 and t4) too. Where i am wrong...i could not trace not the problem. I need someone's help.
Sorry for my english if u feel it is bad. i am using solaris 5.10..SPARC IIe architecture.
Regards
Kingston
Please post the out-put of :
1) format command and complete partition layout for c1t1d0 disk.
thanks for ur quick reply....i re-partitioned all of my hard disk (obviously except root)...i outof six, four of my hdd having single partitions...say c1t1d0s7, c1t2d0s7,c1t3d0s7 and c1t4d0s7 with 33GB size. I created state replica database on all these slices and i configured mirroring too.(using c1t1d0s7 and c1t2d0s7)..it didnt give any overlapping error...Really i dont know what i am doing..Can you clarify the follwing questions.
1. is it possible to create State replica database on other slices which will not be used as volumes?
2. if it is possible what could be the size?
3. Earlierly i create two slices per hard disk c1t3d0s6 with 33.00 GB c1t3d0s7 with 50.78 MB. i created slices in slice 7 and slice 6 is for my mirroring. I did the same thing with target 4 hard disk.
what is the mistake in this?
Location: meri jaan Mumbai, from mera desh BHAARAT.
Posts: 147
Thanks Given: 7
Thanked 15 Times in 15 Posts
Quote:
Originally Posted by kingston
thanks for ur quick reply....i re-partitioned all of my hard disk (obviously except root)...i outof six, four of my hdd having single partitions...say c1t1d0s7, c1t2d0s7,c1t3d0s7 and c1t4d0s7 with 33GB size. I created state replica database on all these slices and i configured mirroring too.(using c1t1d0s7 and c1t2d0s7)..it didnt give any overlapping error...Really i dont know what i am doing..Can you clarify the follwing questions.
1. is it possible to create State replica database on other slices which will not be used as volumes?
2. if it is possible what could be the size?
3. Earlierly i create two slices per hard disk c1t3d0s6 with 33.00 GB c1t3d0s7 with 50.78 MB. i created slices in slice 7 and slice 6 is for my mirroring. I did the same thing with target 4 hard disk.
what is the mistake in this?
Regards
Kingston S
YES you can use.
By default, the size of a state database replica is 4 Mbytes or 8192 blocks. You should create state database replicas on a dedicated slice with at least 4 Mbytes per replica. Because your disk slices might not be that small, you might want to resize a slice to hold the state database replica.
Its hard to guess anything without analysing the output of some commands :
1) Please check wether slices created by you is having any overlapping cylinders or not.THEY SHOULD NOT...
2)Rest all other process is correct.You can create state database and a metadevice on single slice.
3)Please post all the commands and steps performed by you to get better idea.
Thanks,
P. S.
Last edited by Reboot; 05-08-2010 at 08:50 AM..
Reason: typo..
Location: meri jaan Mumbai, from mera desh BHAARAT.
Posts: 147
Thanks Given: 7
Thanked 15 Times in 15 Posts
So, I can see that you have not partitioned the slices correctly.They are overlapping :
As you can see 7th slice starts with cylinder-0 and ends with cylinder-35.So, 6th slice should start with cylinder-36 and end with cylinder-23955.Which is not their in your case.So, make it correct.
Same is the case with SECOND DISK.
In you case, if I am not wrong you want :
7th slice --->> 50.78MB
6th slice --->> 33.00GB
thanks a lot...its a small but very important thing. In linux, fdisk will come with the proper cylinder number whenever we are adding or creating a partition. I need to change my mindset. Anyway thanks a lot reboot, it works fine after i partitioned correctly without any overlapping.
Hi All,
I am having trouble with my metadevices and I hope someone can help.
when i try to attach my submirror i get the following error:
root@xxxx>metattach d31 d21
metattach: tbair1: d21: submirror too small to attach
root@xxxx>
However, There is a submirror on the other disk which is... (3 Replies)
Hi everyone,
I'm new with solaris administration. I have just discovered the notion of METADEVICE and I really don't understand it. Can any one please explain it to me or give me useful link ?
I also want to know more about these commandes:
metainit
metadb
metaattach
Thank you
... (1 Reply)
In my infinite lack of wisdom, I brought a Solaris 10(Sparc, 64 bit ) system down to init 1, detached a metadrive so that I could run format->analyze->refresh on it, and then reinit'd and reattached it .
It started syncing the drive as it's a submirror of a mirrored drive, which happens... (8 Replies)
Hello I use Solaris 10. I need to restore the root file system, but I don't know how . i can only boot the server in safe mode or with the cd (ok boot cdrom -s)
Do you guys know a good procedure, I don't want to break the mirrors.
( the server is not a cluster).
Its an emergency, i would... (4 Replies)
Hi guys,
currently I'm working on one problem. I have Sol10 box where I need to replace old storage for the new one with minimal downtime.
Layout of metadevice looks like this:
d103 p 1.0GB d100
d102 p 2.0GB d100
d101 p 1.0GB d100
d100 s ... (3 Replies)
At a new job, I've inherited a handful of Solaris 10 SunFire V240 servers.
I noticed that the metadevices are not consistent, in a way that I've not seen before....
internal mirrored disks:
metadevice d60 has c1t0d0s6 as submirror 0 (d61) and c1t1d0s6 as submirror 1 (d62)
metadevice... (1 Reply)
Hi,
I am running Solaris 8 on a V880 which has recently crashed. It has got a fibre connection to a StorageTrek array containing my database info. Since the crash I have been unable to mount the 2 metadevices which correspond to /spool & /apps - these FS's contain my db info and theredore I... (20 Replies)
Hi All...
I have a script that checks for any problems(particularly looks for 'Needs Maintenance') with metadevices and alerts accordingly. This was not configured to alert for a particular metadevice. Now i want to negate alerting for a particular metadevice(say d40). Is this possible? I am... (6 Replies)
Hi,
I am having two metadevices d50 and d100 which are used to created soft partitions as and when required.
d50 and d100 are metadevices formed on different disks.
d50 -- disks 0 & 1
d100 -- disks 2 & 3
I have a soft partition d70 os 50 GB on d50. Now there is no free space on d50.
... (1 Reply)
First I would like to thank this forum for assisting me in setting up my 1st sunbox.
Could not have done it if it had not been for you guys and google :D
I have mirrored my box and have SUCCESSFULLY tested booting from the rootdisk and rootmirror successfully.
I am now looking at configuring... (2 Replies)