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

Similar Messages

  • Verbatim disk drive historically used only for time machine backups. Recently i added some other media files to use some of available space without partitioning, the disc now refuses to mount in finder despite appearing in disk utility. Repair fails. HELP

    Sorry to elaborate a bit more.
    I have used time machine since owning my mac book pro with no issues. i keep the timemachine backups on an external hard drive made by Verbatim. This has not external power source.
    Recently i decided to use up some of the available space on the external verbatim disk drive to store some movie files which were sitting on my macbook pro.
    Therefore i created a new folder outside of the time machine backup folder and stored the movie files in there.
    From then on Time machine failed... and a few days later i noticed it was not mounting in 'finder'
    Therefore i used disk utility to see if it was recognising it. Which i was. However when i try to repair it the repair process fails.
    In disk utility i am presented with 1 TB Samsung HN M10 which has a child called Verbatim HD.
    The 1TB Samsung hardware appears fine, but the verbatim disk i am unable to fully verify and fix.
    Does this mean i have lost all my back ups?
    Have I lost all the media that i put on there?
    Is there any way to fix this?
    Any help would be appreciated.
    didier07...

    To summarize: You used an external Verbatim HD for your TM backups. Then, you stored some movie files on the "spare" space on the Verbatim drive. Now, Disk Utility isn't being recognized, and repair is disabled. Your home Samsung drive is working fine, but the Verbatim cannot be verified.
    The problem, I believe, is that the external Verbatim drive wasn't partitioned. There should be two partitions: one for TM backups, the other for video. That way, you can perform backups, and still retain some space for video or somesuch.
    Frankly, I don't know how to fix this except through the following. (1) Erase the Verbatim drive, (2) Create a new blank space and format it, (3) Make two partitions - one for backup, the other for video. (4) Run TM through one partition, but switch to the other for your videos.  The better solution might be to have one dedicated drive (perhaps the Verbatim) for backups, and another dedicated drive for video backups; that way, you'll have plenty of space for expansion.
    I hope someone will correct me if I'm incorrect, but I believe you've essentially lost your backups and media. I don't know how you can retrieve that clump of the now-undifferentiated data on the Verbatim drive. To retrieve any lost data, you're going to require another external drive that's larger in capacity, as well as data recovery software; don't expect encouraging results. If you're desperate, there are firms like Drive Savers that can offer a more comprehensive solution - at a cost.
    Post if you have questions, or additional concerns!

  • I have a MacBook Pro running Lion. I need to use Lion to run my Dragon. I would like to partition my drive to use Maverick for everything but the dictation software. I'm a new pie to apple

    I have a MacBook Pro running Lion. I need to use Lion to run my Dragon. I would like to partition my drive to use Mavericks for everything but the dictation software. I'm a newbie to apple

    To resize the drive do the following:
    1. Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    After the main menu appears select Disk Utility and click on the Continue button. Select the hard drive's main entry then click on the Partition tab in the DU main window.
    2. You should see the graphical sizing window showing the existing partitions. A portion may appear as a blue rectangle representing the used space on a partition.
    3. In the lower right corner of the sizing rectangle for each partition is a resizing gadget. Select it with the mouse and move the bottom of the rectangle upwards until you have reduced the existing partition enough to create the desired new volume's size. The space below the resized partition will appear gray. Click on the Apply button and wait until the process has completed.  (Note: You can only make a partition smaller in order to create new free space.)
    4. Click on the [+] button below the sizing window to add a new partition in the gray space you freed up. Give the new volume a name, if you wish, then click on the Apply button. Wait until the process has completed.
    You should now have a new volume on the drive.
    It would be wise to have a backup of your current system as resizing is not necessarily free of risk for data loss.  Your drive must have sufficient contiguous free space for this process to work.

  • I have a macbook.  Whenever I put a disk into the disk drives it keeps ejecting the disk after 2 secs.  How can I fix this?  Thanks

    have a macbook.  Whenever I put a disk into the disk drives it keeps ejecting the disk after 2 secs.  How can I fix this?  Thanks

    I am also having a similar issue. I used Adobe Lightroom and my whole display goes black. Even my laptop screen and the lights on the keyboard go black. I can still hear the fan running, so I assume it is just the display. This is my first Mac and I have had nothing but issues. I think I am going back to Windows after this.

  • Is it possible to have multiple partitions on my hard disk drive and use Bootcamp to install Windows?

    Hi all,
    Here is my question: I have MBP early 2011 and was trying to install Windows 8 using Bootcamp but the option to install Windows is grayed out so I can’t click the box next to “Install or Remove Windows 7.” Is this because I have multiple partition on my hard disk drive? Is there anyway I can install Windows 8 using Bootcamp without deleting my partitions on my hard disk?
    Few more details:
    Mountain Lion 10.8.2
    Bootcamp 5.0.0
    Thanks for your response

    You can't create a Boot Camp partition on a drive you've already partitioned, and you can't install Windows 8 through Boot Camp at this time.
    (71680)

  • External hard drive won't unmount for disk utility.

    Im not sure if this is the right topic area but I have a white macbook and my external hard drive won't unmount. I want to erase it via disk utility but it keeps telling me other programs are using it.

    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.

  • When trying to install yosemite it won't let me select and disk drive including the hd for install. Whats the problem?

    While installing yosemite, after agreeing to the terms it ask for a disk drive to select for install. All of mine that come up say that yosemite cannot install to that one. This includes my HD. What is the problem?

    I subscribe to the "if it ain't broke don't fix it" and it currently works fine with 10.9.5, or it works fine as my start up disk presently.
    The reason I suspect FDE is the culprit is from reading this:
    http://fairerplatform.com/2014/06/can-mac-run-os-x-10-10-yosemite/
    and in the known issues for installation it mentions "may be unable to install over an encrypted volume" and while this is from an older version, I'm going to hold off now until I've seen that 'Known issue' resolved. I'm having trouble finding a copy of the current release notes.
    This account of installing Yosemite seems to have hit a number of the Known Issues:
    http://onword.co/6642/
    My FDE linux installations know how to upgrade themselves on a full disk encrypted systems. I'm a little disappointed this is an issue at all, and am going to wait. It's not worth the risk of bricking this machine.

  • How can i download microsoft office on computer since it doesn't have a disk drive and i have a disk for it?

    I just purchased this computer and i want to download microsoft office and i already bought it. However it comes with a disk and this computer doesnt have the disk drive and i dont want to spend the money on a superdrive yet. What are my opyions to download this?

    Download Office for Mac 2011 from this web site:
    Office for Mac 2011 digital download
    Follow the instructions on the web page to download the file.
    Double-click the file to start the installation.
    When the "Welcome to Office:Mac 2011" screen appears, select the Enter your product keyoption.
    Read the Software License Agreement, and then click Continue.
    Enter the product key from the retail Office for Mac 2011 package you purchased.

  • Does Hard Disk Drive Camcorder using MPEG2-PS format work with iMovie6?

    Considering purchasing a Sony DSR - SR 82 Camcorder with a Hard Disk Drive using MPEG2-PS format. I read in the Missing Manual that MPEG-2 generally does not work with iMovie.

    Hello Luv2Curl,
    I read in the Missing Manual that MPEG-2 generally does not work with iMovie.
    That is correct. MPEG-2 video needs to go through a lengthy and lossy conversion process in order to be imported and edited in iMovie. You'll be better off getting a MiniDV camcorder - it works natively with iMovie and the video quality is better as well.
    hope this helps
    mish

  • Reinstalling CS2 on new hard drive from download. Disk 1 installs and asks for Disk 2 which I can't get to install.

    I'm trying to reinstal CS2 on my newly replaced boot drive from a download. Disk 1 installs and then request me to insert Disk2. How do I direct it to the disk2 download?

    move the unzipped contents of all three files to the same directory. then install.

  • Hard Disk Drive not Recognized as Startup Disk

    Hi:
    I am an experienced Mac user, and have been for 20+ years. But I need a little help.
    I recently purchased a Western Digital 'Caviar Green" SATA internal 3.5" disk drive (model number WD15EARS-00Z5B1). I installed it into my Mac Pro as I have done with several other drives in the past.
    After installing it I loaded Snow Leopard and attempted to make it my startup disk. However, my Mac Pro will not recognize it as a startup disk. I wrote to Western Digital to ask if they had a firmware update to fix this issue, and they responded with this:
    "Thank you for contacting Western Digital Customer Service and Support. My name is John E.
    It is possible that the drive may not be compatible with your computer. Western Digital does not have hardware compatibility information. You may need to contact Apple to see if this drive is on their Hardware Compatibility List (HCL).
    Sincerely,
    John E.
    Western Digital Service and Support"
    The reason for this post is that I find it hard to believe that a supposedly industry-standard SATA drive would not be supported by Mac OS X. My current feeling is that the drive is faulty, but Western Digital is pointing the finger at Apple.
    Any help re: this problem would be appreciated. Oh, and before I contacted WD about this, I ran disk utility and disk permissions repair on the new WD disk drive, and I reset my Mac system's PRAM. Is there something else that I could try?
    Thanks,
    -AstraPoint

    Looks like you are not alone:
    http://community.wdc.com/t5/Desktop/WD-1-5TB-Green-drives-Useful-as-door-stops/t d-p/1217/page/2
    http://community.wdc.com/t5/Desktop/WDC-WD15EARS-00Z5B1-awful-performance/m-p/52 42
    I'm actually a WD FanBoy. I won't be buying any of their external drives or "Green" drives though.
    I love their Desktop and Enterprise class drives. There seems to be a quality difference of Night and
    Day between some of the products in their product lineup.
    Kj ♘

  • How does repair disk function work using an install disk?

    Appreciate any input........ thanks...    
    I need to repair my disk using the "repair" function in disk utility, but the option is blank.., however the message states to use the install disk that came with the Macbook Pro..., but there is no way to access the function....., it only gives the options for a re-install...
    anybody have any ideas ?
    I also use a timemachine...... is it possible to somehow use this feature to fix my disk ?

    Look on the menubar for utilities.

  • Solaris 10 cannot mirror using SVM for SFV440 server

    I have tried to use LVM to configure the c1t2d0s0 and c1t3d0s0 but fail.
    Below are the commands I used:
    #metadb -f -a -c 4 /dev/dsk/c1t2d0s7
    #metadb -a -c 4 /dev/dsk/c1t3d0s7
    #metainit -f d10 1 1 c1t2d0s0
    #metainit -f d20 1 1 c1t3d0s0
    #metainit d0 -m d10
    (modify the /etc/vfstab file to /dev/md/dsk/d0 and /etc/md/rdsk/d0)
    #init 6
    After reboot the server, metadb are deleted. Cannot mount the /dev/dsk/d0.
    I have 8 SFV440 servers total. 7 SFV440 servers with mother-board (p/n:
    501-6910) cannot mirror. 1 SFV440 server with mother-board (p/n: 501-6344)
    is wotking fine can use LVM to mirror the data disk. All the configuration
    are same. (hardware and OS (Solaris 10 03/05)used)

    Try the following commands:
    First make sure that the metadb partitions are unmounted and big enough to hold the metadb's.
    Second make sure both sides of the mirrors are the exact same size. Mirroring will fail if the 2nd half of the mirror is smaller than the first half.
    I would then newfs and fsck the metadb partitions.
    #metadb -f -a -c 2 /dev/dsk/c1t2d0s7
    #metadb -f -a -c 2 /dev/dsk/c1t3d0s7
    # make sure the metadbs exist
    # metadb -i
    #metainit -f d10 1 1 c1t2d0s0
    #metainit -f d20 1 1 c1t3d0s0
    #metainit d0 -m d10
    (modify the /etc/vfstab file to /dev/md/dsk/d0 and /dev/md/rdsk/d0)
    # check out to see if the one way mirror exists
    metastat
    #init 6
    # Don't forget to attach the 2nd half of the mirror
    # metattach d0 d20
    # check to see that the mirror is syncing
    # metastat

  • Do I need to back up my iMac to an external HD? if so should I partion the drive and use it for storage as well

    At a loss... 

    Highly recommended you have at lesat the incremental backups automated by Time Machine (the software).  Time Machine makes backups so easy to setup and after that you ‘forget’ about backups as all tasks occur in the background, hourly by default.
    If you use Time Capsule (the hardware) for your backups, you should not partition that drive.  If you use a conventional external drive, you can consider partitioning it so that one volume is dedicated to Time Machine and one volume for example for other data purposes.  When you have an external drive, you need to drag it to the Trash icon on the dock to eject the drive before you shutdown (or restart) the computer; this will ensure all data is physically written to the drive and buffers cleared.  When you partition the external drive, ensure that both partitions are ejected before you shutdown.
    The first time Time Machine runs, it does a full backup and can take quite a long time depending upon how much you are backing up.  After that, it only backs up data that has changed and is usually very quick.  At anytime, you can delete those backups and do a new full backup if you wish.  It keeps old versions of everything you backup as long as you have space on the drive.  When you are nearly out of space, Time Machine deletes the oldest versions of files until it has made enough room to continue backups.  You’ll always have at least one complete image of all your data backed up assuming your backup volume is always larger than the data you wish to backup.  If your backup disk is not large enough to hold everything, you can select files you do not wish to be backed up by Time Machine, for instance, you may have large video capture files from HDV tape that you do not need to backup because they are already on tape.

  • Disk Utility: Reporting wrong size for disk after a restore

    First up, hardware is G4(PPC) running OS 10.4.11
    I've just purchased and installed a new 500G drive for this old workhorse as an upgrade for the previous secondary drive. Set it up with a single partition, JHFS+. No problems so far. Went to copy the files from the old drive to this new one and thought, "Why don't I try that handly looking Restore button?". +Yeah, apparently a bad idea+. The old drive is 120GB. I set its (only) volume to be the source and my newly created partition to be the target; set it going and left it alone. All appeared to be well when I came back, until I checked the available space on the new drive.
    Disk Utility now reports that this new, 500G drive has a Total Capacity of 128G (137,438,952,960 bytes).
    *Remedies tried so far:*
    - I've tried reformatting/partitioning, but wasn't able to convince it otherwise. Also tried it booting from an install DVD just in case that made a difference.
    - I downloaded a utility from the drive manufacturer which I managed to get on to an ancient, dusty w2k box. Reformatted the drive with 2 NTFS partitions. This seemed to do the trick as they both mounted when I rebooted the Mac. However, when I went to reformat the volumes to JHFS I noticed that the total disk size was still being reported as 128G. Still, they reformatted fine and I transfered my data to them. On a reboot, though, the Mac decided that it didn't want to see the second partition and only shows me disk1s10, ignoring the second partition I set up.
    - I have an identical, empty drive to the 500G. I thought I might be able to use the Restore "feature" to trick it back. Set up the second 500G in a firewire box, ran the restore from the empty volume to the screwed up one. No dice.
    I thought that OS X ignored any sort of BIOS info on a drive and merely looked at the physical media. Is this correct? Does it store this gathered info in a file somewhere that I can delete?
    *This is a call for help.*
    I have no problems playing with the command line as root, if that's the sort of suggestions you've got. I just thought I'd ask here before I fdisk/dd etc from new500 to old500. Geometry of the new500 is 60801/255/63.

    Thanks! That sounds like a good short term solution for a backup.
    EDIT: Cross reference link for anyone who happens to google this thread with a similar problem:
    http://discussions.apple.com/thread.jspa?messageID=7230072&tstart=0
    Message was edited by: mr_lunch

Maybe you are looking for