Clone internal disk(ufsdump) which has metadevice on external disk(sol 5.6)

Dear IT Experts,
I just help my friend. we planned to clone an internal disk of SUN Ultra 1 which is run using Solaris 2.6 (old).
Actually, this system has one external disk which has created before using metadevice.
The external disk (*/dev/md/dsk/d100 --> concatenation*) is used to save application data and connected to ultra 1 using SCSI device.
Here is the vfstab content:
+#device     device     mount     FS     fsck     mount     mount+
+#to mount     to fsck     point     type     pass     at boot     options+
+#+
+#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr     ufs     1     yes     -+
fd     -     /dev/fd     fd     -     no     -
+/proc     -     /proc     proc     -     no     -+
swap     -     /tmp     tmpfs     -     yes     -
+/dev/dsk/c0t0d0s1     -     -     swap     -     no     -+
+/dev/dsk/c0t0d0s0     /dev/rdsk/c0t0d0s0     /     ufs     1     no     -+
+/dev/dsk/c0t0d0s6     /dev/rdsk/c0t0d0s6     /usr     ufs     1     no     -+
+/dev/dsk/c0t0d0s4     /dev/rdsk/c0t0d0s4     /var     ufs     1     no     -+
+/dev/dsk/c0t0d0s7     /dev/rdsk/c0t0d0s7     /export/home     ufs     2     yes     -+
+/dev/dsk/c0t0d0s5     /dev/rdsk/c0t0d0s5     /opt     ufs     2     yes     -+
+/dev/md/dsk/d100     /dev/md/rdsk/d100     /export/home/oak     ufs     2     yes     +-
Running command "metastat" and "metadb -i" will give output :
+# metastat+
d100: Concat/Stripe    Size: 53031888 blocks    Stripe 0: (interlace: 64 blocks)        Device              Start Block  Dbase        c0t2d0s7                   0     No        c0t3d0s7                   0     No        c0t4d0s7                   0     No
+#+
+# metadb -i+
flags           first blk       block count
a m  pc luo        16              1034            /dev/dsk/c0t0d0s3
a    pc luo        1050            1034            /dev/dsk/c0t0d0s3
a    pc luo        2084            1034            /dev/dsk/c0t0d0s3
Running command "format" will give output :
Current partition table (original):
Total disk cylinders available: 2733 2 (reserved cylinders)+
Part      Tag    Flag     Cylinders        Size            Blocks
+0 root wm 0 - 134 100.20MB (135/0/0) 205200+
+1 swap wu 135 - 307 128.40MB (173/0/0) 262960+
+2 backup wm 0 - 2732 1.98GB (2733/0/0) 4154160+
+3 unassigned wm 308 - 310 2.23MB (3/0/0) 4560+
+4 var wm 311 - 580 200.39MB (270/0/0) 410400+
+5 unassigned wm 581 - 985 300.59MB (405/0/0) 615600+
+6 usr wm 986 - 2333 1000.47MB (1348/0/0) 2048960+
+7 home wm 2334 - 2732 296.13MB (399/0/0) 606480+
We try to clone disk using "ufsdump" command. The backup disk (cot1d0) capacity is like the capacity of original disk (c0t0d0) --> 2.1GB.
Here is all the command that we have run:
+# mount /dev/dsk/c0t1d0s0 /clone-root+
+# cd /clone-root+
+# ufsdump 0cf - /dev/rdsk/c0t0d0s0|ufsrestore -rf -+
+# mount /dev/dsk/c0t1d0s3 /clone-s3+
+# cd ../clone-s3+
+# ufsdump 0cf - /dev/rdsk/c0t0d0s3|ufsrestore -rf - --> this command gave output "it is not ufsdump format"+
# mount /dev/dsk/c0t1d0s4 /clone-var
# cd ../clone-var
# ufsdump 0cf - /dev/rdsk/c0t0d0s4|ufsrestore -rf -
+# mount /dev/dsk/c0t1d0s5 /clone-opt+
+# cd ../clone-opt+
+# ufsdump 0cf - /dev/rdsk/c0t0d0s5|ufsrestore -rf -+
+# mount /dev/dsk/c0t1d0s6 /clone-usr+
+# cd ../clone-usr+
+# ufsdump 0cf - /dev/rdsk/c0t0d0s6|ufsrestore -rf -+
+# mount /dev/dsk/c0t1d0s7 /clone-export+
+# cd ../clone-export+
+# ufsdump 0cf - /dev/rdsk/c0t0d0s7|ufsrestore -rf+ -
All dumping process were successfully done EXCEPT at /dev/rdsk/c0t0d0s3. It said that this partition is not in ufsdump format. I think because this partition is used as metadevice database.
All dumping process were successfully done EXCEPT at /dev/rdsk/c0t0d0s3. It said that this partition is not in ufsdump format. I think because this partition is used as metadevice database.
Afte install bootblk to c0t1d0s0, we tried to boot system using clone disk result (c0t1d0). We unplugged the original disk, and put the clone disk into target 0 slot (c0t0d0).
While booting, it said that the meta database was broken and need to be repaired. we delete the metadb and re-create again --> # metadb -a -c3 -f /dev/dsk/c0t0d0s3.
then REBOOT.
But, after it, system won`t boot. the said that
*"/dev/md/rdsk/d100" = no such device or address*
*/dev/md/rdsk/d100 /dev/dsk/c0t0d0s5 /dev/dsk/c0t0d0s7 = can`t check file system*
please run fsck manually"
we have run command "fsck". but the problem still there. System can`t boot. :-(
But, while we put the original disk back, the system can run normally.
Is there any steps that we are missing? Kindly need your help, please....we stuck. No idea...please response
Thank you for any help and suggestion
regarads,
ferianto

Sorry to hear.
Other possibilities...
Data Rescue...
http://www.prosofteng.com/products/data_rescue.php
(Has a Free Demo to see if it could or not, but you'll need another drive to recover to).
rccharles on file recovery...
"Stellar Phoenix Macintosh - Mac data recovery software, recovers data from damaged, deleted, or corrupted volumes and even from initialized disks."
They have a trial version, so I guess you can see if your data can be recovered...
http://www.stellarinfo.com/mac-data-recovery.htm
FileSalvage is an extremely powerful Macintosh application for exploring and recovering deleted files from a drive or volume. FileSalvage is designed to restore files that have:
    * been accidentally deleted.
    * become unreadable due to media faults.
    * been stored on a drive before it was re-initialized/formatted.
http://subrosasoft.com/OSXSoftware/index.php?main_page=product_info&products_id= 1

Similar Messages

  • Need to make a copy/clone of a table which has sdo_geometry data type

    Folks,
    We are running Oracle 11gr1 on Suse Linux platform.
    We have a requirement, where we need to make a copy of a table, in the same database but in a difference schema, the source table has about 130 millions rows and also has the sdo_getometry data type.
    I tried materialized view, but MV does not support sdo_geometry data type.
    According to one of my DBAs, doing it via data pump , will take few days, which is not acceptable.
    Is there a way, we can make a copy of this table in the same db ?
    Thanks
    Ashish

    Siva,
    This is not for backup purpose.
    Here is the background information on this requirement.
    I need to have a static copy of a table, which has spatial column, sdo_geometry in it.
    So we can run another application against this table, just read-only, since we need static data, data in the source table changes quite often.
    One of my DBA suggested to have another instance/database, to keep the copy of the source table, I thought idea of having another database just to keep a copy of a table is an over kill.
    That is why I had asked this question and you had provided a viable solution.
    Then we need to refresh this table , with the data (changes) from the source table, maybe once in 2- 3 weeks.
    I tried creating a Materialized view, but it does not support Spatial columns.
    So now I am trying to figure out, the most efficient way to refresh the clone table from the source table.
    Regards,
    Ashish

  • How to change disk space for encoding assets to external disk drive

    My laptop has only 1G left and I can't seem to burn a video with iDVD 6. An error message says: "Not enough free disk space for encoding the remaining assets."
    How can I use my external hard drive, where my project is being stored, instead for encoding the remaining assets?

    1GB left? Wow - I'm surprised you aren't having trouble with the OS!
    Normally, OS-X likes at least 10% of your hard drive kept free for OS use.
    You REALLY need to fee up hard disk space before you have major problems.
    As for: > How can I use my external hard drive, where my project is being stored, instead for encoding the remaining assets?
    As far as I know, you can't.
    F Shippey

  • I currently have a MAC Mini, which has 1 Firewire 800 port.  I have a 1TB external hard disk that runs at Firewire 400.  Can I insert another external hard drive that runs at Firewire 800?

    Here's the deal.  Currently running SL 10.6.8 on a MAC Mini.  Planning for eventual upgrade to ML.  Have a 1TB external hard drive partitioned into two volumes, one volume for Time Machine and one volume for SL which I periodically update using Superduper.  Thus I always have a point-in-time bootable backup on the external hard drive.
    The MAC Mini supports Firewire 800.  However, booting from my current external hard disk is pretty slow, since it only supports Firewire 400.  I am considering buying an Iomega MiniMax which supports Firewire 800.  Then, I would use the MiniMax as my bootable backup volume, and relegate the older hard drive to Time Machine. 
    So, question #1 is, can I daisychain the new MiniMax between the MAC Mini and my existing external hard drive?  My expectation is that the new Mini Max would run using Firewire 800 and that the existing hard drive would run at Firewire 400 speed as it does today.  If it doesn't (e.g., daisychaining in the Firewire 400 external disk with the MiniMax Firewire 800 external disk ends up running the whole leg at 400), my resolution will be to run the existing hard disk off an available USB port and have just the MiniMax running at Firewire 800.
    Why am I going to all this trouble?  That's question #2.  I don't trust upgrades; they always break something.  When I upgraded from 10.5.x to 10.6.x, the web directories got renamed, and all of my web apps 403'd until I figured out what happened.  Plus, I have accounts for other family members, and in order to ensure their ability to use the computer during my upgrade process, I need to have the ability to fall-back quickly to a known-stable version of OSX.  So what I'm trying to do is insulate myself from problems by partitioning the MiniMax into two volumes, taking a Superduper image of my current installation on the Mac Mini to MiniMax external drive volume 1, then upgrading to ML on the MAC Mini, and take a SuperDuper image of that to MiniMax external drive volume 2.  Then, if the upgrade results in problems I can't resolve immediately, I can simply reimage the MAC Mini from MiniMax volume 1.  BUT ...
    ... I've read that the ML installation creates a "service and support" partition that is different than the startup disk.  I'm concerned that I won't be able to reimage the hard disk in the MAC Mini once I upgrade it to ML because of the partitioning changes it introduces on the startup disk.  Theoretically, I +should+ be able to use the disk utility on my SL system to repartition the disk in the MAC Mini prior to reimaging it from my backup, but I'm considering the possibility that the new partition may be of a type that the SL disk utility cannot identify, and might therefore be unable to delete or even detect.  So I'm hoping someone else has been down this road and can advise me.  Even at Firewire 800 speeds, booting from an external disk is still going to be slow, so I want to be able to restore my SL image to the MAC Mini hard disk.
    A little background on me.  I work for a major disaster recovery provider.  I used to have a Mac PRO G5, which I got used, and the first thing I did with it was install a second hard disk, SuperDupe an image from the first disk to the second, and made sure I could boot from the second.  THEN I started using and customizing the MAC.  I really feel vulnerable with the MAC Mini, since it only has the single internal hard drive - sort of like going out in public dressed only in a long T-shirt.  So my whole thing is, I ABSOLUTELY MUST BE ABLE TO PUT THINGS BACK THE WAY THEY WERE before I do the migration to ML.
    Obsessive-cumpulsive?  Yep.  Anal?  You got it.  That's why I'm in the DR business.

    You may have overloaded the port, following the instructions below it should reset:
    +1. Shut down the computer.+
    +2. Disconnect all devices and all other cables, except the keyboard and mouse cable(s).+
    +3. Disconnect the computer from the power outlet and wait for 3 to 5 minutes.+
    +4. Plug the computer back in and turn it on.+
    +5. Reconnect the device(s) (one at a time if there is more than one) and test. Test with each port if you have more than one.+
    http://support.apple.com/kb/HT1317?viewlocale=en_US

  • What should i do to use an international credit card.It has a US billing adress

    I would like to know how to use an international credit card which has a us adress billing

    I'm living in haiti,there's no itunes store for Haiti, i have a us visa and my international credit card also has a United States billing adress beside the one in Haiti.But when i try to use it at the apple online store i got a message saying that my payment method doesn't match my bank record.I don't know what to do.

  • My laptop has no disk drive, so how do I install Photoshop CS5 without using a external disk drive?

    I've recently bought a laptop that does not have a disk drive. Is there any way to install Adobe Design Premium CS5 that I bought as a Disk last time without buying an external Disk drive?

    You can copy the content of the DVD on your computer through pen drive then install the software, to copy the content on pen drive you need the computer which can read you DVD.
    Or else , You can driectly download the setup on your computer from this link and use the serial number to serialize it;-
    http://prodesigntools.com/tag/ddl

  • Late 2013 Macbook Pro Retina 15' will not boot an external disk from a Mid-2012 MAcbook Pro. What should I do?

    In order to simplify moving all my files from the previous mid-2012 macbook pro 15' when moving to my new late-2013 macbook pro, i superdup-ed the full hard-disk to an external ssd. Unfortunatelly the new mac resuses to boot from this external disk (i get the grey disk with a line over it). The external disk works just fine so if I boot the new mac from its internal SSD I can read/write the external disk without problems.
    Old OS X is 10.9 as is the OS on the new mac.
    What I need to do is to boot the new mac from the external ssd, use the same superduper to copy the external content onto the internal ssd.
    How can I solve this issue?

    Welcome to Apple Support Communities
    If you made a backup of your files with SuperDuper, use Migration Assistant (in /Applications/Utilities) to transfer your files from the external drive > http://pondini.org/OSX/MigrateLion.html It will create a new user account with the transferred files, so you may want to merge both user accounts > https://discussions.apple.com/docs/DOC-5472
    The Late 2013 MacBook Pro uses a special OS X Mavericks version which makes OS X compatible with it, and older OS X versions do not work with it. That's the reason why you cannot start up from the external drive created from the Mid 2012 MacBook Pro

  • Lightroom can't find external disk by itself

    Since uprgrading to Lightroom 2 (currently 2.2) I'm having this strange problem (this is on a Macbook Pro (OSX 10.5.6).
    I keep my photo's and my catalog on an external SATAlink harddrive. Often when I start Lightroom, it tells me that it can't find my catalog and gives me the option to manually browse for it. When I select my external drive, I notice that somehow there's been added a number to my external drive's name (the current name that LR uses is 'external disk 8', where the disks real name is just 'external disk'. The pattern is such that when I'll open LR tomorrow, LR will probably not be able to find my catalogue, and when I browse for it, I'll find that LR (or my OS?) has renamed my external disk to 'external disk 9'.
    Also, LR hasn't been able to locate my catalogue backup folder (which is also on the external drive). I have to manually direct LR to the backup folder each time. I guess this is the same problem.
    If anybody has a clue what the problem could be, I'd very much like to hear it. It's not a huge problem to browse for the external disk when LR starts, but it's anoying nevertheless...
    Richard

    Richard-
    Delete your Prefs file, always make sure your external is mounted before launching LR, then launch by double clicking on the proper .lrcat file. I'd frankly change the name of my external. as anything that even looks like a default name is a no-no in my book.

  • Backup with time machine. external disk is now full and can't reopened!

    Last weekend I tried to do my first backup with the time machine software. For this purpose, I used a external disk containing different kind of documents, pictures and songs. This external disk was used before on a HP (software: windows vista). Unfortunately, during the backup process, I disrupeted the connection and the backup couln't finished. Now, my macbook pro can't recognise the external disk and also on my old HP the external disk is not recognised and no docment can't be opend!! When I look at the properties of this disk, then I see that the external disk is almost full. Does this cause all the problem?
    How do I proceed in order to get back all my documents on this disk?

    You and your wife share one drive for backup?  Do you backup over wifi or move it around? 
    Time machine is generally a rock solid tool but you can use it in ways that make it unstable.  I have dedicated drives on 3 macs which run very solid.  I also have one drive on a airport extreme base station (older model which is not supported but does work) that I use with a macbook air.  The macbook air wifi based backup runs into problems a few times a year.  One of my iMacs with a dedicated drive also runs into problems but only when the drive is nearly full.
    It sounds like your drive is nearly full and your using multiple notebooks and possibily wifi......If this is the case, you may be way less frustrated by buying dedicated drives sufficiently big for each computer.  That is the experience I can share with you.
    Good luck.

  • External disk access privileges

    I got some VERY bad advice on access privileges and I am now unable to access my external firewire disk. I added my user id to the root of my boot disk and did an apply to all subfolders. I was trying to protect my data, but the disk now disapeared from my desktop. I run the Disk program and it shows the external disk but it doesnt mount it so I can not access it to change the privileges. I get "you can't open the folder because you don't have sufficient access privileges.
    Is there any way to fix this? I have done a repair permissions on my boot disk.
    Thaank you
    G5 Mac OS X (10.4.11)

    It happens a very spooky thing, by trying for the N time to check the disk (with the disk program), it suddenly reapear at the desktop... i was very upset, dont know what have I done lastly, but allas, its now healled. I hope it will keep this way otherwise i'll be back here
    Sorry to bother you guys, thank you so much for all the links and the patiente!
    (Thanx God I dont have to deal with that DOSlike terminal). At least I learn a good lesson, rookies should never mess with volumes's privileges...
    my best kind regards!

  • Copying a disk which has a boot camp partition

    Colleague has an iMac with a boot camp partition, and the disk has failed.  It won't boot off the mac partition, although the windows partition works fine.  He bought a new 1T disk and we are trying to copy his disk on to it, and will then install the new disk into the iMac.
    So it's booted up using the SnowLeopard install disk and I am running disk utility.  First I tried to partition the disk into something that looks like the partition scheme on the current disk -- big partition for os x, little partition for windows, although big & little are 750GB vs 250GB as opposed to the smaller version on the 260GB original.
    Then I tried to use the Restore to go from the old bootcamp partition to the new MS-DOS (fat) partition on the new drive.  This failed.  First it resized the fat partition down to an ever-so-slightly smaller partition than the NTFS original, and then generated an error because the partition is too small.
    How do we do this?

    Loner T wrote:
    1. Do you have a TM backup of the OSX which came from this "failed" disk? It may just be a matter of reinstalling OSX too work around bacd blocks?
    My boss tried that about a year ago, but it failed again after not too long.
    2. What is the failure when switching to OSX from Windows?
    Not sure.  Now when I option-boot the machine I can't see either partition -- I can see the installer dvd and the new drive in its external enclosure.
    3. Windows can be installed only on the internal disk, which is a Windows restriction that BC enforces. Apple allows OS to installed on external drives. Ask Gates/Ballmer/Nadella why?
    4. Yes, you can get data of the disk, not matter how it is connected, internal or external. It is tricky to take a Volume and move it. Can I suggest an investment in Winclone to backup and restore (http://www.twocanoes.com/products/mac/winclone) Windows?
    5. Yes, but I would recommend putting Bootcamp Windows back as BC/Windows, rather than virtualizing it using Parallels.
    Well moving the new disk in to the iMac is one of the tasks we need to accomplish, so we can do it now.  My plan was to use dd to move the data from the partition on the old drive to the partition on the new drive, once we can get Boot Camp Assistant to create it.  Winclone looks like a great product, but it's $29.  Parallels is only $79, and if a disk fails or you migrate to new hardware all of the Parallels vms come over effortlessly using Setup Assistant or Migration Assistant.

  • Replacing Internal Drive which has OS

    I want to update my older drives in my Mac Pro with newer, larger capacity ones. I am cool with the physical install aspect (I installed the others successfully earlier).
    My 2 questions are:
    1) I want to replace my first drive which has all my Libraries/Apps/Document/Desktop etc. I tried to copy that drive (as I did with the others) onto an external 4T drive, but got a "do not have permission to copy" (or similar) error message. Is this a migration issue (instead of dragging in Finder?)
    2) When I start up after installing the new drive, won't the computer be looking for the OS?
    Confused and definitely not attempting this until I hear some good tips from all of you!
    Thanks!

    I want to replace my first drive which has all my Libraries/Apps/Document/Desktop etc. I tried to copy that drive (as I did with the others) onto an external 4T drive, but got a "do not have permission to copy" (or similar) error message. Is this a migration issue (instead of dragging in Finder?)
    You need to use a program such as SuperDuper or Carbon Copy Cloner.
    When I start up after installing the new drive, won't the computer be looking for the OS?
    Press the Option key at startup, tab as needed, and then change the setting in the Startup Disk pane of System Preferences.
    (50981)

  • I can't install Snow leopard on my hard disk which has 10.4.11 on and lots of space.

    I can't install Snow leopard on my hard disk which has 10.4.11 on it and lots of space, I run the snow Leopard install disk and it says it cant be installed on my hard disk, which has 160 GB of space.

    Which iMac? If it's a G5, the highest OS you can run is Leopard. Are you using the full retail copy of Snow, or a grey, machine specific disc from another computer? If it's the latter, that's the reason.
    Message was edited by: WZZZ

  • I purchased installed Photoshop Elements on a Macbook last year via the disk. I want to install it on a newer Macbook which has no disk drive. How do I go about this?

    I purchased installed Photoshop Elements on a Macbook last year via the disk. I want to install it on a newer Macbook which has no disk drive. How do I go about this?

    Download and install and activate with the serial number from your original installation.
    PSE 12 Trial - http://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements
    PSE 10, 11 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html

  • I have an external hard drive which has my i-photo on it & some movies from i-movie that I have on disk now. But for some reason my ehd has a caution symbol on it & I can't move my event to free up space on my hd so that I can export i-movie events. Help!

    I have an external hard drive which has my i-photo on it & some movies from i-movie that I have on disk now. But for some reason my ehd has a caution symbol on it & I can't move my event to free up space on my hd so that I can export i-movie events. Help!

    Usually the caution symbol means that it's formatted as a PC compatible format like NTFS or most likely FAT32. For iMovie to use it the ehd must be formatted Mac OS Extended. Then iMovie will show it without the caution symbol and you can drag/drop open any Event/Project from that hard drive.
    To find out if it's formatted as PC:
    Go to the desktop, holding down the Control key click on that ehd and in the pop-menu choose 'Get Info'
    Under Format: It will say whether or not it's Mac OS Extended (Journaled). The only way to undo a PC formatted ehd would be to copy everything off of it first, Erase/Format the drive using Disk Utility in the Applications>Utilities folder on your Mac, choosing the Mac OS Extended (Journaled) format in the pull-down menu there.

Maybe you are looking for