You are not logged in.

#1 2015-12-02 09:17:50

mabra
Member
From: Brühl
Registered: 2015-10-05
Posts: 22

zfs on root: zpool import generates short disk path

Hello !

I installed arch with zfs on root, pool with some filesystems.
The pool was created with
>zpool create -o ashift=12 testpool /dev/disk/by-id/ata-OCZ-VECTOR180_OCZ-R017HQUEF09H0820-part2
Created filesystems, unmount, export - no problem.
But at import of the pool, a short path was generated:
>zpool import -d /dev/disk/by-id/ -R /mnt testpool

  pool: testpool
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
      testpool     ONLINE       0     0     0
         sda2      ONLINE       0     0     0

Is there a way to change this ? On an older setup [on debian,
though], this worked as expected.

This is zfs on boot, using arch. Probably, grub and its device
plays a role here ? On arch, grub has no zfs support and I
ended up to use this statement: > set root=(hd0,1)   [!!!]

Then I added two other disks, to build another pool from the mirrored disks.
The same.

Kernel is 4.2.5-1, systemd: 227, zfs 0.6.5.3

Thanks anyway,

Manfred

Offline

Board footer

Powered by FluxBB