-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created pool with by-id but on reboot it uses sdX #4669
Comments
This was fixed in the zfs-0.6.5.7 release which was tagged last week. It looks like the ppa has been updated to include these packages, can you verify the exact zfs version number. |
dpkg -l | grep zfs |
@hippie131 can please try the following:
|
same thing happens:
errors: No known data errors
errors: No known data errors |
Is there a way to alter the command used at boot time? if there is I can just change it from "zpool import -N mypool" to "zpool import -d /dev/disk/by-id mypool" |
--I was having this exact same issue on Ubuntu 14.04-64-LTS; thank you for fixing it :) / currently using kernels 4.2.0-30-generic #36 (main PC, kernel 4.2.0-30) ( 2nd server, kernel 4.2.0-36 ) |
@hippie131 , what kernel version are you using, maybe try upgrading to 4.2.0-30 or -36? |
Im at the highest i can be without going to the next LTS which isnt recommended until the first point release comes out -------- Original message -------- @hippie131 , what kernel version are you using, maybe try upgrading to 4.2.0-30 or -36? You are receiving this because you were mentioned. |
uname -a |
updated to the new hardware stack and now it seems to be mounting properly with the disk IDs. Here is the kernel version I'm on now: |
For the sake of completeness this was addressed in the release branch by c9ca152 |
I'm on Ubuntu 14.04 with the latest zfs installed for the PPA. Here is the history:
zpool history
History for 'mypool':
2016-05-17.21:20:56 zpool create -m none -o ashift=12 mypool raidz2 /dev/disk/by-id/ata-WDC_WD6002FFWX-68TZ4N0_K1G0YB8B /dev/disk/by-id/ata-WDC_WD6001FFWX-68Z39N0_WD-WXB1HB4MYU7M /dev/disk/by-id/ata-WDC_WD6001FFWX-68Z39N0_WD-WX11DB5140D1 /dev/disk/by-id/ata-WDC_WD6001FFWX-68Z39N0_WD-WX11DB51457V /dev/disk/by-id/ata-WDC_WD6001FFWX-68Z39N0_WD-WX11DB514Y1L /dev/disk/by-id/ata-WDC_WD6001FFWX-68Z39N0_WD-WXB1HB4TDJL4
2016-05-18.07:40:43 zpool import -N mypool
2016-05-18.11:45:12 zpool import -N mypool
The last 2 entries were created from system reboots causing the pool to be imported like this:
zpool status
pool: mypool
state: ONLINE
scan: none requested
config:
errors: No known data errors
I tried to use the deprecated ZPOOL_IMPORT_PATH="/dev/disk/by-id" in /etc/default/zfs but it had no effect. The zpool.cache file has references in it for the by-id drives. What can I do to ensure on reboot it imports with the by-id paths? Is it possible to manually set the import command issued automatically on reboot to import by the by-id paths?
The text was updated successfully, but these errors were encountered: