How do I perform a ufs format on a 160 Gb USB external hard drive with Solaris 9?


I have two questions which I've been trying to figure out for days now:

1.  I just purchased 2 Iomega 160Gb external hard drives which I intend using as mass storage devices on a Solaris 9 system.  

Doing a prtconfig -D command, I can see the USB device listed.  I used the mkfs command to create the ufs file system, but managed to get only 72Gb on this drive.  How do I format the full capacity of this disk for ufs?

2.  How can I determine on this Solaris system whether the USB port is v1.1 or v2.0, and how can I optimize the setup on the USB port for maximum transfer speed?

The hard drive info:

Barracuda 7200.9

Capacity:160.0 GB
Speed:7200 rpm
Average Seek Time:11 ms

Ok, I fibbed, 3 question actually.

Thanks in advance.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Do you have x86 or SPARC Solaris?

IF you are on x86
1.  Install patch 119443-02
2.  Look to your messages file or dmesg command, you will see either USB 2.0 device or USB 1.10 device when device is plugged. It's a real speed  of your device.
3. If your internal usb hub is 2.0 and device is 2.0 driver detects it automatically. Otherwise - no way (or install usb 2.0 external pci card)

IF you are on Sparc: I guess not.

JaegerBHAuthor Commented:
Thanks for your reply.

1.  This machine does not have patch 119443-02 and unfortunately, being one of our lab machines, I'm not at liberty to install any patches.  What does this patch do for formatting a USB hard drive?  I'm still not sure how to format/partition/mkfs this particular drive.

2.  I used the dmesg command to determine that it is indeed a USB 2.0 port.

1. Patch 119443-01 enables support of large hard drives in sd driver for drives >73G in x86 platform. USB storage is handled by sd driver (it looks like scsi drive even it's an ide in usb enclosure).
2. dmesg | grep -i usb

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.