Changes

From SME Server
Jump to navigationJump to search
2,071 bytes added ,  07:46, 25 March 2017
Line 1: Line 1:  +
{{Languages|Disk_Manager}}
 
== Disk Manager for SME Server ==
 
== Disk Manager for SME Server ==
 +
{{Level|medium}}
 +
 +
{{#smeversion:smeserver-usbdisksmanager }}
    
=== Maintainer ===
 
=== Maintainer ===
xx
+
[http://smeserver.pialasse.com/ Unnilennium aka Jean-Philippe PIALASSE] (Contrib)
    
=== Description ===
 
=== Description ===
Disk Manager usage adds a panel to the server-manager showing attached USB drives
+
Disk Manager usage adds a panel to the server-manager showing attached USB drives.
 +
 
 +
It can also handle firewire ieee1394 disks. All you have to do is to add kernel module thanks to [http://atrpms.net/dist/el5/ieee1394/ atrpms] or to centosplus.
    
=== Installation ===
 
=== Installation ===
  yum install smeserver-usbdisksmanager --enablerepo=smedev
+
  yum install smeserver-usbdisksmanager --enablerepo=smecontribs
 +
 
 +
=== Update ===
 +
yum update smeserver-usbdisksmanager --enablerepo=smecontribs
    
=== Uninstall ===
 
=== Uninstall ===
Line 15: Line 24:  
=== Usage ===
 
=== Usage ===
   −
Raw dump of panel text, to be cleaned up...
     −
Firewire is not fully implemented in centos (so SME) kernel. If you want to use a firewire disk you need to use your own compiled kernel or the one from centosplus. Be carefull you will need to compil appletalk, ppp an slip kmod for the kernel you choose (centosplus one or you own).
+
Firewire is not fully implemented in centos (so SME) kernel. If you want to use a firewire disk you need to use your own compiled kernel or the one from centosplus or adding kernel module thanks to [http://atrpms.net/dist/el5/ieee1394/ atrpms] . Be carefull you will need to compil appletalk, ppp an slip kmod for the kernel you choose (centosplus one or you own).
******  Configuration
     −
Frequency : in minutes between two disk check (CRON job)
+
====Configuration====
Status : enable or disable the automatic job completly
+
 
Status /media/ kown : enable or disable auto mount in /media/ of known drives
+
'''Frequency''' : in minutes between two disk check (CRON job)
Status /media/ unknown : enable or disable auto mount in /media/ of unknown drives
+
 
 +
'''Status''' : enable or disable the automatic job completly
 +
 
 +
'''Status /media/ known''' : enable or disable auto mount in /media/ of known drives
 +
 
 +
'''Status /media/ unknown''' : enable or disable auto mount in /media/ of unknown drives
    
To allow to auto mount you need to enable in the configuration "Status", then add your drive and set a mount point that really exists and finally set this drive to enable
 
To allow to auto mount you need to enable in the configuration "Status", then add your drive and set a mount point that really exists and finally set this drive to enable
******  Add , Modify a drive
+
 
 +
 
 +
the use of the command '''mount''' is to mount to the folder created thanks to HAL in /media.
 +
 
 +
the use of the command '''mount to''' is to mount to your customized folder.
 +
 
 +
====Add , Modify a drive====
    
UUID : drive identification
 
UUID : drive identification
Line 33: Line 51:  
Status : enable or disable auto mount to the defined directory for this drive (need to have the contrib set to enabled into configuration)
 
Status : enable or disable auto mount to the defined directory for this drive (need to have the contrib set to enabled into configuration)
 
Status media : enable or disable auto mount into /media directory (need to have the option enabled into the configuration)
 
Status media : enable or disable auto mount into /media directory (need to have the option enabled into the configuration)
******  your drive ext2 or ext3 has no UUID
+
 
 +
==== your drive ext2 or ext3 has no UUID====
    
connect to command line and execute as it seems to be impossible to do through the cgi interface:
 
connect to command line and execute as it seems to be impossible to do through the cgi interface:
   −
    * UUID=`/usr/bin/uuidgen`
+
UUID=`/usr/bin/uuidgen`
    * /sbin/tune2fs -U $UUID /sys/block/device
+
/sbin/tune2fs -U $UUID /sys/block/device
    
("device" should be sda1 if it is the partition you wants to point to)
 
("device" should be sda1 if it is the partition you wants to point to)
******  you drive ext2 or ext3 has no LABEL
+
 
 +
====your drive ext2 or ext3 has no LABEL====
    
connect to command line and execute as it seems to be impossible to do through the cgi interface:
 
connect to command line and execute as it seems to be impossible to do through the cgi interface:
   −
    * UUID=genuuid
+
UUID=genuuid
    * tune2fs -L MyLabel /sys/block/device
+
tune2fs -L MyLabel /sys/block/device
    
("device" should be sda1 if it is the partition you wants to point to, and "MyLabel" to whatever you wants)
 
("device" should be sda1 if it is the partition you wants to point to, and "MyLabel" to whatever you wants)
******  Format your drive
+
 
 +
====Format your drive====
    
Before anything else:
 
Before anything else:
   −
You must be aware that a removable device will have name like /dev/sd[a-z]1 (sda, sdb , sdc ....) under linux. If you have only IDE (ATA) drives on your server there is no problem as they will be named: /dev/hd[a-z]1 (hda, hdb, hdc...). But if you have some SATA or SCSI drives thay will have same kind of name that can have a removable drive : sda ...
+
You must be aware that a removable device SHOULD have name like /dev/sd[a-z]1 (sda, sdb , sdc ....) under linux. If you have only IDE (ATA) drives on your server there is no problem as they will be named: /dev/hd[a-z]1 (hda, hdb, hdc...). But if you have some SATA or SCSI drives thay will have same kind of name that can have a removable drive : sda ...
    
Drive named /dev/md[1-0]+ are some kind of software image of the real drives due to the LVM/ software RAID of SME.
 
Drive named /dev/md[1-0]+ are some kind of software image of the real drives due to the LVM/ software RAID of SME.
Line 96: Line 117:  
(MyLAbel must have no space and short)
 
(MyLAbel must have no space and short)
   −
     * tune2fs -L MyLabel /sys/block/sdX1
+
     * tune2fs -L MyLabel /dev/sdX1
    
8- check everything is OK: UUID, Label (change X to what is needed for you, same thing for the 1 if needed) :
 
8- check everything is OK: UUID, Label (change X to what is needed for you, same thing for the 1 if needed) :
Line 105: Line 126:     
9- Your drive is ready  
 
9- Your drive is ready  
 +
 +
====Your drive can't be mounted thanks to usb disk manager====
 +
 +
There is a known limit to this contrib : it can't handle drives that have only one partition that is called without a number : i mean : /dev/sda as partition instead of /dev/sda1. Please consider this before putting information on your drive to format it correctly.
 +
 +
====Mounting FAT32 drives====
 +
 +
Off-the-shelf pre-formated FAT32 disks can be mounted. These will mount through the ''vfat'' driver. This is convenient as it allows portability between the SME Server and a Windows machine. Because FAT32 does not support the UTF-8 character set, the following option must be added to the mount options:
 +
 +
    iocharset=iso8859-1
 +
 +
This option allows filenames with international characters to be written and read by both Windows XP and the SME server.
 +
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-usbdiskmanager component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-usbdiskmanager|title=this link}}.
 +
 +
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-usbdiskmanager|disablecache=1|noresultsmessage="No open bugs found."}}
 +
 +
===Changelog===
 +
Only released version in smecontrib are listed here.
 +
 +
{{ #smechangelog: smeserver-usbdisksmanager}}
       
----
 
----
 +
 +
[[Category: Contrib]]
 +
[[Category: Administration:Storage]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu