Using DD (Disk Duplicator) in Solaris environment?

Attempting to create bit-by-bit images of system drives to conduct analysis on. Need to create either .img or .dd file formats of the images for export.
The target system is a Sun SPARC box and looking at Solaris 8 and 10 OS. Normal dd sytax doesnt appear to work.

flash drops off certain files, and at that it's just a cpio archive
dd's basic syntax is the same as far as I know, if=, of=,bs=, etc... Maybe you're trying to use /dev/sda rather than /dev/dsk/c#t#d#s# ? Posting the command-line you're trying to run would help so we can convert if necessary...

Similar Messages

  • 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!

  • 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

  • "Create alternate versions without using extra disk space" Really?

    "Create alternate versions without using extra disk space" says Apple. But is that really true? Because, from what I understand, for Aperture's OS Integration (with the Media Browser) to work, Aperture has to render Previews of all your photos first. So, any alternate versions that you create, do exist on your Hard Drive in the form of an actual file (e.g. a JPEG).

    Reuben Feffer wrote:
    "Create alternate versions without using extra disk space" says Apple. But is that really true? Because, from what I understand, for Aperture's OS Integration (with the Media Browser) to work, Aperture has to render Previews of all your photos first. So, any alternate versions that you create, do exist on your Hard Drive in the form of an actual file (e.g. a JPEG).
    As Ian notes, it's smaller than a RAW - also smaller than an alternate PSD you might make, or duplicating a background layer in a PSD.
    Also though, you don't have to have previews for everything - I find what I do is leave automatic preview generation turned off and then just generate previews for images that I like the end result of. This lets you explore alternate versions with essentially no addition space used.

  • Page Not displayed error upon Session Expiry in Solari Environment

    Hi All,
    I have a web application deployed in Solaris environment.
    Session expiry is handled from the application.
    I have this code for session expiry in my filter class:
    ((HttpServletResponse) _response).sendRedirect("/myapp/view/sessionExpired.jsp");
    When this code is executed Im getting "Page Cannot be Displayed " error is thrown.
    The same scenario works fine windows environment.
    Im facing this issue when it is on Solaris environment.
    Thanks in Advance.
    Cheers,
    Shorath

    I am using basic in my local environment. When we deploy to DEV/QA/PROD server, it will be SSO enabled. The requirement is, when user clicks on Ok button on session expired popup, it should just stay(refresh) on the same page with the pretty URL. Currently it refreshes the page with full URL.
    URL in Browser before session expiry: http://localhost:7101/MyApp/faces/page1
    URL in Browser after session expiry(click ok on popup, refreshes the same page): http://localhost:7101/MyApp/faces/oracle/webcenter/portalapp/pages/page1.jspx

  • 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.

  • Add/Remove Raw disk to a Solaris 11 Container

    Hi All,
    What is the process or commands used to add or remove raw disks to a Solaris 11 containers.
    I need to present the raw disks to containers so that Oracle ASM can be used on the containers. I have added the raw disks but not able to delete the extra disk. Can somebody help on this. Thanks in Advance.

    I've not tried this with disk (only with tapes and that years ago on Solaris 10) but I think you need something add something like the following to your zone's configuration using zonecfg.
    add device
    set match=/dev/rdsk/<a pattern which matches the disks you want to import>
    end
    See the Solaris 11 zonecfg manual page (example 8 applies).
    Again - I've not tried this so I can't swear that it will work.

  • Is Veritas- or Sun Cluster needed for RAC in a Solaris Environment

    Is a Veritas- or Sun Cluster needed for RAC in a Solaris Environment?
    Does anyone know, when OCFS will be available for Solaris?

    You don't need Veritas Cluster File System, but until OCFS comes out for Solaris you need to think about backups. If you've not got a backup solution that can integrate with rman for an SBT device then backups become more tricky.
    If you use ASM then you can take a backup to a "cluster filesystem" (although ASM is raw partitions think of it as a cluster filesystem), that both nodes can see. BUT you then need to get these to tape somehow, unless you've got NetBackup et al. that support RMAN and can backup direct to tape you're more stuck.
    Too many people don't think about this. You could create an NFS mount and backup to this from the nodes.

  • How to find a unused hard disk in Sun Solaris unix

    Hi All,
    Can any one tell, how to find all the unused hard disk in Sun Solaris using Unix command.
    Thanks & Regds
    PAN

    not understand your question, find command is used to look for files, not disks.
    easier way is to logon to your system open up 2 windows, on 1 window # cat /etc/vfstab
    on second window type format.
    format will list all the disks in your system.
    vfstab file will list all the potential disks and slices used as swap devices and filesystems like your os and application filesystems etc ...
    then you compares left and right.
    but even then be very very very careful if you find disks in "format" not found in /etc/vfstab doesn't mean disk not in use, if your system is clustered the clustered resources like mounted volumes will not show up under the /etc/vfstab
    if you not familiar with unix u better dun touch.

  • Can host hacker break into guest that uses full disk encryption?

    I know it is unlikely but let us say host has got owned, ie a hacker has managed to break into the host.
    How would they go about breaking into a linux VM that uses full disk encryption?
    They can't mess with the .vmdk without damaging it - it is encrypted by the guest.
    They can't use vmrun because they do not know the guest passwords.
    They can't attach to processes in the guest with debugging tools because they cannot see individual guest processes.
    What can they do?  And crucially, what can I do as a countermeasure?

    What really matters is WHERE you do the encryption. If the encryption is too low, data in the guest appears unencrypted. If it is in the guest, then the keys live in the guest and since SGX is not around at the moment, keys are somewhere in guest memory even for a little bit of time.
    So the real question is what are you trying to achieve?
    If you are trying to meet encryption at rest requirements then it makes no difference where you encrypt as the data on the disk will be encrypted and without the key no one can decrypt it. Now if you have keys generated within a VM without using DRNGD or some other high quatlity randomness source, then your keys could be predictable and you need to guard against making it easy for a brute force attack.
    If you need to encrypt data in motion?
    Then you need to consider how the VM is protected itself, how an application interacts with data to determine during 'motion' if someone should not be accessing the data even though they are already supposedly allowed to do so. Keys are in memory, so therefore you need to guard memory access for those keys to only the application in question. This is the hard part, and requires you to think seriously about logging, key management, etc.
    So really what are you trying to achieve?
    Best regards,
    Edward L. Haletky
    VMware Communities User Moderator, VMware vExpert 2009-2015
    Author of the books 'VMWare ESX and ESXi in the Enterprise: Planning Deployment Virtualization Servers', Copyright 2011 Pearson Education. 'VMware vSphere and Virtual Infrastructure Security: Securing the Virtual Environment', Copyright 2009 Pearson Education.
    Virtualization and Cloud Security Analyst: The Virtualization Practice, LLC -- vSphere Upgrade Saga -- Virtualization Security Round Table Podcast

  • PS uses scratch disk over RAM

    Hi!
    My Photoshop seems to use scratch disk instead of RAM.
    Here's the scenario: I open up a file, convert it to a smart object and begin tiling it in a new document.
    In task manager the memory usage for Photoshop.exe doesn't grov very much, it's around 300mb when I've duplicated my picture a few times. My scratch disk however has a temp file weighing 5gb! Task manager says also that the total usage of my physical memory is only 23%.
    I have 8gb of RAM installed and I have my Memory Usage Settings set to Let Photoshop Use 5.4gb.
    Now why is it that Photoshop uses my scratch disk even though I have lots of free RAM available? I thought Photoshop only uses scratch disk when the RAM is full?
    I have Windows 7 64-bit with Photoshop CS5.

    antevante wrote:
    Now why is it that Photoshop uses my scratch disk even though I have lots of free RAM available? I thought Photoshop only uses scratch disk when the RAM is full?
    It's unclear how big a file you are talking about-doesn't seem to be very big? Photoshop by default will always allocate scratch disk space upon launch. Whether or not it uses it depends on how much ram you have and how big the image is. Photoshop tries to keep it's operations in ram and only goes out to the scratch disk when needed.
    However, Photoshop always uses scratch disk space to track history. If the history step is only a small area tile it doesn't take up much space. If it's the whole document, history can very quickly suck up the scratch disk space. By default the History is set to 20 steps, if you do something involving the entire file, the scratch disk usage could end up being 20X the original file size depending on the number of steps you have in history. Note, the History feature doesn't actually steal ram from Photoshop...it's only writing to the scratch disk but it can get real big real quick and you've found out.

  • Optical Drive gone on MacBook Trying To Install using Remote Disk

    I've followed the instructions on using Remote Disk to reinstall my MacBook system software but the MacBook does not see the Remote Disk from my MacBook Pro. They are both on the same network and I've followed the instructions but when I hold down the Option key on my MacBook it only sees the MacBook hard drive - not the remote disk from the MacBook Pro. Is there another work around or a way to reinstall the operating system and updates using Firewire?

    Start up the MacBook Pro with your install disk.
    After you get to the install screen on the MacBook Pro connect the MacBook to the MacBook Pro in "Target Mode"with a firewire cable http://support.apple.com/kb/HT1661
    Then open "Disk Utility" from the install disk on the MacBook Pro. You should see both the MacBook and the MacBook Pro hard drives in there. Erase and partition the MacBook drive and then choose that drive when you go back to the install screen.

  • Is it possible to store a back up on external HD by transfering files using Target Disk Mode?

    Dear Apple community,
    There's absolutely no way that I'm going to be able to fix my MBP without a clean install. I simply cannot log in and get to my desktop screen after upgrading to Mavericks. So I will have to erase everything and perform a clean install. However, before proceeding with this plan, I'll have to back up my files from my MPB since I cannot use my mac normally, I'll have to back up my files using the Target Disk Mode. I've connected my MPB to another MPB in the past, so I know how the process work. But this time around I won't be able to use another MBP but a MB. I have a few doubts regarding the process especially in what concernd adding an external HD to this equation. So please bear with me and see if you can answer my doubts.
    So this is the equipment I'll be working with: my MPB, my friends MacBook (2008) and my 1TB external hard drive.
    My basic question is: once I connect my MPB in Target Disk Mode to the MB, I'm sure I'd be able to transfer my files to this MB. But let's say that I don't want to leave my files in this MB (after all it's not my computer) and want to send my files straight to an external HD connected to this MB. Is it possible?  If positive, I know that the only FireWire port in the MB is a 400 port. That means my MBP will be connect to the MB using the only FireWire port available in the MB. So I believe that my external HD would have to be connected to the MB with the help of an USB cable. I assume that this will make the transferring process a little slower than if I could count solely on FireWire ports. Slowing the process down is not a problem but could this corrupt any of my files during the transferring process or even damage anything? I assume that would never happen after all it's just digital data, but better safe than sorry, right? What do you think?
    Another thought that occurred to me is: let's say I connect my MBP to the MB using the FireWire 400. I'd still have an FireWire 800 port available on my MBP. If I connect my external HD to my MBP (yeah, the one that will be in Target Disk Mode) using that FW 800 port, would my MBP allow this external HD to mount as if it was just another folder/drive in my computer? If positive, theoretically I'd be able to transfer files from my MBP to my external HD manually (by dragging files from folder to folders), right?
    I really don't want to transfer my files from the MBP to the MB and then from MB to external HD. That would just take time and I really don't know how much available space I'll find on my friend's MB.
    Oh, one last question: when transferring files using Target Disk Mode, do all computers involved in this process gotta have the same OS X version installed or it doesn't matter if e.g one is running Snow Leopard and the other Mavericks?
    Looking forward to hear back from you, experts.

    Grant Bennet-Alder West of Boston, USA 
    A new 1TB External drive (suitable to replace your current Internal drive if you choose to) and enclosure can be had for under US$160
    Ehh, you meant $60 ,  not $160
    CassHeger 
    I do need to buy an external HD to be used solely for that purpose.
    Yes, quality HD are cheap as dirt.
    however a likewise Toshiba Internal HD 1TB is $70   (same as used by Apple)
    http://www.ebay.com/itm/TOSHIBA-MQ01ABD100-1TB-5400-RPM-8MB-Cache-2-5-SATA-3-0Gb   -s-Internal-Notebook-/121107538930?pt=US_Internal_Hard_Disk_Drives&hash=item1c3 2 9263f2
    best options for the price, and high quality HD:
    Quality 1TB drives are $50 per TB on 3.5" or  $65 per TB on 2.5"
    Perfect 1TB for $68
    http://www.amazon.com/Toshiba-Canvio-Portable-Hard-Drive/dp/B005J7YA3W/ref=sr_1_ 1?ie=UTF8&qid=1379452568&sr=8-1&keywords=1tb+toshiba
    Nice 500gig for $50. ultraslim and perfect
    http://www.amazon.com/Toshiba-Canvio-Portable-External-Drive/dp/B009F1CXI2/ref=s r_1_1?s=electronics&ie=UTF8&qid=1377642728&sr=1-1&keywords=toshiba+slim+500gb
    2.5" USB portable High quality BEST FOR THE COST, Toshiba "tiny giant" 2TB drive (have several of them, LOT of storage in a SMALL package)    $117
    http://www.amazon.com/Toshiba-Canvio-Connect-Portable-HDTC720XK3C1/dp/B00CGUMS48 /ref=sr_1_4?s=electronics&ie=UTF8&qid=1379182740&sr=1-4&keywords=2tb+toshiba
    *This one is the BEST portable  external HD available that money can buy:
    HGST Touro Mobile 1TB USB 3.0 External Hard Drive  
    $88
    http://www.amazon.com/HGST-Mobile-Portable-External-0S03559/dp/B009GE6JI8/ref=sr _1_1?ie=UTF8&qid=1383238934&sr=8-1&keywords=HGST+Touro+Mobile+Pro+1TB+USB+3.0+72 00+RPM
    Most storage experts agree on the Hitachi 2.5"

  • Directory Damage, what can be used for Disk Repair and Virus Detection?

    Hi,
    My eMac is acting up. Yesterday I started getting these messages that I needed to restart my computer (message was in a brown box window with an icon of a start up button in background).
    I did the disk repair using Start up CD and it came back with "invalid key......." or something like that, and when I tried to repair it, it tried to repair the B-Tree's but then said it could not repair the problem.
    I have Diskwarrior 3.03 Build 39, on a CD and on my FW Ext HD, which has a clone of my Mac HD.
    Diskwarrior could not produce a graph of Mac HD because the directory was damaged. When I did a rebuild it hung on step 9 comparing directories, said there was 7 million + tests. ( I let it hang on step 9 for 15 hrs. to see if maybe it was just taking a long time due to corrupt directory). I finally clicked on Skip and got to the report page. I could do a preview, but the replace button is greyed out. When I was comparing the sizes of each folder, in both preview and original, I got a can not calculate error message on a few of them. The size of Mac HD in preview compared to the one in Original was different by 4 gbs. A week ago I repaired the Mac HD and did a Diskwarrior directory repair on all my HD's.
    Before I do any reformatting of HD or other drastic measures, I was wondering what is safe to use for disk repair and virus detection. I know there is Norton System Works 3.0, Norton AntiVirus and TechTool, are these the only ones? Are these safe to use? Are there any other programs that can repair directory damage?
    Thank you in advance,
    Deb
    eMac 2005 1.42GHz Combo Drive 256MB Tiger 10.4 75GB   Mac OS X (10.4)   Western Digital (WD) 160GB FW Ext & WD 320gb Media FW Ext, Creative Speakers

    The long-standing rule of thimb has been that if Disk Warrior can't repair a mungled disk directory, then you're looking at reformatting or replacing the hard drive. Since this is a week-old hard drive, I'd suspect the replacement hard drive is itself bad. It might save you grief in the long run to contact the vendor who sold you the drive and inquire about their warrenty. You might want to first run the file system check utility fsck as described in Using Disk Utility and fsck
    Directory repair and antivirus protection are different critters. Norton AV is mostly safe (if you don't mind it's track record of false positives) and is used by the IT department at the lab where I work. Norton SystemWorks, AKA Disk Doctor Kervorkian, is most assuredly NOT safe. For every poster reporting something nice about it, you'll find at least 2 dozen cursing it. It has a known track record of detecting problems no other utility finds and of "repairing" drives such that nothing can then read or repair the drive short of low-level reformatting (and occasionally even that fails).
    Tech Tool Pro 4 has a good reputation, as does Drive Genius. Tiger OS X 10.4.2 and later include a version of Disk Utility that can for the first time also make effective B-tree and keys out of order and overlapped extent repairs. Still, my personal gut feeling is that if Disk Warrior is choking on the hard drive, you're looking at reformatring while zeros the drive (zeroing should detect and map out bad physical secotrs).
    You can also refer to Disk First Aid: What to do when it finds an error and to Handling "overlapped extent allocation" errors reported by Disk Utility or fsck

  • I am trying to upgrade my hard drive in my mac book pro using the disk utility in an attempt to clone my old hard drive.  I can only get so far, just before cloning may start and receive an "error 254" and can go no further.  Any idea what this error is?

    I am trying to upgrad the hard drive in my mac book pro using the disk utility in an attempt to clone my old hard drive.  I can only get so far throughj the process where its about to start cloing when I get a message " error 254".  Any idea what that means and how do I get around this issue so I can use my new hard drive?  Thanks for your input.
    Vince

    Connect the HDD to your MBP.  Open Disk Utility>Erase and drag the HDD icon inrt the Name field.  The format should be Mac OS Extended (Journaled).  Click on the Erase button.
    Then try the clone process again.  You may use Disk Utility>Restore or a third party cloning application such as Carbon Copy Cloner or Super Duper.
    Ciao.

Maybe you are looking for

  • Deploying Office 2013 x64 - feature installation state msp not applying

    So I created my MSP with setup.exe /admin and configured a number of options in it. I saved the msp as "1Office64bit.msp" and saved it into the Updates folder. I also have a service pack for Office 2013 in the Updates folder. I created an SCCM applic

  • Working with XI Message and Sender Mail Adapter

    Hello I have a task - To use one email address for several interfaces. In this case I think XI Message is the choice. The question is How to tie payload and SOAP header? Do I need to pass SOAP Header as mail message body and payload as mail attachent

  • ESB: Header

    Hi All, We have are facing issue of ESB not propogating header information to endpoint. Did any one face this issue? Following link says, "Some Oracle Enterprise Service Bus features are available in Preview mode and will be supported in a later rele

  • Table where i see actual cost line item for order (KRMI)

    Dear. I need to know the table of every single document number of a cost element that I see in the actual cost line item for orders using transaction KRMI. Thanks Moderator: Please, search SDN

  • Fuzzy and pixilated svgs in IE 9

    hello, i am attaching a picture of the issue, it seems tht some of the svgs are appearing fuzzy and pixilated in internet explorer 9. HOWEVER THE SAME WHEN PLAYED ON CHROMO OR EVEN FIREFOX WORKS FINE AND WITH EXCELLENT QUALITY. Kindly please help me.