[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: |
Jonathan Vaughn |
Subject: |
[bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper |
Date: |
Fri, 12 Feb 2016 08:12:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36 |
Follow-up Comment #8, bug #43653 (project grub):
Another example (to show what a raidz looks like, mirror is probably similar,
my previous example is a single drive pool)
address@hidden ~]# zdb -C storage
MOS Configuration:
version: 5000
name: 'storage'
state: 0
txg: 140131
pool_guid: 17167584455341853717
errata: 0
hostname: 'localhost'
vdev_children: 2
vdev_tree:
type: 'root'
id: 0
guid: 17167584455341853717
create_txg: 4
children[0]:
type: 'raidz'
id: 0
guid: 16890424298360256069
nparity: 2
metaslab_array: 34
metaslab_shift: 37
ashift: 12
asize: 20003866804224
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 17777217965918563459
path: '/dev/sdb1'
whole_disk: 1
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 7290186694997986110
path: '/dev/sdg1'
whole_disk: 1
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 5903874119169633124
path: '/dev/sdc1'
whole_disk: 1
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 9042132936038593189
path: '/dev/sdf1'
whole_disk: 1
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 10552128460515355461
path:
'/dev/disk/by-id/ata-SanDisk_SDSSDA120G_999999999999-part1'
whole_disk: 0
metaslab_array: 107
metaslab_shift: 24
ashift: 9
asize: 1018691584
is_log: 1
create_txg: 60548
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
This is not best example since this one is using /dev/sdX for it's members, so
would probably work as-is, but if it was using /dev/disk/by-id it wouldn't, so
just use your imagination. :)
Sadly, my C-fu is too weak to attempt writing any patches myself at the
moment. I haven't done any "real" C programming in probably a decade. I
glanced at the code and the output parsing would need to be rewritten since
the output is in a different format, but if that's done it should be fine.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43653>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Jonathan Vaughn, 2016/02/12
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper,
Jonathan Vaughn <=
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Andrei Borzenkov, 2016/02/12
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Chad Miller, 2016/02/16
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Chad Miller, 2016/02/16
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Andrei Borzenkov, 2016/02/16
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Chad Miller, 2016/02/16
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Chad Miller, 2016/02/26
- [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper, Andrei Borzenkov, 2016/02/26