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:-
1.
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>
2. 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)
3. Create a partition on the USB device using:
Quote:
fdisk /dev/rdsk/<whatever>
4. Create a filesystem (assume UFS here) on the USB device:
5. Create an arbitary mount point (typically a top level directory using mkdir) eg.
6. Mount the USB filesystem under this mount point
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:
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")
Hi all,
I need to save my files at c, d or any drive location via script.
Requirement.
Say for example i have 10 files at location /usr/bi/ci location.
10 files naming
a.ksh
b,ksh
c.ksh and so on
I want to save the files and its content at some location (any drive on local... (4 Replies)
Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive.
Thanks! (4 Replies)
I am trying to do some changes at bashrc file located at /etc directory of my server. First I tried to edit bashrc via FTP downloaded on my pc changed it and loaded back, but it seems like changes are not reflecting.
Therefore I tried to change it via putty shel using vim bashrc command. but... (4 Replies)
Hi all,
firstly apologies if this is in the wrong category.
I have been making livecds (fedora based) and to change eg the background i use below in the ks file.
this works fine, however when i install the livecd it loses the changes.
How can i make the changes so that they stay when... (5 Replies)
Hi everybody,
I have a prog who is filtering an image with a lot of parameters. The user has two choices :
-Running the script with default values
-Running the script manually (i.e choosing himself the parameters values)
What I would like to do is that if he wants, the users can keep... (4 Replies)
Apologies if this isn't quite the right thread
I have a vi session and I have set a lot of tags with 'mx'. can I save this session preserving these tags so when I go back to the session I don't have to reset them all?
cheers (0 Replies)
hi,
i access unix through secure shell (SSH) from my pc running on windows. Can i save files from unix directly into windows-run pc?. e.g. vi files into notepad???
thanks alot,
-a (6 Replies)
How do I save a file to a floppy. I mounted the drive and it is there. Everytime I try to save to the floppy, it tells me the resource is busy. Please advise.
Thanks, (1 Reply)