I have a few questions about ZFS and booting.
Is there a way to boot nas4free so it will skip loading the zfs pools?
If a zfs pool is not mounted or imported will 'zfs set mountpoint=/mnt pool/dataset' work? If not is there a way to change the mountpoint without importing the pool?
I could if there is no other option destroy the dataset, that one didn't have much on it of importance, so another question is can a dataset be destroyed before it's imported?
I imported a pool that I had previously on OS X. The mountpoint was set to /Volumes I wanted it to be on /mnt
the GUI wouldn't import the pool so I SSH'd in and and I changed the mountpoint from the command line. Everything stopped working on next reboot. Looking thru my terminal scroll back I see what stupid mistake I made. I did 'zfs set mountpoint=/ pool/dataset' so I'm guessing it mounted as root, which means no /bin /sbin no /*anything*... the machine doesn't boot all the way, it spits out an error that it is not able to find /etc/rc.d
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
System won't boot after mistake in changing mountpoint of dataset
-
Jyjon
- NewUser

- Posts: 14
- Joined: 17 Nov 2014 21:51
- Status: Offline
System won't boot after mistake in changing mountpoint of dataset
Supermicro X9SCM-F-O : Intel E3-1225v2 : 32GB ECC RAM : Dell Perc H200i flashed to Dell 6Gbps SAS HBA : Mirrored 2x 4TB 2.5" Seagate ST4000LM016 : Raidz1 3x6TB WL6000GSA6457
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: System won't boot after mistake in changing mountpoint of dataset
You could try a clean installation and afterwards import your pool(s)
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
-
Jyjon
- NewUser

- Posts: 14
- Joined: 17 Nov 2014 21:51
- Status: Offline
Re: System won't boot after mistake in changing mountpoint of dataset
That won't work, as soon as it is imported all commands go away. Which is why I need to know how to boot so zfs doesn't load and I guess I'm gonna have to destroy that dataset in the pool. Not sure if you can destroy a dataset with it not imported.
Supermicro X9SCM-F-O : Intel E3-1225v2 : 32GB ECC RAM : Dell Perc H200i flashed to Dell 6Gbps SAS HBA : Mirrored 2x 4TB 2.5" Seagate ST4000LM016 : Raidz1 3x6TB WL6000GSA6457
- Parkcomm
- Advanced User

- Posts: 384
- Joined: 21 Sep 2012 12:58
- Location: Australia
- Status: Offline
Re: System won't boot after mistake in changing mountpoint of dataset
Do NOT destroy (not yet anyways) this sounds recoverable.
The install disks do not automatically import the zpool so you should be able to boot.
Then
Reboot
The Recovery mount point name can be anything you want
PS. make sure mount in a directory below /mnt not the /mnt directory itself, thats just asking for trouble
The install disks do not automatically import the zpool so you should be able to boot.
Then
Code: Select all
zpool import -R /mnt/RecoveryMountPoint YourPoolName
zfs set mountpoint=/mnt/YourMountPoint pool/datasetThe Recovery mount point name can be anything you want
PS. make sure mount in a directory below /mnt not the /mnt directory itself, thats just asking for trouble
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom
-
Jyjon
- NewUser

- Posts: 14
- Joined: 17 Nov 2014 21:51
- Status: Offline
Re: System won't boot after mistake in changing mountpoint of dataset
Thank you
I read up on that in the oracle docs as well as setting an altroot.
booted to the install USB stick and it worked.
Got it fixed, thank you.
I read up on that in the oracle docs as well as setting an altroot.
booted to the install USB stick and it worked.
Got it fixed, thank you.
Supermicro X9SCM-F-O : Intel E3-1225v2 : 32GB ECC RAM : Dell Perc H200i flashed to Dell 6Gbps SAS HBA : Mirrored 2x 4TB 2.5" Seagate ST4000LM016 : Raidz1 3x6TB WL6000GSA6457
- Parkcomm
- Advanced User

- Posts: 384
- Joined: 21 Sep 2012 12:58
- Location: Australia
- Status: Offline
Re: System won't boot after mistake in changing mountpoint of dataset
My pleasure
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom