Setup Disk Mirroring on Solaris 8

I need to know of how to setup Disk Mirroring on Solaris 8 on my SUN E250/E280
Which manual collection, provide a step by step procedure to do it. Thanks.

I assuming you're going to be using Sun disc management software ( DiskSuite) and not something like Veritas volume manager.
There are some Sun infodocs on the sunsolve site ( sunsolve.sun.co.uk is the one I use ) that contain good step by step guides on how to mirror discs using Solstice Disksuite. Type in "disksuite faq" as keywords to search.
Disksuite 4.2.1 comes with Solaris 8 ( this is the recommended version of DiskSuite you use with 8), but you need to make sure it was included as a package to install when the server was originally built). If it hasn't been installed, put the Solaris 8 cd 2 of 2 and do a package add on the following path /cdrom/sol_8_1000_sparc_2/Solaris_8/EA/Products.
Pick disksuite and I generally add all the packages. You'll need to know the product a bit more if you want to pick and choose the components to install.
Once done, you'll need to reboot the server and then begin to configure the discs. To understand the various concepts with disksuite you will need to read the manuals.
I use the command line but there is a GUI tool supplied with the product called metatool to help you mirror your discs.
As a high level overview this is what you need to do:
Create a minimum of 3 state databases ( on a separate disc slice of about 5 megabytes in size, nothing else should use this slice )
The discs you want to mirror should have the same partition table to keep life simple.
I would create 6 databases, 3 on an individual slice.
Then create your mirror devices which represent the various partitions you want to mirror from the primary disk. Then create your metadevices and attach the first set of mirrors to them.
You need to issue a special command called metaroot to get the system to mount the root filesystem metadevice at boot time.
At this stage I would then make a backup of /etc/vfstab and then edit it to mount your metadevices instead of the normal disc devices.
I would then bounce the server to check it all works and the metadevices get mounted correctly.
Create your second set of mirror devices on the secondary disc and add them to the appropriate metadevice ( using metattach )
If the filesystems are very large it takes a few minutes for the disks to sync up, so don't bounce the server until this process has completed. You can run a check on disk synchronisation by doing metastat | grep sync
Finally I would put the output from the command metastat -p into the /etc/lvm/md.tab file at the very end with some appropriate comments.
This can seem a very onerous task at the beginning but once your clear on steps you need to run, the whole procedure is quite straightforware.

Similar Messages

  • Solaris 10 disk mirror partition goes in maintenance mode at reboot

    Hello
    I have got solaris 10 installed on a Sun machine with 2 disks mirrorred to each other. There also security toolkit 4.2 installed. Now every time the system reboots and I do a metastat the mirror partitions goes in maintenance mode and I have to individually metasync the mirrors after every reboot.
    I guess this due to the security toolkit playing up. Would really appreciate any help to sort this out. The mirrors should automatically resync after system reboot.
    Thanks in advance.
    Pioneer

    Hi yes I did run the metaroot. If I manually metasync its all OK. My problem is the partition does not auto sync after the system boots.
    I guess this is someting to do with the security toolkit 4.2 playing up not disabling some services at boot. Have any one faced this issue ?
    Many Thanks
    Pioneer

  • Disk mirroring

    Hi all,
    I'm trying to set up a disk mirror between the 2 18G disks in my Netra T1 200. Any idea how to do this?
    I have a decent understanding of Solaris, but I've never had the hardware to do this with before, is there a good starting point for this?

    The usual method is with Sun Volume Manager. For that, the docs should be a good starting point.
    The entire guide is here:
    http://docs.sun.com/app/docs/doc/816-4520
    If you've never used it before you'll need to understand how to set up SVM first (the overview, configuring, and state database replicas), then move to RAID-1 (Mirror) Volumes.
    Darren

  • Mirroring Disk Drive Question.  Using SVM for Disk Mirroring.

    Hello,
    I am trying to do mirror in solaris 9 using Solaris Volume Manager. I have total 0-7 disks
    4 5 6 7
    0 1 2 3
    Drive 0 and Drive 4 = Boot Drives
    Need to Mirror following drives.
    Drive 1 and Drive 5 = Need to mirror
    Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5.
    Drive 5 was mounted on:/prod16-----/prod20
    Then i have umounted both drives and then using format command to equalize the parititions.
    Then
    I have done following steps.
    metadb -a -f /dev/dsk/c1t1d0s7
    metadb -a -f /dev/dsk/c1t5d0s7
    2)
    metainit -f d100 1 1 c1t1d0s0
    metainit -f d101 1 1 c1t5d0s0
    metainit d0 -m d100
    metattach d0 d101
    3)
    # newfs /dev/md/rdsk/d0
    newfs: /dev/md/rdsk/d0 last mounted as /prod16
    newfs: construct a new file system /dev/md/rdsk/d0: (y/n)? y
    4)
    # mount -F ufs /dev/md/dsk/d0 /prod16
    Now, target 5 is submirror with target 1 mirror. I was wanted to do /prod1 but some reason it showing /prod16. How can i change this to /prod1?
    OR
    2nd question: do i need to mirror each drive vice verse?
    for example:
    metainit -f d102 1 1 c1t5d0s0
    metainit -f d103 1 1 c1t1d0s0
    metainit d1 -m d102
    metattach d1 d103
    Let me know.
    Thanks
    Adeel

    I do it a little differently, as follows, which I gleaned from http://slacksite.com/solaris/disksuite/disksuite.html
    Create state replicas on slices 6 & 7 (any could be used but we usually use 6/7)
    metadb -a -f /dev/dsk/c1t0d0s6
    metadb -a /dev/dsk/c1t0d0s7
    metadb -a -f /dev/dsk/c1t1d0s6
    metadb -a /dev/dsk/c1t1d0s7
    Initialize submirrors for root slice 0 on both drives, and create one-way mirror between metadevice d0 & first sub-mirror
    metainit -f d10 1 1 c1t1d0s0
    metainit -f d20 1 1 c1t1d0s0
    metainit d0 -m d10
    update root entry in /etc/vfstab
    metaroot d0
    Initialize submirrors for swap slice on both drives, and create one-way mirror between metadevice d1 & first sub-mirror
    metainit -f d11 1 1 c1t0d0s1
    metainit -f d21 1 1 c1t1d0s1
    metainit d1 -m d11
    Initialize submirrors for /var slice5 on both drives, and create one-way mirror between metadevice d5 & first sub-mirror.
    metainit -f d15 1 1 c1t0d0s5
    metainit -f d20 1 1 c1t1d0s5
    metainit d5 -m d15
    Edit /etc/vfstab
    add these lines to /etc/vfstab
    /dev/md/dsk/d1 - - swap - no -
    /dev/md/dsk/d5 /dev/md/rdsk/d5 /var ufs 1 no logging
    REBOOT server
    Attach second half of mirrors to allow two drives to synchronize
    metattach d0 d20
    metattach d1 d21
    metattach d2 d25
    I hope this helps.
    Stephanie

  • Format / newfs command hang after creating disk mirror

    Hi :
    We are using four 300G disks to create disk mirror. c1t0d0 and c1t1d0 are mirrored , and c1t2d0 and c1t3d0 are palned to set up mirror.
    One sample for the 3rd disk (c1t2d0 ) partition layout :
    Part Tag Flag Cylinders Size Blocks
    0 usr wm 0 - 46850 279.25GB (46851/0/0) 585637500
    1 unassigned wu 0 0 (0/0/0) 0
    2 backup wu 0 - 46872 279.38GB (46873/0/0) 585912500
    3 unassigned wu 0 0 (0/0/0) 0
    4 unassigned wu 0 0 (0/0/0) 0
    5 unassigned wu 0 0 (0/0/0) 0
    6 unassigned wu 0 0 (0/0/0) 0
    7 unassigned wm 46851 - 46872 134.28MB (22/0/0) 275000
    After mirrored c1t0d0 and c1t1d0, we want to use format to see current disk partion , also newfs to setup filesystem on c1t2d0, but these two commands are failed.
    Example : ( we have to use Ctrol+C to stop format because the command is hung )
    format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
    /pci@0/pci@0/pci@2/scsi@0/sd@0,0
    1. c1t1d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
    /pci@0/pci@0/pci@2/scsi@0/sd@1,0
    2. c1t2d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
    /pci@0/pci@0/pci@2/scsi@0/sd@2,0
    3. c1t3d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
    /pci@0/pci@0/pci@2/scsi@0/sd@3,0
    Specify disk (enter its number): 2
    selecting c1t2d0
    [disk formatted]
    ^C
    Could you give some clues ? Thanks !

    Updated information :
    I use command " truss -o /tmp/out -d -D -E -fl newfs /dev/rdsk/c1t2d0s0 " to trace system call while newfs disk. The sample of output file is as following. Acturally , according to opensolaris mkfs source code, after mkfs read mnttab, it should invoke create64 to create device,
    4285/1:          8.7587     0.0004     0.0003     open("/etc/mnttab", O_RDONLY)               = 3
    4285/1:          8.7592     0.0005     0.0002     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7594     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7595     0.0001     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7597     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7599     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7601     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7603     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7605     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7606     0.0001     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7608     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7610     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7612     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7614     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7616     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7617     0.0001     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 0
    4285/1:          8.7619     0.0002     0.0000     ioctl(3, MNTIOC_GETMNTENT, 0xFFBFDF44)          = 1
    4285/1:          8.7621     0.0002     0.0000     llseek(3, 0, SEEK_CUR)                    = 0
    4285/1:          8.7623     0.0002     0.0000     close(3)                         = 0
    4285/1:          8.7625     0.0002     0.0000     uadmin(16, 4, 0)                    = 1
    4285/1:          8.7626     0.0001     0.0000     uadmin(16, 2, 161256)                    = 1
    Seems mkfs does not invoke such as "creat64("/dev/md/rdsk/d20", 0666)" to create device. Why ?

  • Disk size in Solaris 10

    I have some confusion about disk subsystem in Solaris, i am trying to clarify from this forum.
    I have recently installed Solaris 10 in one SPARC box. After i installed, the format gives the bellow output.
    0 root wm 19491 - 29648 4.88GB (10158/0/0) 10239264
    1 swap wu 0 - 4062 1.95GB (4063/0/0) 4095504
    2 backup wm 0 - 29648 14.25GB (29649/0/0) 29886192
    From the above output, is the size of my disk is 14 GB ?, or the size of my disk is 14+2+5=21 GB ?
    I am trying to learn ZFS, so i want another partition in this disk so that i create ZFS on that partition.
    I have gone to single user mode by using CD. I assumed that, from the above "format" command output, i thought i have 21GB of disk size and 14GB of free space. So i created another partition with 14GB. Now the format command gives bellow output.
    0 root wm 19491 - 29648 4.88GB (10158/0/0) 10239264
    1 swap wu 0 - 4062 1.95GB (4063/0/0) 4095504
    2 backup wm 0 - 29648 14.25GB (29649/0/0) 29886192
    3 reserved wm 0 - 29127 14.00GB (29128/0/0) 29361024
    When i am creating ZFS, it given me a warning that the the partition i have specified is spanned into root partition (first partition), and it mentioned to use "-f" option.
    With "-f", it created successfully.
    If i assume now that the size of my disk is 14GB only then,
    (1) how come two partitions are pointing to the same area in the disk ?
    (2) How come two different filesystems are pointing to the same area ?
    Please anyone clarify my doubts. Thank you.

    Assuming a standard labeled disk it is standrad practice to have section/slice 2 being 'whole disk' for purposes of 'backup'. That would tend to indicate you have a 14GB disk. A prtvtoc /dev/dsk/c?t?d?s2 (change the ?s to the right values) will give a little more on the disk geometry.
    In the display from format column 4 is the start cylinder of the partition and column 5 is the end cylinder. From the first set out output it looks like cyclinders 4063 to 19490 are not allocated
    In the second set you have created a new slice (section 3) that overlaps both sections 0 and 1 - which is generally considered to be bad!

  • Is it possibe to get an adobe acrobat 6.0 pro setup file if you have misplaced the setup disk?

    Is it possibe to get an adobe acrobat 6.0 pro setup file if you have misplaced the setup disk?  I need to repair the software on my computer.

    Hi Levi,
    I am sorry to inform you that Adobe Acrobat 6.0 Pro is an outdated version, Adobe doesn't support it & the download link doesn't exist anymore.
    Regards,
    Aadesh

  • How to Get New Windows Setup Disk

    I got an r61i with Windows XP a couple of years ago.  I purchased another hard drive and installed Linux on it.  That is what I normally use, but, I kept the drive with XP when I need to use Widows.
    I seem to have lost the drive with XP on it.  I guess I'll have to get another drive and get a new setup disk, but, I can't find out how on the Lenovo site.  I bought the computer new (through CDW).   I saw another post where someone with the same computer downloaded Windows XP, but, I can't find any mention on the Lenovo site of either obtaining a CD or downloading.
    Does anyone know?

    http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4M7HWZ#purchase
    start here to get restore media.
    T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1, Yoga Tablet 3 Pro
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    If someone helped you today, pay it forward. Help Someone Else!
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • How can I get the disk information in Solaris 9

    I am new to Solairs9. I use the format utility to list my partitions, but there are many unassigned partitions. I pasted the format response below:
    # format
    AVAILABLE DISK SELECTIONS:
    0. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000011c6413e10,0
    Specify disk (enter its number): 0
    format> partition
    partition> print
    Current partition table (original):
    Total disk cylinders available: 14087 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 root wm 302 - 13482 63.96GB (13181/0/0) 134129856
    1 swap wu 0 - 301 1.47GB (302/0/0) 3073152
    2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 home wm 13483 - 14086 2.93GB (604/0/0) 6146304
    The part number from 3 to 6 are unassigned. What does this mean? How much space of these unassigned partitions? How can I mount these unassigned partitions to my local directories?
    Thanks.

    "+How can I get the disk information in Solaris 9+ "
    This was cross-posted to the Solaris 9 forum as well.
    http://forum.java.sun.com/thread.jspa?threadID=5223643

  • WRT54G Wireless Router -- Do not have setup disk, what do I do?

    I just moved into a new apartment and my father had an extra wireless router lying around but misplaced the setup disk. The only time I have ever set up a home network it has been with the use of an automated setup wizard. Is there any way I can download this software, or someone can give me step by step instructions on how to get this thing up and going?
    Any help would be much appreciated!!!

    You do not need the setup CD to install your router, you can configure it manually...
    If your Internet Service Providor is Cable follow this link
    If your Internet Service Providor is DSL follow this link

  • Setup disk once again

    Hello i have one question about my setup disk.I have PC I7 [email protected], 12GB DDR3 and three disks.Two new seagate 3.5 500GB 7200.12 and one external disk 2.5 Seagate 7200.4 ESATA connect. How i setup this disk to work in premiere  CS4 ?? RAID0 helpful ?? I think about this configuration:
    RAID0 from two disks 3.5 and partition this:
    50GB: SYSTEM + OS
    150GB: Render files, scratch files, project files
    800GB: media files
    External disk: Export media files
    This is it good ?or maybe this configuration:
    No raid and:
    DISK 1 3,5:OS + PROGRAMS+ PROJECT FILES+SCRATCH FILES
    DISK 2 3,5: MEDIA FILES
    DISK 3 2,5: EXPORT FILES
    I read FAQ but there is no solution for two disks. I know that partitioning is no good.I have one question about preferences: Optimize for memory, or for perfomance i CHOOSE ??
    I will work on AVCHD files from panasonic 151E
    My english is no good and sorry for my mistakes
    Best wishes

    DISK 1 3,5:OS + PROGRAMS+ PROJECT FILES+SCRATCH FILES
    DISK 2
    3,5: MEDIA FILES
    DISK 3 2,5: EXPORT FILES
    I would use the following setup:
    Disk 1 3.5: OS & Programs
    Disk 2 3.5: Project & Media
    Disk 3 2.5: Export & Scratch
    I would refrain from partitioning and possibly get a Velociraptor for OS & Programs and then use:
    Disk 1 Velociraptor: OS & Programs
    Disk 2 3.5: Project & Scratch
    Disk 3 3.5: Media
    Disk 4 2.5: Export
    Hope this helps.

  • I deleted photobooth by accident and i have tried to get it back with the setup disk, i got imovie and garageband back but not photobooth. Any ideas?

    i deleted photobooth by accident and i have tried to get it back with the setup disk, i got imovie and garageband back but not photobooth. Any ideas?

    PhotoBooth is not on the iLife disk which has iMovie and Garage Band.  PhotoBooth is integrated into OSX, so it's not going to be easy to get back.  You'll need to get it from the recovery disk or partition.  Which OSX are you using so we can point you in the right direction.  NEVER delete any of the OSX programs.

  • Though the root disk is mirrored, server is unable to boot from alternate disk (mirror disk)

    Hi PPl,
    It happened second time in a row. Though the root disk is mirrored, server is unable to boot from alternate disk (mirror disk)
    When the disk was found faulty, still unable to boot the OS from alternate disk, it says it still probe/look for other disk
    Here are the console log when I tried to boot the OS
    sc> console
    Enter #. to return to ALOM.
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    In such condition left out with only two options.
    1)      Remove the faulty disk physically and boot
    (or)
    2)      Replace the faulty disk and boot it
    Any way, I can disable the faulty disk in BIOS (or) booting from cd-rom and do something to avoid it?

    You can't boot from systems earlier than that shipped with the computer. For example, early 2008 Mac Pros come with 10.5.1 and can't boot 10.5
    Also you can't boot with a DVD that was shipped with a different model Mac.

  • How to setup  internet connection in  Solaris 10 X86

    All
    I have installed Solaris 10 X86 in my intel laptop. I want to setup internet connection in solaris. Can you please provide me some info on this ? I have Comcast broadband cable modem installed at home.
    Thanks
    Murali

    user8473723 wrote:
    All
    I have installed Solaris 10 X86 in my  intel laptop. I want to setup internet connection in solaris. You need to determine whether your NIC is even supported.
    (but you kept that particular information a secret in your forum post)
    If the Ethernet chipset is supported, you then need to install the drivers.
    By the way, very few wireless networking chipsets are supported.

  • How to setup Internet connection in Solaris 10

    Hi All,
    I recently installed Solaris 10 in my laptop as a guest OS which is having Host OS of Windows 7 by using Virtual Box.
    I shared all my hardwares and network connection and still I cannot use the internet connection in my guest OS (Solaris 10).
    I'm new to this could anyone please provide steps to set up internet connection in Solaris 10???
    Thanks,
    Mahesh

    user8473723 wrote:
    All
    I have installed Solaris 10 X86 in my  intel laptop. I want to setup internet connection in solaris. You need to determine whether your NIC is even supported.
    (but you kept that particular information a secret in your forum post)
    If the Ethernet chipset is supported, you then need to install the drivers.
    By the way, very few wireless networking chipsets are supported.

Maybe you are looking for

  • Changing Filename for CUTEPDF Printer

    Hi, Does anyone know how we can change the naming convention for filename in CUTEPDF SAVE dialog box? Our basis has set up device type 'PDF1' in SPAD and tie this to output device 'XX_PDF'. When we go to VA02 to issue output, if we set the print para

  • Need help setting up IMAP account

    I have an IMAP account with JustHost. I'm confused about how to set it up on the iPhone so that deleted and sent messages are stored on the server in the same folder they would be stored in if I deleted or sent them from Mail.app. JustHost include th

  • What is the font used at the end of the movie trailer, Blockbuster

    Can anyone tell me the name of the FONT used in the I Movie Trailer called Block Buster? I think the opening font says ROADTRIP Thanks so much! A

  • My Itunes library doubled itself.

    I opened Itunes tonight and it looked like everything was in the cloud. So I stated to redownload everything. Then I realized things were doubled and in some cases tripled. So I had to delete and hide them in the cloud. Now items are in the library a

  • Execute a stored function from command line

    Hello, I have a db stored function and I need to execute it from command line. I've tried by this way: (I need to connect with sys credentials) sqlplus sys/mypwd@mydb AS SYSDBA @myfile.sql and myfile.sql is: exec myschema.sf_test; but I get this erro