Posted on 2005-04-21
Last Modified: 2013-12-27
I have a couple of questions really, I'm working with a VoxelQ Workstation running Sun OS 2.5 on a 9GB hard drive that is starting to fail.   We have ordered a new hard drive (18gb) and according to SUN, it appears that the OS will only recognize the first 8GB (which isn't a problem).  

First, can I put these on my WinXP SP2 machine on the SCSI card, and just copy or are there any copy programs you suggest to use?  

Second, Will WinXP SP2 even recognize these Hard Drives on my system?   What is the format that Sun OS 2.5 uses?  (I am not profecient in Sun OS 2.5)


Question by:sacscorpio
    LVL 38

    Accepted Solution

    > Will WinXP SP2 even recognize these Hard Drives on my system?   What is the format that Sun OS 2.5 uses?
    No, XP won't recognize the SunOS filesystem, ufs (Unix FileSystem).

    Put your old disk and new disk to other Sun server, which have 2 more spare slots.
    1. boot that sun server with "boot -r"  from ok promt

    2. login that Sun server as root and do type command
    to check the new device path.
    Say /dev/dsk/c0t1d1  (9GB)
         /dev/dsk/c0t2d1  (18GB)

    3. Clone the disk
    dd if=/dev/rdsk/c0t1d1s2 of=/dev/rdsk/c0t1d1s2
    s2 (Slice 2) stands for the whole disk

    4. Put the new disk to VoxelQ Workstation and type "boot -r"  from ok promt

    Note: You only use 9GB out of 18GB for the new disk by using "dd"

    Author Comment

    Dear Wesly Chen,

    My name is Alan Wu. I work with Kevin Stead.

    I have some questions about your previous 4 steps:

    question 1: before step 3, do I need to build a filesystems on the new harddrive using the command "newfs" or "mkfs"?

    question 2: if the answer to question 1 is NO, then do I see the raw disk /dev/rdsk/c0t2d1s2 ? Did you mean "c0t2d1" instead of "c0t1d1" in step 3 of your answer?

    Thank you very much,

    Alan Wu
    LVL 38

    Expert Comment

    A1. No. dd will clone the fielsystem for you.

    A2. Sorry, that's my typo.
    dd if=/dev/rdsk/c0t1d1s2 of=/dev/rdsk/c0t2d1s2

    However, you need to make sure your disk devices in format command.

    Author Comment

    Dear Wesly Chen,

    I have followed your steps except that between step 2 and step 3 I had to use fdisk to
    format the new harddrive into Solaris partition. And I did it successfully.

    The old drive is: c2d0 (about 2 GB) and the new drive is: c2d1 (about 4.3GB)
    (I am doing this on a Solaris 7 x86 platform).

    But I ran into this message more than 12 hours after I started "dd" command:

    dd if=/dev/rdsk/c2d0s2 of=/dev/rdsk/c2d1s2
    dd: unexpected short write, wrote 0 bytes, expected 512
    8391601+0 records in
    8391601+0 records out

    Any recommendation/comments on this? Did I run the command successfully?

    Thanks a lot,

    Alan Wu


    Then, I used the dd

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now