I need a few tech. support regarding to auto-import a previously created zfs partition here, can you help me?
Before this release cycle (19.04), I already started to use zfs to host my project files, it works fine, and the file system can be auto-imported/mounted after reboot w/o trouble.
And now comes to the Eaon, I’ve tried to install both Ubuntu and Ubuntu Mate 19.10 on a real PC, both were installed fine when using the latest iso even with the experimental ZFS root enabled, that’s the good part.
However, no matter how I tried to import the partition or tweak the /etc/default/zfs settings, right now this data partition simply refuse to cooperate, the 19.10 always fails to auto-import it. Assume the partition is /dev/disk/by-id/ata-VBOX_HARDDISK_VB4749ea2c-77ee538e-part4 and the pool name is zdata. I can import it an use the filesystem before reboot, and after reboot, it’s not auto-imported. This becomes a trouble to me.
The command I’ve tried includes the two:
sudo zpool import -a
sudo zpool import -d /dev/disk/by-id/ata-VBOX_HARDDISK_VB4749ea2c-77ee538e-part4 zdata
Tweak /etc/default/zfs settings all fails to auto-import.
Do you know why? How to resolve it?