Results 1 to 8 of 8

Thread: [Solved] multipathd error ... sda: failed to get sgio uid: No such file or directory

Threaded View

  1. #1
    Join Date
    Apr 2020
    Beans
    2

    Thumbs up [Solved] multipathd error ... sda: failed to get sgio uid: No such file or directory

    Hi,
    I'm running Ubuntu Server 20.04 ... it's not my first but I'm probably still more comfortable with *BSD. That said, I'm having a good time with it when I see my syslog is filling up with messages from multipathd...

    Code:
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: add missing path
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: failed to get sysfs uid: Invalid argument
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: failed to get sgio uid: No such file or directory
    This is happening every five seconds, and it's not only annoying, it's worrisome.

    My server is a virtual machine on ESXi 6.7 ... and I gave it 50 GB of virtual disk at install and selected to use LVM.

    Any hints on what this means and how to solve it? For example, what is sgio and what does it have to do with sda?



    Here are a few more points that may be germane:


    Code:
    $ sudo fdisk -l
    <...snip...>
    
    Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
    Disk model: Virtual disk
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 2594FF21-D82C-4B56-8CD6-9E352E48770A
    
    Device       Start       End   Sectors Size Type
    /dev/sda1     2048      4095      2048   1M BIOS boot
    /dev/sda2     4096   2101247   2097152   1G Linux filesystem
    /dev/sda3  2101248 104855551 102754304  49G Linux filesystem
    
    <...snip...>

    Code:
    $ cat /etc/multipath.conf
    defaults {
        user_friendly_names yes
    }
    Code:
    $ sudo multipath -t
              defaults {
              verbosity 2
              polling_interval 5
              max_polling_interval 20
              reassign_maps "no"
              multipath_dir "//lib/multipath"
              path_selector "service-time 0"
              path_grouping_policy "failover"
              uid_attribute "ID_SERIAL"
              prio "const"
              prio_args ""
              features "0"
              path_checker "tur"
              alias_prefix "mpath"
              failback "manual"
              rr_min_io 1000
              rr_min_io_rq 1
              max_fds "max"
              rr_weight "uniform"
              queue_without_daemon "no"
              flush_on_last_del "no"
              user_friendly_names "no"
              fast_io_fail_tmo 5
              bindings_file "/etc/multipath/bindings"
              wwids_file "/etc/multipath/wwids"
              prkeys_file "/etc/multipath/prkeys"
              log_checker_err always
              all_tg_pt "no"
              retain_attached_hw_handler "yes"
              detect_prio "yes"
              detect_checker "yes"
              force_sync "no"
              strict_timing "no"
              deferred_remove "no"
              config_dir "/etc/multipath/conf.d"
              delay_watch_checks "no"
              delay_wait_checks "no"
              san_path_err_threshold "no"
              san_path_err_forget_rate "no"
              san_path_err_recovery_time "no"
              marginal_path_err_sample_time "no"
              marginal_path_err_rate_threshold "no"
              marginal_path_err_recheck_gap_time "no"
              marginal_path_double_failed_time "no"
              find_multipaths "on"
              uxsock_timeout 4000
              retrigger_tries 0
              retrigger_delay 10
              missing_uev_wait_timeout 30
              skip_kpartx "no"
              disable_changed_wwids ignored
              remove_retries 0
              ghost_delay "no"
              find_multipaths_timeout -10
              enable_foreign ""
              marginal_pathgroups "no"
      }
      blacklist {
      ...


    Code:
    $ cat /var/log/syslog | grep multipathd | head -33
    Apr 26 16:09:52 ubuntu2004 multipathd[728]: --------start up--------
    Apr 26 16:09:52 ubuntu2004 multipathd[728]: read /etc/multipath.conf
    Apr 26 16:09:52 ubuntu2004 multipathd[728]: path checkers start up
    Apr 26 16:09:52 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
    Apr 26 16:09:52 ubuntu2004 multipathd[728]: sda: failed to get unknown uid: Invalid argument
    Apr 26 16:09:52 ubuntu2004 kernel: [    5.758757] systemd[1]: Listening on multipathd control socket.
    Apr 26 16:09:53 ubuntu2004 multipathd[728]: sda: triggering change event to reinitialize
    Apr 26 16:09:53 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
    Apr 26 16:09:53 ubuntu2004 multipathd[728]: sda: failed to get unknown uid: Invalid argument
    Apr 26 16:09:53 ubuntu2004 multipathd[728]: sda: failed to get path uid
    Apr 26 16:09:53 ubuntu2004 multipathd[728]: uevent trigger error
    Apr 26 16:10:03 ubuntu2004 multipathd[728]: sda: triggering change event to reinitialize
    Apr 26 16:10:03 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
    Apr 26 16:10:03 ubuntu2004 multipathd[728]: sda: failed to get unknown uid: Invalid argument
    Apr 26 16:10:03 ubuntu2004 multipathd[728]: sda: failed to get path uid
    Apr 26 16:10:03 ubuntu2004 multipathd[728]: uevent trigger error
    Apr 26 16:10:13 ubuntu2004 multipathd[728]: sda: triggering change event to reinitialize
    Apr 26 16:10:13 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
    Apr 26 16:10:13 ubuntu2004 multipathd[728]: sda: failed to get sysfs uid: Invalid argument
    Apr 26 16:10:13 ubuntu2004 multipathd[728]: sda: failed to get sgio uid: No such file or directory
    Apr 26 16:10:13 ubuntu2004 multipathd[728]: sda: failed to get path uid
    Apr 26 16:10:13 ubuntu2004 multipathd[728]: uevent trigger error
    Apr 26 16:10:23 ubuntu2004 multipathd[728]: sda: not initialized after 3 udev retriggers
    Apr 26 16:10:24 ubuntu2004 multipathd[728]: sda: add missing path
    Apr 26 16:10:24 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
    Apr 26 16:10:24 ubuntu2004 multipathd[728]: sda: failed to get sysfs uid: Invalid argument
    Apr 26 16:10:24 ubuntu2004 multipathd[728]: sda: failed to get sgio uid: No such file or directory
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: add missing path
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: failed to get sysfs uid: Invalid argument
    Apr 26 16:10:29 ubuntu2004 multipathd[728]: sda: failed to get sgio uid: No such file or directory
    <... and so on every 5 seconds ...>

    Thank you!

    --jg
    Last edited by jg3; April 27th, 2020 at 08:34 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •