Solaris 10 and Software Mirroring

Hey Folks,
I'm attempting to configure software mirroring on a Solaris 10 system. Because this system is a v440, I'm using the hardware mirroring for the OS.
The other two drives in the system I am using for a database, and so, will configure software raid on them. However, I've done the following:
(created slice 3 and 4 on each drive for metadbs)
prtvtoc /dev/rdsk/c1t2d0s2 | fmthard -s - /dev/rdsk/c1t3d0s2
metadb -af -c 2 /dev/dsk/c1t2d0s3 /dev/dsk/c1t2d0s4
metadb -af -c 2 /dev/dsk/c1t3d0s3 /dev/dsk/c1t3d0s4
# below is the only partition i need to mirror, which will hold the
# oracle db files
metainit -f d20 1 1 /dev/dsk/c1t2d0s0
metainit -f d30 1 1 /dev/dsk/c1t3d0s0
metainit d2 -m d20
metattach d2 d30
After running metattach, both drives syncronize, and appears to be fine. I can mount it, read/write etc..
As such, I updated vfstab with the following:
/dev/md/dsk/d2 /dev/md/rdsk/d2 /opt/app/oracle/oradata ufs 2 yes -
and a mount -a works..
On reboot, it seems like my mirror has disappeared:
Can't stat /dev/md/rdsk/d2
/dev/md/rdsk/d2: CAN'T CHECK FILE SYSTEM.
/dev/md/rdsk/d2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
fsckall failed with exit code 1.
WARNING - Unable to repair one or more filesystems.
Run fsck manually (fsck filesystem...).
svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 32
Jun 27 08:18:30 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Jun 27 08:18:30 svc.startd[7]: system/filesystem/local:default failed fatally
You'll notice from my steps, I did not run metaroot. I cannot, since ths is not a root partition and metaroot gives an error.
Which brings me to my question, what have I missed? Why does software raid fall apart on reboot?

Hi!
I have found these two errors too.
The second one I`m still trying to solve, but, in order to solve the first one, please, check if the parameters of you vfstab are written in the same line, like this:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
fd - /dev/fd      fd      -      no -
/proc - /proc      proc      -      no -
/dev/md/dsk/d2 -      -      swap - no -
/dev/md/dsk/d1 /dev/md/rdsk/d1 /      ufs 1 no -
/dev/md/dsk/d4 /dev/md/rdsk/d4 /etc/opt/OV ufs 2     yes -
/dev/md/dsk/d5 /dev/md/rdsk/d5 /opt/OV      ufs 2 yes     -
/dev/md/dsk/d3 /dev/md/rdsk/d3 /var/opt/OV ufs 2     yes -
If not, Solaris 10 does not recognize the parameters that are written in the line below. (Don`t ask me why).
Hope it helps,
Regards,
Thais

Similar Messages

  • V40z, Debian Linux and Software Mirroring.

    Hello,
    I'm trying to use Software RAID (Debian etch) on v40z.
    The RAID seems to work fine, but the problem is this.
    I have RAID 1 setup for disks sdc and sdd.
    If a partition fails, I don't want to have to reboot to add a new drive.
    As I understand it, this is what I have to do.
    Fail the other md devices that use those disks. (mdadm --fail)
    Remove the failed disk from the md devices (mdadm--remove)
    Remove the disk from the OS. (echo "scsi remove-single-device" 0 0 2 0 > /proc/scsi/scsi )
    Insert a new drive
    Add it to the OS (echo "scsi add-single-device" 0 0 2 0 > /proc/scsi/scsi )
    But now the new drive becomes sde (next letter available) instead of becoming sdc.
    Why is that?
    Also, lets say that I'll accept it as sde. When I try to mirror it with sdd, when its syncing the drives, all of them seems to be very active. Also the sync time is like 360 minutes (when it usually should be about 10 minutes).
    If I add a new drive and reboot, the new drive becomes sdc - as it should.
    I don't want to reboot each time a drive fails.
    Any comments on what I'm doing wrong?

    Hello,
    I'm trying to use Software RAID (Debian etch) on v40z.
    The RAID seems to work fine, but the problem is this.
    I have RAID 1 setup for disks sdc and sdd.
    If a partition fails, I don't want to have to reboot to add a new drive.
    As I understand it, this is what I have to do.
    Fail the other md devices that use those disks. (mdadm --fail)
    Remove the failed disk from the md devices (mdadm--remove)
    Remove the disk from the OS. (echo "scsi remove-single-device" 0 0 2 0 > /proc/scsi/scsi )
    Insert a new drive
    Add it to the OS (echo "scsi add-single-device" 0 0 2 0 > /proc/scsi/scsi )
    But now the new drive becomes sde (next letter available) instead of becoming sdc.
    Why is that?
    Also, lets say that I'll accept it as sde. When I try to mirror it with sdd, when its syncing the drives, all of them seems to be very active. Also the sync time is like 360 minutes (when it usually should be about 10 minutes).
    If I add a new drive and reboot, the new drive becomes sdc - as it should.
    I don't want to reboot each time a drive fails.
    Any comments on what I'm doing wrong?

  • Disk Utility: Software mirror message behavior

    Dear readers
    I did setup a Mac Mini Server the following way.
    Disk Utility stared from the System DVD.
    - Delete both internal drives
    - Create a mirror inside disk utility
    - Make two partitions on this newly created drive
    - Installed the system
    - Configured it after update
    So far every thing works fine.
    My question is now,
    - how does the system announce the information, that the mirror is broken because of a defect of one of the mirrored drives?
    - if there is such a message, is it possible to use this message inside a script which would send a report to a known email account if something goes wrong?
    - has someone done something similar or how doe administrators of bigger systems (like Xserve) handle this?
    Thank you for anyones response and tips
    Kind regards from Switzerland
    Thomas

    Hi !
    MacOS X perform doesn't perform information on Software Mirror Status…
    You must perform a shell script for that…
    My2Cent.

  • Why  difference in Solaris and Linux

    Hi,
    The following program is giving results diferently when I am executing using g++ compiler in Solaris and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );
    strcpy(buf, "HelloWorld");
    printf("\n Address is : %u String is : %s size : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) = '\0';
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Solaris:
    Address is : 134160 String is : HelloWorld size : 4
    Address is : 135704 String is : HelloWor
    Linux:
    Address is : 134518824 String is : HelloWorld size : 4
    Address is : 134518824 String is : HelloWorldAB
    Thanks
    Venkat

    Hi,
    The following program is giving results diferently
    when I am executing using g++ compiler in Solaris
    and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );The size you get here is the size of buf, which is the size of a pointer, not the size of what buf points to. sizeof(*buf) would give you size of a char, the type (not the object) that buf points to.
    There is no portable way to find out the number of bytes allocated on the heap if you are give only a pointer to the memory. You have to remember the size some other way..
    strcpy(buf, "HelloWorld");A literal string consists of the characters in the string plus a terminating null, all of which are copied by strcpy. You allocated 10 chars for buf, but are writing 11 chars into it. At this point, the program has undefined behavior. Literally anything at all could happen, because you can't predict the effect of writing outside the bounds of allocated memory.
    printf("\n Address is : %u String is : %s size :
    e : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)The "sizeof" operator in this case is returning the size of the type of a literal 20, which is an int. If you want to allocate 20 bytes, you write 20, not sizeof(20).
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) == '\0';SInce you can't count on buf having more than 4 bytes at this time, you are writing into unallocated memory, with undefined results.
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Instead of asking why you get different results on different platforms, you should be asking why the program doesn't crash on all platforms. :-)
    You can avoid these problems with keeping track of allocating memory by using the C++ standard library instead of trying to manage low-level details yourself as in C code.
    The standard string class, for example, extends itself as needed, and ensures that heap memory is freed when the string object is deleted or goes out of scope. You don't need pointers, malloc, free, or sizeof to use C++ strings.

  • Why keyboard and mouse right click not working in Solaris and Linux?

    Hi all,
    I have two problems:
    1) I am working on AWT/Swing application and its working fine in window enviornment,but while running on solaris and linux mouse right-click option window not poping up.
    2) Ctrl+c,Ctrl+v,Home and End keyboard key are not working in solaris and linux OS for same application.
    Pls provide me some solution for these problem.
    -Dinesh

    Hi Nik,
    Thanks for reply. I found some solution for the above problem.
    For mouse right click there was problem in my source code.I have not implemented the mousePressed() method
    In case of keyboard Home, End and arrow key working fine after exporting AWTUSE_TYPE4_PATCH=false; in solaris and linux
    But still Ctrl-c and Ctrl-v not working.
    I am using JDK1.5.0_07+Eclipse IDE 3.1
    -Dinesh

  • I want to connect my IMAC to TV with HDMI cable. I did it before going to Dispaly and Arrangments and then mirror. Now when I go to display I dont have to option of arrangements. Olny {Display and Color} pops up. Any ideas what happend to arrengements?

    I want to connect my IMAC to TV with HDMI cable. I did it before going to Dispaly and Arrangments and then mirror. Now when I go to display I dont have to option of arrangements. Olny {Display and Color} pops up. Any ideas what happend to arrengements?

    For the "Arangements" option to appear, the external display must be turned on with the correct input selected and connected to the computer.  Then close system prefs, reopen, go to "Display" and "Arrangement" will be along the top. 

  • Canon 860 Series (Pixma) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips

    After spending several hours sorting out Canon Pixma OSX problems here are my thoughts:
    Canon 860 Series (Pixma 868) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips
    Problem:
    - New imac and MacBook Pro 2012 (OSX 10.8.2) had a problem using Canon Pixma 868 printer on network and would not scan or print using Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print), which has advanced scanning and photo printing functions. 
    - When I connected the canon printer to my imac, OSX 10.8.2 automatically downloaded and installed drivers for Canon 860 series printer. I could then add the new printer (select ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”) and printer would work while connected via USB but could not get to print or scan over network wifi. 
    - The original Canon 860 Series CD does not work with 10.8 and the manual / online instructions did not make sense (as based on CD install). 
    Solution:
    1) Install Canon Printer Drivers and Software (from official Canon site)
    Go to canon support site, review FAQ, then download and install following Pixma 860 Series software & drivers for OSX 10.8 (links see below). The version I downloaded is in brackets but check for updated version. Full instructions are below.
    Canon 860 Series Drivers & Software  for OSX 10.8 Mountain Lion:
    The base software and drivers needed for using Canon 860 Series on Mac OS X 10.8 (USB) are
    1 Printer Driver
    (Canon MX860 series CUPS Printer Driver Ver. 10.67.1.0 (03-Aug-2012))
    2 Scanner Driver
    (Canon MX860 series Scanner Driver Ver. 14.11.4a (03-Aug-2012))
    3 Network Tool
    (Canon IJ Network Tool Ver. 4.1.0 for Intel Mac (27-Dec-2012)
    Canon Software for using advanced printing and scanning functions (while connected to network)
    4 Solution Menu
    (Canon Solution Menu Ver. 1.4.1 (27-Jul-2012 ))
    5 MP Navigator EX
    (Canon MP Nav EX Ver. 2.1.3 (02-Auf-2012))
    6 Easy-PhotoPrint EX
    (Canon Easy-PhotoPrint EX Ver. 4.1.6 (21-Jan-2013 ))
    Canon Support (HK) – check your local site
    http://www.canon.com.hk/en/download/main/index.do
    Select Product and drivers from support site eg http://support-hk.canon-asia.com/
    1. Choose a product category
    Multifunctional Printers
    2. Choose a product series
      Pixma
    3. Choose a product model
      Pixma MX868
    4. Choose type of document
    Downloads or FAQ
    If you have problems installing the software under 10.8, see the FAQ on Canon site. You will need to allow software installs from “unidentified developers by using “Control” Key or by changing your system preferences)
    2) Check Canon Printer and Software Working while connected via USB
    Once you have downloaded and installed drivers and software and restarted computer, check that the printer and Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print) are working via USB.  Open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App) and make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it shows the correct SSID Wifi settings (under the Canon IJ Network Tool App ‘Setup menu’).  This is normally done as part of the automatic install but worth double checking
    3) Add new network printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”).
    After you have checked USB printing turn off printer, unplug the USB cable and shutdown the Canon IJ Network Tool App.
    Then turn the printer back on and wait 30s. Then add a new printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”). Once you select “+” (add new printer), wait 10-30s for the Wifi Networked Canon MX 860 Series printer to appear in the new window eg Canon MX 860 series (xx.xx.xx.xx.xx.xx) (Kind: “Canon IJ Network”)
    DO NOT ADD THE MX 860 SERIES BONJOUR SCANNER (the Bonjour Scanner is the built-in software, is not needed and often appears first on the add printer list).  The Canon scanner can be accessed used through the MP Nav EX Ver. 2.1.3 software (which has much better functions)
    You will now have two Printer Canon MX860 (USB) and Canon MX860 (Wifi / Network). Set the Canon MX860 (Wifi / Network) as default and test print and scan
    If the Wifi Networked Canon MX 860 Series printer does not appear, check the printer and make sure that the printer can see the wifi network. On the printer select Menu / Settings / Device Settings / Lan Settings / WLAN Setting List.  It should say WLAN Active, identify the SSID and have an IP address
    If the printer can not see the Wifi Network, plug the USB cable back in, then open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App). Make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it has your SSID settings (under setup), if it has this info, restart the computer and the printer and try again

    Hi, thaks for response, meant to post as a discussion (not question), wanted to save others time if they get the same problem

  • Remote Desktop Services - VDI / Hardware and Software requiremnts

    I am going to plan to do POC for 50 user on customer end for Microsoft VDI installation. For this i required hardware and software requirement.

    Hi Pratik,
    Thank you for posting in Windows Server Forum.
    It all depends on how you want to configure your VDI environment. In Server 2012\R2 there are 2 flavors: Pooled & Personal and further can deploy both that as Managed\UnManaged deployment. You can check following article for further details.
    RDS Hardware Sizing and Capacity Planning Guidance
    http://blogs.technet.com/b/iftekhar/archive/2010/02/10/rds-hardware-sizing-and-capacity-planning-guidance.aspx
    Choose a VDI Deployment Scenario
    http://technet.microsoft.com/en-us/library/dn645525.aspx
    Deploying VDI for RDS 2012 / 2012R2 – Part I
    http://thewolfblog.com/2014/03/26/deploying-vdi-for-rds-2012-2012r2-part-i/
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Major Sync and software update issue with windows 7 and iphone

    Loved my iPhone 3g and love my 4.0! My only concern is syncing and software updates are sporadic.
    When I first purchased and sync'd my 3g on my laptop, that I had since 2005 w/XP home 64bit, it would constantly (1 out of 5 times) show phone was disconnected and could not sync. Purchased a desktop, 2009 w/Vista 64bit (same issue mentioned continued) then upgraded to windows 7 64bit (same issue mentioned continued).
    Both pc's are authorized and contain the same apps and software. I went through all trouble shooting steps (authorize/deauthorize, phone hard boot, sync w/airplane mode on and/or off, uninstall and or reinstall iTunes, etc...) when both phones would brick after software updates on both pc's.
    The last software update 4.0 and most recent 4.2.1 went well on laptop with XP and no longer shows sync issue. The problem continues on the windows 7 and backup has completed successfully 3 times.
    Long story short, I have to pray the laptop never dies because iTunes, syncing and software updates on XP works now! The problem with software update, backups and syncing persists on windows 7.
    * I was able to apply 4.2.1 software update on XP and then connect to windows 7 to sync and backup successfully. I then disconnected/reconnected iphone to windows 7 and problem happened again, unable to sync phone was disconnected error message.

    I've had my new pc for over a year, never had any probs syncing my iphone (then a 3G but now the big 4!)
    I went to sync updates to Apps and a couple of tunes I had downloaded straight to my phone only to get an error message 'iTunes has stopped working - windows is checking the problem' followed by another messaged telling me there was a problem causing the program not to work correctly. Windows will close the program and notify me if a solution is found'
    Well..... I have NO music on my iPhone and every time I try to sync, the same error messages come up and the bloody program shuts down....

  • Audigy 4 - Vista drivers and software urgently nee

    you know... i have this sound card (Audigy 4 - non pro) for over one year now, AND i don`t have a good driver and software for windows vista home premium x64. last driver for this sound card is:
    . Creative Sound Blaster Audigy series Vista Driver 2.2.0002 (38.30 MB) 6 Mar 07.
    i mean... 6 mar. 07
    how long do i have to wait for you, to relase all the software it is on windows xp oh, this audigy 4 was not intended to use with vista, wright and you want everybody to buy that x-fi sound card with another set of problems in windows vista. nice marketing solution. good for you ONLY.
    i`m just tired waiting. my card doesn`t work as it should, nor as it worked in windows xp.
    i need all that software. all of it, working under vista. PRONTO!
    you will provide that software, or you just lost me as a customer, and along with me, alot more.
    btw, daniel_k was only helping people, by providing drivers and software YOU couldn`t, or you just didn`t wanted to. stop deleting his posts or links to the drivers made by him.
    just stop that abbusi've marketing strategy, by not releasing software for older sound cards, and forcing customers to buy your new products. no, that wouldn`t happend.

    http://forums.creative.com/showthread.php?

  • I just migrate settings and software from my PowerBook to a new Mac Pro. All the software download from CC is there and working, except for CC, and there is not way to install.

    I just migrate settings and software, include CC, from my PowerBook to a new Mac Pro. All the software download from CC is there and working, except for CC, and there is not way to install. I have try because every time I restar keep bothering asking for installation, (by the way, the link is not up to date). Will appreciate your help.

    never migrate adobe software.  it should be properly installed.
    uninstall all the cc programs you can, clean and then reinstall per, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How can I find fingerprint reader driver and software for windows 8.1 Pro - HP Dv5 1225et

    I have Hp dv5 1225et Laptop. There are drivers in Hp's web site for win 7 and vista.. I need validity sensors driver and software for windows 8.1 Pro (64Bit)... Thanks a lot all of users. 

    Hi @mfatihbodur
    Welcome to the HP Support Community. I see that you are looking for Windows 8.1 version of your Validity Sensor and SimplePass software. I have included the links below but as your model doesn't have drivers I can't guarantee that they will work but they are the latest versions.
    Validity Fingerprint Sensor Driver (Windows 8.1)
    HP SimplePass Identity Protection Software (Windows 8.1)
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Satellite C855-S5194 Windows 8 Recovery OS and software

    Hi,
    I just bought a Satellite C855-S5194 with Win8  and already created system recovery disks. Now I bought an Office and installed it through Microsoft website (no disk). I would like to create an image for the case the hard drive is broken and not accessible, which includes both the OS and the Office that I installed.
    I read from the User Guide that the system recovery disks can restore the OS and preinstalled software, but how about the software that I bought from MS?
    Please let me know if there is any way to recover both OS and software. Thank you in advance!

    I am not a computer expert,..
    So please pay attention, read things carefully, follow any links, think about it, and don't jump to hasty conclusions. Better to do more reading instead of typing a vague message to me.
    I'll be repeating myself now, but I'll try to put more words in..
    My No. 1 item explains that Windows 8 contains Windows 7's backup. You can google that and learn all about it. In particular, you'll learn that it enables you to create an image of the entire disk on external media. I'll save you some trouble and give you places to do your reading.
       Learn more about system image backup
       Back up your programs, system settings, and files
       Restore your computer from a system image backup
    Notice that when you create a system image of the hard drive, you can restore it either to the existing disk or to a brand new disk.
    We create one of these images (with third-party tools) every single day for every computer and retain ten generations. Backup is our most important application.
    My No. 2 item talks about a repair disk. That's the one you need when you are restoring to a new hard drive. Since Windows is not running, you need a way to begin the restore process. That's one of the functions of the repair disk.
    You'll see a link in the Windows 7 File Recovery area like this.
       Create a system repair disc
    My No. 3 item talks about fixing things on your existing drive. Feel free to ignore it if you like. Maybe other viewers will find it of interest. When/if you find that Windows is broken, you'll begin to appreciate the various ways of recovering. Refresh is new in Windows 8.
    -Jerry

  • Windows 8 and OEM media with updates and software

    Recently i had an idea to create a custom Windows 7, 8 OEM image that includes all the Windows updates and also has couple of softwares inside it (adobe reader, java, flash etc). I used MDT to do this. I came to this idea because every time i prepared
    a computer for my customers it took a really long time with all the updates and software i had to install. When i started imaging Windows 8 i stumbled upon a little problem. As everybody knows Windows 8 OEM keys are no longer located on the stickers that are
    on the computers. As i have understood it they are basically located somewhere in the BIOS. So, finally to my question :) .  Is it somehow possible to retrieve the OEM key from the BIOS so that i could use my custom OEM image ? Right now i can't activate
    my Windows 8 OEM's because there are no way for the operating system to access the key that is in the BIOS.

    Hi,
    The OEM license allows the organization to use that pre-installed image on that OEM PC only. If the PC fails in the future and the image needs to be restored, the organization needs to use the original recovery media provided by the OEM to re-install the
    image.
    I suggest you consult with  the manufacturer for more information.
    Alex Zhao
    TechNet Community Support

  • Can i play music and use mirroring function at same time from ipad2 to apple tv

    can i play music and use mirroring function at same time from ipad2 to apple tv

    Yes, any audio during the "mirroring" funtion will forward to the appletv. This includes all system audio, games, apps, ect. If you slide the mute botton the side of your ipad to mute then you can block app audio and just get Music audio or Pandora if you are using pandora.

Maybe you are looking for