1
General Discussion / Re: How to automount a second zpool ?
« on: June 28, 2022, 12:35:04 am »
I know this is an older thread, but unsettled.
I was having the exact same problem, after adding a second SSd to my system (protectli 6wd).
I had created/ recreated, imported, etc... It was at the point where if I imported it manually after booting it worked, but after rebooting it was not mounted.
What I did that appears to have fixed the issue is (the name of my pool is ext)
## Import the pool
$ sudo zpool import ext
## Verify that it's there
$ df -kh /ext
Filesystem Size Used Avail Capacity Mounted on
ext 430G 104K 430G 0% /ext
And then manually exported it
$ sudo zpool export ext
And then rebooted. It's been automatically mounting ever since.
My best guess is that since the pool wasn't mounted by the boot process, that when the system reboots it doesn't cleanly shut it down.
YMMV, but hey, if it works...
Fratz
I was having the exact same problem, after adding a second SSd to my system (protectli 6wd).
I had created/ recreated, imported, etc... It was at the point where if I imported it manually after booting it worked, but after rebooting it was not mounted.
What I did that appears to have fixed the issue is (the name of my pool is ext)
## Import the pool
$ sudo zpool import ext
## Verify that it's there
$ df -kh /ext
Filesystem Size Used Avail Capacity Mounted on
ext 430G 104K 430G 0% /ext
And then manually exported it
$ sudo zpool export ext
And then rebooted. It's been automatically mounting ever since.
My best guess is that since the pool wasn't mounted by the boot process, that when the system reboots it doesn't cleanly shut it down.
YMMV, but hey, if it works...
Fratz