How do I mount a USB Hard Drive?


 
Thread Tools Search this Thread
Operating Systems Solaris How do I mount a USB Hard Drive?
# 1  
Old 02-08-2017
How do I mount a USB Hard Drive?

I have a Sun-Fire V440 running with Solaris 9 and am trying to get a WD USB Hard Drive mounted. None of the articles I've read so far have helped.

Output from rmformat:

Code:
Looking for devices...
     1. Volmgt Node: /vol/dev/aliases/rmdisk0
        Logical Node: /dev/rdsk/c5t0d0s2
        Physical Node: /pci@1e,600000/usb@a/storage@1/disk@0,0
        Connected Device: WD       My Passport 259F 1014
        Device Type: Removable

Output from fdisk:

Code:
fdisk /dev/rdsk/c5t0d0s2
fdisk: Cannot open device /dev/rdsk/c5t0d0s2

Output from ls -l /dev/rdsk/c*2|grep usb

Code:
lrwxrwxrwx   1 root     root          58 Oct 25 13:44 /dev/rdsk/c5t0d0s2 -> ../../devices/pci@1e,600000/usb@a/storage@1/disk@0,0:c,raw
lrwxrwxrwx   1 root     root          58 Oct 25 14:05 /dev/rdsk/c6t0d0s2 -> ../../devices/pci@1e,600000/usb@a/storage@2/disk@0,0:c,raw

Any help would be deeply appreciated.
Thanks.
Moderator's Comments:
Mod Comment Please use CODE tags when displaying sample input, sample output, and code segments.

Last edited by Don Cragun; 02-08-2017 at 06:50 PM.. Reason: Add CODE and ICODE tags.
# 2  
Old 02-08-2017
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.
# 3  
Old 02-08-2017
I'm unable to access the drive to see the partitions. I believe the disk is formatted as NTFS.
# 4  
Old 02-08-2017
Checkout the documentation here:
Overview of USB Devices (Solaris 8 System Administration Supplement)
It is for Solaris 8 but should also work for Solaris 9!
This User Gave Thanks to DukeNuke2 For This Post:
# 5  
Old 02-08-2017
I will check this out and let you know how it turns out.
# 6  
Old 02-09-2017
Would you not use format or fdisk on the disk device rather than slice 2?
Code:
fdisk /dev/c5t0d0


Robin
# 7  
Old 02-09-2017
What version of Solaris???

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

Code:
# rmformat -l

will give you the device node (c5t0d0)

You would then use

Code:
# 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

Code:
# svcadm disable volfs

or

Code:
# /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

Last edited by hicksd8; 06-05-2018 at 08:05 AM.. Reason: Correct typo
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Waking Up USB External Hard Drive for file archiving

Hello Experts, I hope I'm writing to the correct category for my question. I have a very basic shell script for doing file archiving to the external usb hard drive (WD studio edition II 2TB formatted as FAT32 for compatibility). The shell script only needs to run once per day. It basically... (8 Replies)
Discussion started by: johankor
8 Replies

2. Solaris

How to mount USB pen drive?

Hiii, Please let me know the steps for mounting my USB pendrive in solaris 10 platform. Thanks & Regards, Bhargav P (5 Replies)
Discussion started by: bhargav90
5 Replies

3. Filesystems, Disks and Memory

mount old hard drive

Hi guys, I have been looking around and searching for the past hour and did not see anything. but please forgive me if I missed something. I had a sparc 10 ultra cpu die on me, I got a replacement server from a very generous guy here, now I am getting around to remounting my old hard drive with... (0 Replies)
Discussion started by: DrDarkMatter
0 Replies

4. UNIX for Advanced & Expert Users

script to automatically mount external usb hard disk

hi all, I have a debian lenny 5.0 server without GNOME installed. the server is at a customer's premise. I want to backup data from the server to the external usb hard disk. the backup will start at e.g 01:00 everyday. the user will plug the drive before going home. also the user will... (1 Reply)
Discussion started by: coolatt
1 Replies

5. Solaris

Can not Format USB hard drive

Hey i have a new USB 320GB harddrive i want to use in my Solaris 10 enviroment. i first had the drive format in windows with FAT32, Solaris was able to auto mount this drive and everything was fine, until i realised that it would not except files greater then 4gb, due to the limitations of... (6 Replies)
Discussion started by: dshakey
6 Replies

6. Solaris

USB External Hard Drive for Solaris 10 Sparc

Hi- I would like to know if anyone has used any USB External Hard Drive, about 500/750GB or 1TB, with any of the Solaris 10 "SPARC" systems. Not on intel nor amd platform. I'm looking for the compatible drive and found a few listed on Sun solaris ready page, but I'd like to have inputs from... (3 Replies)
Discussion started by: agfa_109
3 Replies

7. Filesystems, Disks and Memory

USB Pen Drive & Hard Disk

Hi Guys, I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies

8. SCO

USB hard drive problem

I have a USB hard drive attached to my SCO OSR6 machine I accidently powered it off while it was mounted and now the OS complains when you try to re-mount it and it appears that it is complaining because it has a new device number so it isn't at the original device location anymore. does anyone... (1 Reply)
Discussion started by: garycrow
1 Replies

9. Solaris

FAT32 usb external hard drive - how to mount??

Hello ! What is the comand to mount and usb hard disk ? I have Solaris 10 installed! 10nx! (1 Reply)
Discussion started by: daniel.balasa
1 Replies

10. UNIX for Dummies Questions & Answers

mount external usb drive on Redhat 9

I am using Redhat 9 Linux, and am trying to get my external usb drive mounted (fat32). If I look at the KDE Control panel, it lists a usb 2.0 storage device under "USB Devices" (also in /proc/bus/usb), and under "SCSI" as scsi1. I looked at /proc/scsi/usb-storage-0, and it lists it there also. What... (6 Replies)
Discussion started by: jeremiebarber
6 Replies
Login or Register to Ask a Question