[FIXED] Pool disappear after reboot

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

[FIXED] Pool disappear after reboot

Postby GuillaumeLortie » Wed Sep 01, 2021 8:23 am

HI !

Complete Newb here ! I"m very new to ZFS and mass storage.
i'm building myself a mass storage drive form a LacieBig5 Thunderbolt 2 enclosure and some 8TB NAS WD RED drives
I managed to make a Raidz Pool, speed test it and put some files on it.

Where things get complicated is when i reboot my computer, the pool simply go away, I can not see it when i type Zpool List ( no pool available )
but i can see the drives, see the disks names and see it's ZFS format from Disk Utility but can not mount them.

if i try to rebuild the pool form Terminal using :
sudo zpool create -f -o ashift=12 \
-O casesensitivity=insensitive \
-O normalization=formD \
Store32tb raidz disk2 disk3 disk4 disk5 disk6

the disk just get formated and a new pool is created, but as soon as i restart, its gone!

i'm on OSX 10.15.7
everything is up to dates.

any help would be appreciated here.

thanks!
Last edited by GuillaumeLortie on Thu Sep 09, 2021 9:20 am, edited 1 time in total.
GuillaumeLortie
 
Posts: 4
Joined: Wed Sep 01, 2021 8:06 am

Re: Pool disappear after reboot

Postby lundman » Thu Sep 02, 2021 2:08 pm

Hmm sounds like the import-all script is failing perhaps.

If you run "sudo zpool import" or possibly "sudo zpool import -d /dev" you should see your pool as "importable".

Then just run "sudo zpool import NAME" (possibly with -d /dev NAME if needed).

If that is all working, we need to check why the import-all script isn't running
User avatar
lundman
 
Posts: 1034
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Pool disappear after reboot

Postby GuillaumeLortie » Fri Sep 03, 2021 4:30 am

well, good news !

i did a rename, rebuild in RaidZ2 with the command :

sudo zpool create -f -o ashift=12 \
-O casesensitivity=insensitive \
-O normalization=formD \
sas raidz2 disk2 disk3 disk4 disk5 disk6

pool was created.
after reboot, it did not show up but, i was able to see it and mount it with the cmd :

sudo zpool import sas

This is good !

thank you.

all I need now is to find how i can make it auto mount every time my computer turn on.

any clue on why it would not import at startup ?
GuillaumeLortie
 
Posts: 4
Joined: Wed Sep 01, 2021 8:06 am

Re: Pool disappear after reboot

Postby GuillaumeLortie » Tue Sep 07, 2021 5:22 pm

Anyone ?

I get it to work but every time i reboot i have to typing : sudo zpool import sas

its getting a bit annoying
GuillaumeLortie
 
Posts: 4
Joined: Wed Sep 01, 2021 8:06 am

Re: Pool disappear after reboot

Postby jawbroken » Tue Sep 07, 2021 8:11 pm

It works for me with full disk access (in System Preferences > Security & Privacy > Privacy) granted to /bin/bash and /bin/zsh. The former used to be the one required before Big Sur, at which point my auto-import stopped working and I added the latter. I'm not sure if they are now both required because I haven't tried removing things until it stops working again.
jawbroken
 
Posts: 27
Joined: Wed Apr 01, 2015 4:46 am

Re: Pool disappear after reboot

Postby GuillaumeLortie » Thu Sep 09, 2021 9:21 am

jawbroken wrote:It works for me with full disk access (in System Preferences > Security & Privacy > Privacy) granted to /bin/bash and /bin/zsh. The former used to be the one required before Big Sur, at which point my auto-import stopped working and I added the latter. I'm not sure if they are now both required because I haven't tried removing things until it stops working again.



That was the thing I missed, after a reboot now everything is fine!

thanks!
GuillaumeLortie
 
Posts: 4
Joined: Wed Sep 01, 2021 8:06 am


Return to Absolute Beginners Section

Who is online

Users browsing this forum: No registered users and 5 guests