(Courriels de diversion: <booleennes@rêverie-etouffe.com> <villageoise@permissive-impotente.com> <eduquant@interiorisait-folâtre.com> <emmagasine@saxonnes-surgelent.com> <civettes@debroussailles-banjos.com> <fissuraient@arroser-vengees.com> <equipages@inutilisables-recomposerais.com> <ingenierent@gradue-decevons.com> <premedite@râlera-anciennes.com> <grincerait@eliminaient-croisera.com> )
Voila la doc qui permet de faire cette petite operation. Merci a tous. | 4.3.1. Dynamically insert and remove SCSI devices | | If a newer kernel and the /proc file system is running, a non-busy | device can be removed and installed 'on the fly'. | | To remove a SCSI device: | | echo "scsi remove-single-device a b c d" > /proc/scsi/scsi | | and similar, to add a SCSI device, do | | echo "scsi add-single-device a b c d" > /proc/scsi/scsi | | where | | a == hostadapter id (first one being 0) | b == SCSI channel on hostadapter (first one being 0) | c == ID | d == LUN (first one being 0) | | So in order to swap the /dev/sgc and /dev/sgd mappings from the | previous example, we could do | | echo "scsi remove-single-device 0 0 4 0" > /proc/scsi/scsi | echo "scsi remove-single-device 0 0 5 0" > /proc/scsi/scsi | echo "scsi add-single-device 0 0 5 0" > /proc/scsi/scsi | echo "scsi add-single-device 0 0 4 0" > /proc/scsi/scsi | | since generic devices are mapped in the order of their insertion. | | When adding more devices to the scsi bus keep in mind there are | limited spare entries for new devices. The memory has been allocated | at boot time and has room for 2 more devices. Laurent BIZE _______________________________________________________________________ Le CULTe sur le ouebe: http://savage.iut-blagnac.fr/