> So my question: "Why this tool is not part of the binary distribution ?"

SmartOS is not designed to run using networked block storage. It is
designed to use local disk. This is a decision made by Joyent which
reflects the collective experience of its engineers.

On Wed, Oct 14, 2015 at 3:45 AM, Skale Franz <
[email protected]> wrote:

>
> Hi list,
> this is my first post but i think the majority of you will find my
> contribution helpful.
> I will cut the story down to the minimum.
> Everyone who's using a multipathed (MPXIO) setup (ISCSI) will run into a
> problem when a disk will partly fail. (grown defects)
> A disk with grown defects will degrade a zpool but will stay connected for
> the system.
> Usually you will try to use cfgadm to disconnect the disk, but will end up
> frustrated because the tool will only output operation not supported.
> I don't want to reboot only because of a failed disk i thought !
> mpathadm list lu will try to access the disk but the ioctl will fail with
> error 22.
> So i tried various solutions to offline the disk but non of them worked as
> expected.
> I then found a hint on the oracle website claiming there's a tool that is
> able to offline a disk.
> Cool i thought, but where it is ?
> The utility "luxadm" is not part of smartos but will be build when when
> compiling from source.
> I then copied it to my nodes and gave it a try.
> And whoops, it worked.
> Cmdline: luxadm -e offline /dev/rdsk/c0t5000C500xxxxxxxs2
> DMESG:
> Oct 12 13:29:08 host01 genunix: [ID 408114 kern.info]
> /scsi_vhci/disk@g600xxxxxxxxxxxxxxxxxxxx (sd13) offline
> Oct 13 06:40:59 host01     drive offline
>
> Now, mpathadm worked again and there are no vhci resets when changing the
> path due to a multipath event.
> So my question: "Why this tool is not part of the binary distribution ?"
> It's essential for mulitpathed setups though.
>
> Best regards
>
> Franz
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/22267710-cec26c41> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to