[SOLVED] How to add and remove an external FAT32 usb drive to RHEL server
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to add and remove an external FAT32 usb drive to RHEL server
I need to get a backup copy of a huge directory on one of our RHEL servers. Rather than hook the external USB drive up to my PC and manually copy it all across the network, can I just plug it in to one of my USB ports on the server and rsync it?
I know how to do the rsync, I just don't know how to get the USB drive to show up when I do a df -h and how to properly remove it before unplugging it from the server. this is a live server, so I can't go playing around and possibly mess something up. Can anyone help?
can I just plug it in to one of my USB ports on the server and rsync it?
Yes, rsync works either over the network or between local folders. Now this server, is it running a linux or not? To rsync local you have need to --
1. Plug the USB disk, the system must be able to detect it;
2. Mount the disk; check Options must allow an 'rw' permission to write the back up to it, there must be enough space too;
3. Rsync.... (be sure about your Source and Destination disks)
OK, so I plug the USB drive into my server, then do a fdisk -l to find out what dev it is. then I do mount -tvfat /dev/sd?? /directory
the folder structure was created on my XP PC, so would the directory path be the same as if i went through a windows command prompt or something similar?
OK, so I plug the USB drive into my server, then do a fdisk -l to find out what dev it is. then I do mount -tvfat /dev/sd?? /directory
the folder structure was created on my XP PC, so would the directory path be the same as if i went through a windows command prompt or something similar?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.