It depends on whether you are purely backing up to USB (ie, a Solaris filesystem on the USB is what you want) or you want to move files to a Windows filesystem format on the USB for transportation to another (Windows) system.
For a Solaris filesystem the basic steps are:-
rmformat -l
To see whether the hardware device is seem by the system. (you've already done that). This gives you the device name, /dev/rdsk/<whatever>
You need to stop the automatic volume management services while you manipulate the USB device
On Solaris 10: (post if you have a prior version)
svcadm disable volfs
Create a partition on the USB device using:
Create a filesystem (assume UFS here) on the USB device:
newfs /dev/rdsk/<whatever>
Create an arbitary mount point (typically a top level directory using mkdir) eg.
mkdir usbstick
Mount the USB filesystem under this mount point
mount /dev/dsk/<whatever> /usbstick
You can then copy stuff to your new USB based filesystem under the /usbstick directory.
After you're done you can sync and umount the filesystem and remove the stick.
If the USB device is already formatted with another filesystem eg. NTFS, then you should be able to just do steps 5 & 6.
Hope that helps.
Post back any questions.
---------- Post updated 11-10-12 at 09:32 AM ---------- Previous update was 10-10-12 at 07:33 PM ----------
Forgot to say that if the USB device is preformatted on another system eg, fat32, you will need to tell the mount command (in step 5) that it's not a native Solaris filesystem by using the -F switch on mount (see man pages).
For example:
mount -F pcfs /dev/dsk/c5t0d0s0 /mnt
or whatever suitable -F argument to tell Solaris what format to look for.
I had found another article and followed the directions on it. It can find the usb, I have the directory showing (it said to do mount /dev/dsk/<blahblah> /mnt. I'm not having any errors returned, but it's not saving to the usb.
Is there a way to start over and follow hicksd8? (It's an FAT usb, btw)
(Have I mentioned that the first time I used Solaris was when they said "Congrats! Here's your lab, now go make it work")
I agree that you don't need to disable the automounter if the USB device is preformatted by another system but if you want to write a native Solaris filesystem to the USB device you will need to run fdisk and you cannot do that (without errors) with the automounter on.
I see it when I run the mount command. I can move files to my /mnt, I can see them if I do an ls. When I try to find it on my windows machine, it says the drive is empty.
I'll try making it FAT32. And let you know the results.
---------- Post updated at 02:31 PM ---------- Previous update was at 12:17 PM ----------
So, changed the USB to FAT32, checked that it was picked up by solaris, no mount issues, no moving file issues, no sync issues, still showing nothing on the usb.
You have likely a 4 GB USB thumbdrive with a single ufs file system on it. Therefore there is no fat32 and that makes the drive unusable with windows or other OSes.
Plug this USB device into a Windows system, use disk administrator (or any other utility) to blow away the filesystem AND the partition. Get it showing up as 'free space'. Then create a new partition (primary partition) and format it fat32.
You could then test it by copying files to/from the Windows system.
Eject and move to Solaris and mount it. You'll probably need -F pcfs on your mount command to tell Solaris it's a Windows drive.