Port multiplier
Hi Tejun,
I am about to start experimenting with SATA PMP and have spent some time on the net collecting information, including your WIKI.
Please can you help me with a few of missing bits.
I have ordered an ASUS M2N SLI Deluxe which in addition to the NVIDIA SATA controller, has a JMicron 363 SATA controller which handles one internal SATA connector and an external eSATA connector.
My understanding is that the JMicron will work using kernel AHCI support and the board BIOS has an AHCI setting.
My hope is to be able to connect an Addonics AD5APM-E 5 disk port multiplier module to this. From the photo and some other information at their website, this appears to use either a Silicon Image 3124 or 3132 chip.
Do you think this will work, if I use the current patch 20060710 on your Wiki?
If so, and it supports hotplugging, which I believe it may do, what exactly does this mean?
Can I power up an external enclosure containing the Addonics and 3 drives, configured as a RAID 5 and plug it straight into the running system?
If so, can this be set up to mount automatically?
Can I unmount the connected and mounted array and just unplug the array with no further concern?
I hope I have not wasted your time by asking this. If the information is elsewhere, please let me know.
Kind regards,
Richard Scobie
Hello,
Quoted 7 lines · Richard Scobie
I have ordered an ASUS M2N SLI Deluxe which in addition to the NVIDIA SATA controller, has a JMicron 363 SATA controller which handles one internal SATA connector and an external eSATA connector.
My understanding is that the JMicron will work using kernel AHCI support and the board BIOS has an AHCI setting.
Quoted 6 lines
My hope is to be able to connect an Addonics AD5APM-E 5 disk port multiplier module to this. From the photo and some other information at their website, this appears to use either a Silicon Image 3124 or 3132 chip.
Do you think this will work, if I use the current patch 20060710 on your Wiki?
PMP support for AHCI isn't yet included in PMP patches, so, no, it won't.
Quoted 5 lines
If so, and it supports hotplugging, which I believe it may do, what exactly does this mean?
Can I power up an external enclosure containing the Addonics and 3 drives, configured as a RAID 5 and plug it straight into the running system?
Yeap. libata should detect the new drives and attach them.
Quoted 1 line
If so, can this be set up to mount automatically?
Well, the kernel detects the device and notifies hotplug. The rest is upto how hotplug is configured.
Quoted 2 lines
Can I unmount the connected and mounted array and just unplug the array with no further concern?
The machine will survive and detach the device correctly but yet-unwritten data will be lost.
Signature · 1 line
tejun
Quoted 7 lines · Tejun Heo
Quoted 2 lines · Richard Scobie
Can I unmount the connected and mounted array and just unplug the array with no further concern?
The machine will survive and detach the device correctly but yet-unwritten data will be lost.
He said he'll unmount it first, so presumably that should avoid most data loss? I suppose if you're in the middle of a RAID resync, or just ran fdisk or fsck or similar, you could still have unflushed data. Does that mean that hot-unplug is not recommended, and one should always do warm-unplug instead?
-jim
Quoted 9 lines · Jim Paris
Quoted 5 lines · Tejun Heo
Quoted 2 lines · Richard Scobie
Can I unmount the connected and mounted array and just unplug the array with no further concern?
The machine will survive and detach the device correctly but yet-unwritten data will be lost.
He said he'll unmount it first, so presumably that should avoid most data loss?
Ah... missed that line.
Quoted 4 lines
I suppose if you're in the middle of a RAID resync, or just ran fdisk or fsck or similar, you could still have unflushed data. Does that mean that hot-unplug is not recommended, and one should always do warm-unplug instead?
If you have unmounted and none of fdisk/fsck/RAID resync or anything similar is running (which is true most of the time), hot unplugging is just fine.
Signature · 1 line
tejun
Quoted 1 line · Tejun Heo
PMP support for AHCI isn't yet included in PMP patches, so, no, it won't.
I shall look forward to development in this area.
Thanks for your efforts do date.
Regards,
Richard