1 |
Greetings, |
2 |
|
3 |
If i export/import a zpool, the altroot property is not preserved so |
4 |
it always gets mounted at /. |
5 |
|
6 |
In /etc/init.d/zfs, the import line reads |
7 |
$ZPOOL import -c $ZPOOL_CACHE -aN 2>/dev/null || true |
8 |
so no -options there. |
9 |
|
10 |
I've also tried with |
11 |
zpool import -o altroot=/mnt -o cachefile=/etc/zfs/zpool.cache poolname |
12 |
which works, but the cache file only lives until export, so i assume |
13 |
it's not some kind of configuration save point. A simple import |
14 |
afterwards will place the pool at / again. Same for -R. |
15 |
|
16 |
Is there some option i can put in /etc/modprobe.d/zfs.conf (which |
17 |
currently doesn't exist)? |
18 |
|
19 |
Thanks, |
20 |
Nuno |