Changes

From SME Server
Jump to navigationJump to search
454 bytes added ,  21:36, 4 November 2015
Line 218: Line 218:  
  mkfs ext4 -L usbdrive /dev/sdb1
 
  mkfs ext4 -L usbdrive /dev/sdb1
   −
To check a mount point exists and mount
+
Finally you mount the drive. As mentioned before, the mount point has to exist before you issue the mount command. A typical place for USB drives to be mounted is /media. If there is already a mount point in /media you can check it by listing the directory contents of media.
 +
ll /media
 +
 
 +
Once you have a suitable location, make sure nothing is mounted there by issuing the mount command from the terminal with no arguments. If you wanted to mount the drive /dev/sdb1 at /media/usbdrive, you would issue the following command
 +
 
 +
mount /dev/sdb1 /media/usbdrive
 +
ls -lh /media/usbdrive/
   −
ll /media
+
Unmount the drive before unplugging it with
mount /dev/sda1 /media/120Gbfat32  (ie. mount /media/120Gbfat32 no longer works)
+
  umount /dev/sdb1
ls -lh /media/120Gbfat32/
  −
  umount /dev/sda1 (when finished)
      
Note:  When configuring a USB drive to be used by the built in [[SME_Server:Documentation:Administration_Manual:Chapter10|Workstation Backup To USB]] you must ensure that the drive is not mounted automatically.  When configuring the Workstation Backup, it will look for unmounted removable drives and allow you to select what you want.  If the drive is already mounted when you configure it then you will get an error saying "No Removable disk available".
 
Note:  When configuring a USB drive to be used by the built in [[SME_Server:Documentation:Administration_Manual:Chapter10|Workstation Backup To USB]] you must ensure that the drive is not mounted automatically.  When configuring the Workstation Backup, it will look for unmounted removable drives and allow you to select what you want.  If the drive is already mounted when you configure it then you will get an error saying "No Removable disk available".
70

edits

Navigation menu