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 d40 has c1t1d0s4 as submirror 0 (d42) and c1t0d0s4 as submirror 1 (d41)
etc....
Is this a problem? It is certainly strange. Half the mirrors have disk c1t0d0 as submirror 0 and c1t1d0 as submirror 1. The other half of the mirrors have disk c1t1d0 as submirror 0 and disk c1t0d0 as submirror 1.
I think I know how it happened:
When the previous sysadmin installed recommended patches, the mirrors were broken (some, but not all) and then a few days later the devices were synced (metattach). By only breaking some of the mirrors to install the patches, and then rebooting, things got "reversed" in metadeviceland.
Is this a problem? What happens if disk c0t0d0 dies, and needs to be replaced?
Here is an example. 3 metadevices on this system are one way, and 3 are the other way, with respect to their submirrors:
Last edited by Scott; 06-22-2010 at 10:11 AM..
Reason: Please use code tags
I have at moment created a setup script that is capable of setting up a workspace for an kaldi enviroment.
The script can be found here setup_base_file
I guess you wouldn't not be able to run it, without having Kaldi installed, but since this question more relates to scripting, than the... (9 Replies)
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)
We had few mirror disks e.g
d0 had two submirrors
Submirror 0: d2
Submirror 1: d1
I opened mirrors for some activity.
by command
metadetach d0 d2
After activity I reattach mirrors with command
metattach d0 d2
But after that strangely sumirror position is swaped
... (3 Replies)
for (.....)
echo -e "$Name | $Age | $Sex\t|$Grade\t\t"
done
output:
John |12 |Male |6th
Jack |15 |Male |8th
Zachary |15 |Male |9th
I want the lines to line up...but it's out of line when the name is long (2 Replies)
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... (7 Replies)
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)
Hello all,
I am working on a script to automate the process of restarting some tomcat servers. The versions of tomcat are pretty old and it often happens that they don't shut down gracefully and the PID needs to be manually killed. I am having a bear of a time getting a consistent PID from ps... (1 Reply)
Hi,
What is the best ways to keep UIDs and GIDs consistent across unix and linux server. my company have a servers running on hpux, linux, aix and many of them have veritas cluster and hacmp running, many time user account have been created only on one of the cluster node and not the others... (4 Replies)