Formatting disk under SunOS 5.6

It so happens that my company's customers mainly use other UNIX vendors, so I don't do much with SunOS/Solaris. So please excuse my ignorance. Anyway, I've got a customer with nearly 10 year old Sparc 5's and Sparc 10's, I believe. He's looking at trying to allocate capital expenditure sometime in a year or two to upgrade, but needs to hang on to what he's got for the time being.
He originally had an internal 2 gig drive and an external 2 gig drives in these machines, for a total of 4 gigs. Some of the drives are starting to fail, so we figured we would upgrade them to single drives, like around 9 gigs. He found some surplus IBM UltraStar 9ES 39130W 9 gig drives. That would replace his two drives and double his space, which is more than enough for what he is using.
Customer got some of these drives surplus somewhere. One had previously been in a Sun machine and had already been Sun formatted. But another one was unformatted as far as SunOS was concerned. The one that had already been formatted, I've had no problems with. I rebuilt file systems and its working fine. But the one that isn't formatted, I'm having trouble with getting it formatted.
Looking at what SunOS says the drive is on the one that works, it says it has 8186 cyliners + 2 reserved, 10 heads, 218 sectors per cylinder. But I try to tell the format command that this other drive is like that, and format it, and it fails says reserved failed, format failed.
I went to Hitachi's site (as they bought IBM's drive business) and found the specs on the drive, and it really has several zones, with different numbers of sectors per zone. I don't know if SunOS needs to know this, or if the drive hides the different zones and makes it look like all the cylinders are the same. If the OS needs to know about the zones, I don't know how to enter this data. In the prompts that format gave me, it did ask a few questions about zones, and so maybe I need to answer these questions right and don't know how.
But one other thing I noticed is that when I use the inquiry command, I see a different revision between the working drive and the non-working drive. So, maybe it is a revision issue. Here is what the non-working drive says:
format> inquiry
Vendor: IBM
Product: DDRS-39130W
Revision: S92A
And here is what the working drive says:
format> inquiry
Vendor: IBM
Product: DDRS-39130W
Revision: S71D
Now it is also possible that the drive I'm not able to get to work is defective, since the drives he got as surplus, it may be that my only problem is that he's got a bad drive. So, I'm guessing that there could be 1 of 3 problems:
1. The revision S92A is not compatible with my customer's systems.
2. Customer got a defective drive, and the problem is not related to the revision.
3. There is some secret to getting these drives formatted under SunOS (prehaps relating to the zones) and I don't know the secret, and the problem is not related to the revision.
Anybody have any suggestions? Sorry for my ignorance.

It so happens that my company's customers mainly use
other UNIX vendors, so I don't do much with
SunOS/Solaris. So please excuse my ignorance.
Anyway, I've got a customer with nearly 10 year old
Sparc 5's and Sparc 10's, I believe. He's looking at
trying to allocate capital expenditure sometime in a
year or two to upgrade, but needs to hang on to what
he's got for the time being.
He originally had an internal 2 gig drive and an
external 2 gig drives in these machines, for a total
of 4 gigs. Some of the drives are starting to fail,
so we figured we would upgrade them to single drives,
like around 9 gigs. He found some surplus IBM
UltraStar 9ES 39130W 9 gig drives. That would replace
his two drives and double his space, which is more
than enough for what he is using.
Customer got some of these drives surplus somewhere.
One had previously been in a Sun machine and had
already been Sun formatted. But another one was
unformatted as far as SunOS was concerned. The one
that had already been formatted, I've had no problems
with. I rebuilt file systems and its working fine.
But the one that isn't formatted, I'm having trouble
e with getting it formatted.
Looking at what SunOS says the drive is on the one
that works, it says it has 8186 cyliners + 2 reserved,
10 heads, 218 sectors per cylinder. But I try to tell
the format command that this other drive is like that,
and format it, and it fails says reserved failed,
format failed.
I went to Hitachi's site (as they bought IBM's drive
business) and found the specs on the drive, and it
really has several zones, with different numbers of
sectors per zone. I don't know if SunOS needs to know
this, or if the drive hides the different zones and
makes it look like all the cylinders are the same. If
the OS needs to know about the zones, I don't know how
to enter this data. In the prompts that format gave
me, it did ask a few questions about zones, and so
maybe I need to answer these questions right and don't
know how.
But one other thing I noticed is that when I use the
inquiry command, I see a different revision between
the working drive and the non-working drive. So,
maybe it is a revision issue. Here is what the
non-working drive says:
format> inquiry
Vendor: IBM
Product: DDRS-39130W
Revision: S92A
And here is what the working drive says:
format> inquiry
Vendor: IBM
Product: DDRS-39130W
Revision: S71D
Now it is also possible that the drive I'm not able to
get to work is defective, since the drives he got as
surplus, it may be that my only problem is that he's
got a bad drive. So, I'm guessing that there could
be 1 of 3 problems:
1. The revision S92A is not compatible with my
customer's systems.
2. Customer got a defective drive, and the problem is
not related to the revision.
3. There is some secret to getting these drives
formatted under SunOS (prehaps relating to the zones)
and I don't know the secret, and the problem is not
related to the revision.
Anybody have any suggestions? Sorry for my
ignorance.You may be correct in your assumptions regarding a failed drive. However, you might want to try this command to see what it can do for you assuming the drive in question is drive 1 which, in a Sparc 5, is the bottom internal drive with drive 3 being the top drive (boot drive). Anyway, regardless of what drive it is, you can boot the Sparc 5 into standalone using the Sun Solaris installation CD using the following command after you have connected the drive and noted the drives target number. At the OBP "ok" prompt with the Solaris installation CD in the CD drive enter:
NOTE
MAKE SURE YOU KNOW WHICH TARGE THE DRIVE IS BECAUSE THIS COMMAND WILL ERASE THE DRIVE!!!!!!!!
ok boot cdrom -s
At the # prompt enter:
# dd if=/dev/zero of=/dev/rdsk/c0t0d0s2 bs=16 count=16
You should receive a display of in and out numbers then the # prompt. If the drive target is 1 then change the "t0" in the command to "t1". Remember, the "t" in the above command is the drive target number and the "s2" is the label slice or, overlap, and this will be reset to the drives size. Partition under format can do this as well which, not knowing what drive target you have put the drive as, is difficult to indicate in the command syntax. Simply run format at the # prompt and select the drive then enter partition. Enter print and note the partitions that are currently on the drive, if any. Select the appropriate partition to delete and when asked the beginning number press enter and when asked ending number enter "0" (zero) and press enter. Do this for every slice and when complete, enter "print" and it should show you a clean drive. Create a partition on the drive you want then save the drive label. After this enter label and save then exit and create a new files system using newfs and the appropriate target number.
I've used the dd command to zero the label in order for Solaris to see the drives complete size. I've also used format to delete and create partitions then use newfs to create a new file system without problems. Sparc 5's and 20's are similiar with the exceptions of the montherboards in the way the drives are viewed by OBP. I assume you have run "probe-scsi" and both drives in question show up properly. This will only tell you that the OBP can talk to the OEM info on the drive, as you probably already know. It's up to Solaris to use the drive and look at the label for drive size and partition sizes. That's where dd or format/partition comes into play. I've run into problem with Sparc 5/20's that will not see a specific drive types/OEM. This may be because they are not single ended but Ultra SCSI's which should be written on the drives physical label on top of the drive. Invalid or unsupported drives will usually, not always, give you an errorious display at the OBP prompt using probe-scsi, of course depending on the OBP version.
Good luck and remember, any use of the above command(s) is at your own risk and be aware that using these commands can and will erase the entire contents of various slices and or the entire drive.
Michael

Similar Messages

  • What is the  limit of  the size of a disk under Solaris 8?

    Hello,
    I have a problem when I try to run format command to label a disk of 1TB under solaris 8.
    # format.......
    114. c9t14d3 <DGC-RAID3-0322 cyl 32766 alt 2 hd 1 sec 0>
    /pci@8,700000/lpfc@4/sd@e,3
    Specify disk (enter its number)[115]: 114
    selecting c9t14d3
    [disk formatted]
    Disk not labeled. Label it now? y
    Warning: error writing VTOC.
    Warning: no backup labels
    Write label failed
    format> print
    PARTITION MENU:
    0 - change `0' partition
    1 - change `1' partition
    2 - change `2' partition
    3 - change `3' partition
    4 - change `4' partition
    5 - change `5' partition
    6 - change `6' partition
    7 - change `7' partition
    select - select a predefined table
    modify - modify a predefined partition table
    name - name the current table
    print - display the current table
    label - write partition map and label to the disk
    !<cmd> - execute <cmd>, then return
    quit
    partition> p
    Current partition table (default):
    Total disk cylinders available: 32766 + 2 (reserved cylinders)
    Arithmetic Exception - core dumped

    I think maybe if you split it into two luns, you can
    stitch them back together with svm.
    But even thats not certain.Depends on what you're going to do with the device at that point. UFS on Solaris also does not support volumes 1TB or larger. So you'd have to use it as a raw slice space or a filesystem that did support larger sizes.
    You need later versions of Solaris 9 to get mutli-terabyte UFS support. (a separate issue from multi-terabyte LUN support).
    Darren

  • How to encapsulate virtual disk under veritas Storage Foundation 6.0 on Solaris 10 Sparc

    Hi all I'm trying to encapsulate a disk under Veritas SF 6.0 but the system return  the following 
    bash-3.2# vxdisk list
    DEVICE       TYPE            DISK         GROUP        STATUS
    c0d0s2       auto:ZFS        -            -            ZFS
    c0d1s2       auto:none       -            -            online invalid
    c0d2s2       auto:none       -            -            online invalid
    the computer is a virtual computer and when I try the etc/vx/bin/vxdisksetup -i c0d1 format=sliced command
    it send back the following message VxVM vxdisksetup ERROR V-5-2-43 c0d1: Invalid disk device for vxdisksetup.
    I need your help Community.

    Here is the text from the download site from 10.3.3 that applies to 10.3.0 as well:
    Note: This table includes links to WebLogic Server installers that include 32-bit JVMs for the platform
    in question, and links to WebLogic Server generic installers that can be used on any supported platform.
    To use WebLogic Server with 64-bit JVM's on Linux and Solaris or to use WLS on other supported
    platforms, use the WebLogic Server generic installer listed under "Additional Platforms". The generic
    installers do not include a JVM/JDK. For instructions on using the generic installers, see this document.
    So regardless whether the OS is 64bit or not, you need to select the installer on whether you are running WebLogic Server in a 32bit JVM or a 64bit JVM. If you run in a 32bit JVM, you can use the 32bit binary installer for Solaris that has a .bin extension. If you are going to run a 64bit JVM, then you need to download the "generic" .jar installer and separately download the supported 64bit JDK and follow the instructions similar to this, but for 10.3.0.
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14142/guimode.htm#BABGFAAF
    On edelivery.oracle.com, select Oracle Fusion Middleware, then Oracle® Application Server 10g Release 3 (10.1.3) Media Pack for Oracle Solaris on SPARC (64-bit)
    32bit native Solaris installer for 10.3.0 is Part Number V13618-01
    64bit generic installer for 10.3.0 is Part Number V13672-01

  • Windows computer says 'Format disk in drive E' when I plug in iPod. Will this erase everything?

    When I plug my iPod nano into my Windows laptop, it says 'Format disk in drive E'. Will this lose everything if I do this?

    Hello,
    I'd ask in the Windows forum on Microsoft Community.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • HT201376 Hello, I am trying to reset my macbook pro to its factory settings but I can't type the name of the formatted disk nor can I click on erase, as this feature is disabled. Could you please assist?

    Hello, I am trying to reset my macbook pro to its factory settings but I can't type the name of the formatted disk nor can I click on erase, as this feature is disabled. The 'type name' space and the 'erase' button are in light grey - Could you please assist?

    Hello!
    Did you boot to the Internet Recovery Partition?
    Here’s how:
    1/ Make sure your computer is completely shut down.
    2/ You’ll have to be quick next: Press the Mac’s power button. As soon as you either hear the loud chime, or see the display light up - usually after a second or 2 - on your keyboard press [alt] + [cmd] + [r] Keep these keys on your keyboard pressed until you see a spinning globe with the text “starting Internet Recovery” You might have to connect to your Wi-Fi network before you can continue here.
    After a few minutes, you’ll be presented with a Utilities screen. This is the Internet Recovery partition. If this step is already giving you problems, try using a USB-keyboard. It doesn’t have to be an Apple-keyboard. If you have a Windows-tailored keyboard laying around, use the “Windows-flag” key in stead of the [cmd]-key and it should also work.
    3/ Choose Disk Utility and click [continue]

  • Since upgrade, Time Machine starts and stalls.  Waited 24 hours. Formatted disk-no change.

    Since upgrade to Mavericks on Mini, Time Machine starts and stalls.  Says "292 Mb of 147.68 Gb", wheel spins. Waited 24 hours, no change. Formatted disk-no change.  Tried every solution found in threads; no fix.  Doing manual backups. Help!

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message that corresponds to an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showning, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste (command-V) into a reply to this message.
    If all you see are messages that contain the word "Starting," you didn't clear the text field.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Some personal information, such as the names of your files, may be included — anonymize before posting.

  • IDVD09 Multiplexing Error formating disk, when saving to a disk image

    I am able to burn a disk but when I to to save a disk image, after four hours of churn, when it goes to write the image, I get " Multiplexing error in formating disk" and iDVD quits. This is a real pain and very time consuming and happens every time I try to save a disk image from the project. Any ideas on how to get around this would be appreciated.

    I am up to latest software 10.5.6/ I am saving disk image to internal 450 GB drive. I found that I was suprisingly low on empty space (14GB) that might have been my problem. I recently uloaded a buch of video (like almost 3 hours, did not realize how close I was to being ful!I will post here tomorrow after I go the 5 hours again to make another pass at the Disk image!

  • "Crash in progress" Error when I click "Format Options" under "Audio Output"

    In the Render Queue, I selected Custom under "Output Module". I changed the Format to "QuickTime Movie" using the JPEG - Photo codec (is it a codec?) However when I clicked on "Format Options" under "Audio Output", I got this.

    There are two things here. The first and most important part is that, if there's a button, it shouldn't crash when pressing it. Agreed. Looks like a QT-related issue (if reverting to an earlier version of QT will fix it). But in any case, please feel free to file a bug report explaining the problem here.
    The second thing would also be true if the button worked flawlessly: If you want to send to a client a video/audio file with reduced file sizes, bear in mind that Quicktime has not added a specific codec for this purpose since the early 2000s. They chose to follow the standards-based MPEG-4/H264 format. After Effects will make much better H264 files with compressed audio as well, if you pick "H264" as a format in the Output Module. An H264 file with MP4 extension will play perfectly on both Quicktime and the latest version of Flash. An H264 file with MOV extension should have the same quality (but not when done from AE), and it will only be compatible with Quicktime. They are otherwise identical.
    Again, nothing in point 2 contradicts the fact that it shouldn't crash.

  • Portal domain under SunOS render a portlet 2 times without reason?

    Hi,
    I'm trying to deploy my portal and portlet on a server running under SunOS but what I got there was that my portlet is rendered twice in the portal. It runs perfectly under Windows where it was developed and on another one for test only, but the same ear file deployed on SunOS gives that "strange" defect.
    When I took a look at the source of the page displayed in the browser I noticed that the same page could be found two times and which is more, the JavaScript at the begining of the page could be seen at four places, 2 for every page. So at the end the html looks like:<br><br>
    <%-- portal tags --%> <br>
    <%-- header page --%><br>
    <%-- my page starts here --%><br>
    <b>
    <%-- the java script in my page --%><br>
    <%-- the java script in my page --%><br>
    <%-- the page itself --%><br>
    <%-- the java script in my page --%><br>
    <%-- the java script in my page --%><br>
    <%-- the page itself --%><br>
    </b>
    <%-- portal footer --%> <br><br>
    Any ideas why is that. Under Windows everything is just fine, no such duplicates.

    The problem is adressed by Oracle Patch 4640471, but we have yet to determine if it really resolves the problem without any unwanted side-effects.
    LA$$E

  • Format Disk IF

    Hi folks,
    How do i set an OSD task sequence to only format a drive in certain circumstances?
    I have a task sequence which formats 2 drives, applies an OS image to one of them, joins a domain and then copies a standard set of static data to the other drive. 
    Since the data drive is nearly 1TB of static data, I only want it to format and copy on a bare metal first build and then have the data persist through subsequence runs of the same task sequence (re-images).
    While I could keep 2 copies of the task sequence and have the "Format Disk 1" and "Powershell copy To D:" steps disabled (or removed), there has to be a smarter way to do this surely?
    Likewise, I could keep enabling and disabling these steps in the task sequence - this process is carried out on nearly 100 different servers with a combined 30 images and 150 reimages per month.. not something I want to have to manage!
    Any input?
    Ben

    There are conditions you can use...what I would do if the data is static and there is a consistent file I would setup a condition on the file system that if that file exists, skip the step.

  • Unable to format disk drive

    My niece recently purchased a 80gb Ipod classic from a garage sale. I Tunes does not recognized the ipod. We have put it in disk mode and restored it to the factory setting. When it tries to open it tells us that we need to format the disk drive but when we try we get that there was an error and unable format disk drive.Can anyone help?

    Quit DU, launch System Preferences->Time Machine->and disable or turn it off. Then, try again.

  • Reading NFTS formatted disk

    Is there anything that might enable me to read an NFTS formatted disk?
    Software? anything?
    I just need to get one quicktime file from this disk

    Hi, Aleksander.
    Mac OS X can read from, but not write to, NTFS formatted disks. You should therefore be able to copy the file you need from the NTFS volume to your Mac.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • I brought a new iMac after Lion is released. I notice that it has no the Lion formatting disk. Do I need to pay for that additionally?

    I brought a new iMac after Lion is released. I notice that it has no the Lion formatting disk. Do I need to pay for that additionally?

    There are no disks. I would suggest a full backup, preferably a bootable clone. And, Lion should include the hidden (invisible) recovery partition which can be accessed by pressing Command + R while restarting in order to run a hard disk repair if necessary and/or to assist in downloading/installing a fresh copy of Lion if required.

  • RIO looses network connectivity after format disk

    Hello all,
    I have two 9014 cRIOs that I performed a format disk on after some trouble shooting activites.  Now I can not connect to either of them.  Each is acting slightly different.  I chose to reset the network adapter to its factory default settings during the disk format.
    RIO A - After format disk, the RIO will power up and show up as a unit in MAX.  However, very shortly after coming onlilne, the #3 LED starts blinking orange twice.  After this point I can't communicate with it.  Sometimes, it will remain online on MAX, sometimes it will drop there after.  When it does stay online, it doesn't allow me to run the formate disk again, load software, run the RAD utility, ... nothing.
    RIO B - After format disk, the RIO is not found in MAX at all.  #3 LED shows solid orange for about 4-5 minutes straight.  After that, it seems that it attempts a reboot, and again imediately go to solid orange.
    I've tried booting into safe mode, and resetting IP address.  Nothing is letting me in at this point.  Also, both were performed while wired into the eithernet port and the formate disk activity completely finished, so I don't see how anything could have been interupted in mid process. Is there anything else I can do at this point?  I appreciate any help.

    Hello AMP12
    How are you connecting the cRIO to the computer trough a router or directly to the computer with at crossover cable?
    Have you tried to add the cRIO to MAX with the default IP address when it is reset? The IP address should be 0.0.0.0 according to the manual page 9 and 12.
    Last but not the least we could check the IP address that the cRIO currently has with the console out port. Here is a link that explains how to do this.
    Regards
    Esteban R.

  • How could Mavericks OS X read NTFS format disk?

    As far as I know, the previous version of Mac OS has the writing ability for NTFS format disk,but it was cancelled in the lattest one.
    Does any one know how to turn on this function?
    Or is there exist any other methods to use a mobile hard disk between windows PC and a macbook?

    Or is there exist any other methods to use a mobile hard disk between windows PC and a macbook?
    Use ExFAT.
    http://en.wikipedia.org/wiki/ExFAT

Maybe you are looking for

  • What's New in Mail.app

    Hi, I am about to buy Snow leopard in a few days and I use mail.app extensively. Just wondering about the new features in mail.app. is it faster? any new features? I don't connect to exchange server

  • 802.1x and eDir Authentication

    We are purchasing the Enterasys 802.1x NetSight policy manager (running on SLES 9 with OES) along with new Matrix N3 and C2 switches. We plan on utilizing 802.1x authentication on both our wired and wireless networks. We currently use NW 6.5 with BM

  • How to use the local storage space in OVM 3.2.1

    Hi We have installed OVM 3.2.1 in a server , which has 1TB HDD and 350GB RAM and we have installed the OVM manager in a seperate machine. I am able to identified the server in the manager console but how can i use the local storage space. Kindly help

  • GetInputStream() function of OrdHttpUploadFile

    Hi all, I encounter a problem of using interMedia. I hope someone can help me cause the problem is quite urgent. I use "OrdHttpUploadFile" as the file type for the uploaded image from "OrdHttpUploadFormData"'s "getFileParameter()". The file is ok and

  • Email bb format problem

    My friend (use iphone) complains because my email which I send via bb sometimes received with unreadable format. I post some of it: References: <067bf4d4576f45de8beddfbe2cf913cb@c335bf33790947a7​9c42fa7fde401ce5><824019930-1294100517-cardhu_deco​[ema