bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper


From: Chad Miller
Subject: [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper
Date: Fri, 04 Mar 2016 00:06:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.116 Chrome/48.0.2564.116 Safari/537.36

Follow-up Comment #15, bug #43653 (project grub):

Andrei, here it is, working.

$ sudo grub-probe  /
zfs


$ sudo strace -v -f grub-probe / 2>&1  |grep /zpool
[pid 11679] execve("/sbin/zpool", ["zpool", "status", "gelb"],
["LC_PAPER=en_AU.UTF-8", "LC_ADDRESS=en_AU.UTF-8", "LC_MONETARY=en_AU.UTF-8",
"TERM=xterm-256color", "LC_NUMERIC=en_AU.UTF-8", "LC_TELEPHONE=en_AU.UTF-8",
"LC_IDENTIFICATION=en_AU.UTF-8", "LANG=en_US.UTF-8",
"LC_MEASUREMENT=en_AU.UTF-8", "LANGUAGE=en", "LC_TIME=en_AU.UTF-8",
"LC_NAME=en_AU.UTF-8", "SHELL=/bin/bash", "MAIL=/var/mail/root",
"PATH=/usr/local/sbin:/usr/local/"..., "LOGNAME=root", "USER=root",
"USERNAME=root", "HOME=/root", "SUDO_COMMAND=/usr/bin/strace -v "...,
"SUDO_USER=cmiller", "SUDO_UID=1000", "SUDO_GID=1000",
"http_proxy=http://172.30.100.1:8";..., "ZPOOL_VDEV_NAME_PATH=YES",
"LC_ALL=C"]) = 0


# zpool status gelb
...
config:

        NAME                                                   STATE     READ 
WRITE
CKSUM
        gelb                                                   ONLINE       0   
  0  
  0
          raidz1-0                                             ONLINE       0   
  0  
  0
            ata-ST31000333AS_9TE1QFL7-part1                    ONLINE       0   
  0  
  0
...


# ZPOOL_VDEV_NAME_PATH=yes zpool status gelb
...
config:

        NAME                                                                   
STATE 
   READ WRITE CKSUM
        gelb                                                                   
ONLINE
      0     0     0
          raidz1                                                               
ONLINE
      0     0     0
            /dev/disk/by-id/ata-ST31000333AS_9TE1QFL7-part1                    
ONLINE
      0     0     0

...



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43653>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]