Changes

From SME Server
Jump to navigationJump to search
482 bytes added ,  14:40, 26 September 2007
Line 1: Line 1:  
===USB Disks===
 
===USB Disks===
{{Incomplete}}
   
{{Warning box|NTFS partitions are not supported, please use either fat32/vfat or ext2/ext3}}
 
{{Warning box|NTFS partitions are not supported, please use either fat32/vfat or ext2/ext3}}
 
====Introduction====
 
====Introduction====
 
=====The Problem=====
 
=====The Problem=====
 
SME will automatically mount connected USB disk drives into the /media folder.
 
SME will automatically mount connected USB disk drives into the /media folder.
Auto-mounting will be performed based on the specific USB port used to connect your drives unless you use another method to specify mount points.
+
Auto-mounting will be performed based both the specific USB port used to connect your drives and the order in which they are connected unless you use another method to specify mount points.
    
Imagine this example:
 
Imagine this example:
Line 16: Line 15:  
* Connect USB 'B' to the first USB port without disconnecting USB 'A'.  USB 'B' is assigned to /dev/sdd
 
* Connect USB 'B' to the first USB port without disconnecting USB 'A'.  USB 'B' is assigned to /dev/sdd
 
* Leave both drives connected and re-boot.  USB 'B' is now connected to /dev/sdc, while USB 'A' is connected to /dev/sdd!
 
* Leave both drives connected and re-boot.  USB 'B' is now connected to /dev/sdc, while USB 'A' is connected to /dev/sdd!
 +
 +
In one case, SME automatically mounted my USB drive in /media/DiskLabel, but, since the resulting automatic entry in /etc/fstab depended on the assigned device, the next drive I connected was also mounted in /media/DiskLabel, even though it had a completely different label!
    
=====The Solution=====
 
=====The Solution=====
Line 26: Line 27:  
  LABEL=Disk2 /mnt/backup ext3 defaults
 
  LABEL=Disk2 /mnt/backup ext3 defaults
 
  LABEL=Disk3 /mnt/backup ext3 defaults
 
  LABEL=Disk3 /mnt/backup ext3 defaults
      
====Supported FileSystems====
 
====Supported FileSystems====
Line 155: Line 155:  
The 'local' event will run each time your server boots up.  If you connect or disconnect a drive and need to re-mount it you can re-run your auto-mount commands using:
 
The 'local' event will run each time your server boots up.  If you connect or disconnect a drive and need to re-mount it you can re-run your auto-mount commands using:
 
  signal-event local
 
  signal-event local
 
+
====Mount your disks automatically when connected====
 +
{{incomplete}}
 +
|Please edit this section to specify how to get SME to automatically mount USB drives when they are connected
 
====More Information====
 
====More Information====
 
* There is a contrib for managing USB disks: http://forums.contribs.org/index.php?topic=35466.0
 
* There is a contrib for managing USB disks: http://forums.contribs.org/index.php?topic=35466.0

Navigation menu