Line 1: |
Line 1: |
| + | {{Languages|Disk_Manager}} |
| == Disk Manager for SME Server == | | == Disk Manager for SME Server == |
| | | |
| === 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 === |
Line 15: |
Line 18: |
| === 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
| + | |
| + | ====Configuration==== |
| | | |
| Frequency : in minutes between two disk check (CRON job) | | Frequency : in minutes between two disk check (CRON job) |
Line 26: |
Line 29: |
| | | |
| 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
| + | ====Add , Modify a drive==== |
| | | |
| UUID : drive identification | | UUID : drive identification |
Line 33: |
Line 36: |
| 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 102: |
| (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 106: |
Line 112: |
| 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. |
| | | |
| ---- | | ---- |