How is the disk partitioned and what filesystem is it formated with? To mount *s2 will mostly not work because in Solaris terms s2 (slice 2) is the whole disk.
Are you trying to access data already on the USB drive (from a NTFS partition) or just to reformat the device and use it on Solaris?
As you already seem to know
# rmformat -l
will give you the device node (c5t0d0)
You would then use
# fdisk
to label/partition the drive, however, fdisk will probably error unless volume management is stopped first. How to do that depends on what the version of Solaris is. It could be
# svcadm disable volfs
or
# /etc/init.d/volmgt stop
if the Solaris version is older.
BE VERY CAREFUL using fdisk if you need the data on the USB drive.
If you want to reformat you have choice to set it up as DOS/FAT or use a Solaris filesystem by setting the slice(s) up and then newfs'ing them.
Hope that helps.
---------- Post updated at 12:56 PM ---------- Previous update was at 11:05 AM ----------
PS. Sorry, I am an idiot. Your original post says it's Solaris 9
fdisk /dev/rdsk/c5t0d0s0
/dev/rdsk/c5t0d0s0: Cannot get disk label geometry.
fdisk /dev/rdsk/c5t0d0s2
fdisk: Cannot open device /dev/rdsk/c5t0d0s2.
I tried this using each slice #. s7 returns the same message I got for s0. 1 and 3-6 return the same message I got for s2.
I'm wondering if the problem might be how the disk is formatted? I could connected it to a PC and format it either FAT or NTFS if you think that might help.
Well Hicksd8, we've made progress. format -e is showing me the drive. I an unfamiliar with expert mode. After selecting the disk I get a list of "drive types". See below. As this drive is a Western Digital, should I select "other"?
11. c5t0d0 <drive type unknown>
/pci@1e,600000/usb@a/storage@1/disk@0,0
Specify disk (enter its number): 11
AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. Zip 100
17. Zip 250
18. FUJITSU-MAP3735NC-0108
19. SUN72G
20. HITACHI-DF600F-0000
21. HITACHI-DF600F-0000
22. HITACHI-DF600F-0000
23. HITACHI-DF600F-0000
24. HITACHI-DF600F-0000
25. other
Specify disk type (enter its number):
Solaris doesn't support NTFS, USB hard drives must use a supported file system like PCFS (fat32) to be mountable. There used to be ntfs3g/fuse packages for OpenSolaris but they won't work with Solaris 9, perhaps even less on SPARC hardware as the ntfs3g code might be x86 only.
I want to thank everyone for their suggestions. After formatting the drive as FAT32, I'm still unable to use this drive on the Solaris server. Maybe it's the disk itself. I'm thinking of trying a drive that is less that 1TB. Anyway, not quite ready to throw in the towel just yet, but wanted to thank you for the idea's presented.
Try a different USB port on the Solaris box. Remember to run rmformat to find out the new device node.
Running format in expert mode, select the drive followed by the analyse menu. This provides destructive (write & read) and non-destructive testing of the device. See if you can run that without error. To run the whole thing will take hours and hours however.
This is (presumably) a powered USB device (disk drives usually are) so I wouldn't expect USB power issues, however, just to be sure try a powered USB hub between the USB disk and the Solaris box.
I don't think the drive capacity should be an issue but how about trying a simple USB memory stick to see if that works. That would verify the O/S, USB port, etc.
Make sure that volume management is not running when trying all this lot.
Try to fdisk a USB stick, and if that works, then plug in the disk drive and try again. That should prove if drive capacity is an issue.
This USB disk is a plain drive, yes? Without a pseudo built-in CD drive, backup software or any such crap?
Most of the above is to test hardware but I could go on and on with other ideas. Famous last words, it shouldn't be this difficult.
Solaris 9 is really old, released 15 years ago. At that time the internal disks size was probably less than 100 GB, and I believe the maximum partition size for UFS was still 1TB so I wouldn't bet for pcfs support for such an incredibly large disk by Solaris 9 standard.
Moreover, your USB ports are likely USB 1.1 so even if you manage to access your disk, the bandwidth would be painfully slow.