  | | | How to Mount external usb hardisk in Linux | How to Mount external usb hardisk in Linux 2007-04-23 - By Rick Stevens
Back On Mon, 2007-04-23 at 06:04 -0700, Manohar K N wrote: > Hi Every one, > > Can you guide how access externela usb drive in linux pc. (or > How to configure )
Assuming something relatively current such as RHEL 4U3, 4U4 or Fedora Core 5 or 6, the drive should show up automatically in the /media directory. The directory it's mounted as will reflect the filesystem label (if any). For example, if the drive has a filesystem label such as "FlashData", then it will probably mount as "/media/FlashData".
If there is no filesystem label (such as a DOS- or VFAT-formatted drive), then it will probably show up as "/media/disk".
If it doesn't automatically mount, then the raw device name will be "/dev/sdDP" where "N" will be "a" if this is the first SCSI disk, "b" if it's the second and so on (NOTE: SATA drives are also considered SCSI drives in Linux). The "P" identifies the partition number in the drive, starting at 1. You will have to manually mount the drive by first creating a mountpoint as the root user:
# mkdir /media/mydisk
Then executing a mount command. Assuming this USB disk is the second SCSI drive (because you already have a SATA drive) and that the first partition on the USB drive is the partition with the file system (most likely):
# mount /dev/sdb1 /media/mydisk
Voila! Don't forget to unmount it before you unplug it:
# umount /dev/sdb1 --OR-- # umount /media/mydisk
Either command will work. -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- - Rick Stevens, Principal Engineer rstevens@(protected) - - VitalStream, Inc. http://www.vitalstream.com - - - - Any sufficiently advanced technology is indistinguishable from a - - rigged demo. - -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |