Mounting storage from command line.

Status
Not open for further replies.

Plato

Contributor
Joined
Mar 24, 2016
Messages
101
Well, I'm in the middle of moving my files from my old ( and degraded ) pool to my new pool. I don't want to halt the process..

But somehow web UI is crashed and now I need to mount my new pool storage to a jail..

I could access jail via command line but I didn't yet mount the new storage to jail from webUI. Is there a way to do it from command line?
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Well, there is, but if your GUI is dead it probably indicates a bunch of processes died I presume due to swap being in use on a failed drive.

And that would mean the system is in an undefined state.

lookup up the zpool import command if you want to proceed. The key is to mount it in /mnt

I'd wait for your data to copy and then restart personally.
 

Plato

Contributor
Joined
Mar 24, 2016
Messages
101
Actually I can access my pool data from FreeNAS ( the data is already mounted in /mnt ) , but I cannot access it from within jail. Are you sure it's with this command?
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Actually I can access my pool data from FreeNAS ( the data is already mounted in /mnt ) , but I cannot access it from within jail. Are you sure it's with this command?

Sorry. I don't know enough about jails to help.

And no, if your pool is already mounted, then zpool import is not the right command.
 
Status
Not open for further replies.
Top