solarisguy
Guru
- Joined
- Apr 4, 2014
- Messages
- 1,125
I'm building a new x64 system with 9.2.1.3, for home use.
I do not like the idea of .system files competing with my real storage. Also if anything goes wrong with my real storage, it would be nice to be able go to .system/syslog/log/ and not be left in the dark.
My Intel server motherboard only has 6 SATA ports and all are to be taken by my RAID-Z2. Since I am booting from USB flash memory, my first thought was to use another USB flash memory. Decided against it. But just for testing purposes, played with a SATA drive in USB enclosure.
It worked with the following limitations:
&&&& Added on 2014-05-02: I made a common mistake. Today I know that ZFS tried to mount on / and I should have told it to mount on /mnt
I do not like the idea of .system files competing with my real storage. Also if anything goes wrong with my real storage, it would be nice to be able go to .system/syslog/log/ and not be left in the dark.
My Intel server motherboard only has 6 SATA ports and all are to be taken by my RAID-Z2. Since I am booting from USB flash memory, my first thought was to use another USB flash memory. Decided against it. But just for testing purposes, played with a SATA drive in USB enclosure.
It worked with the following limitations:
- The system would not complete a reboot, possibly after shutting down the USB services FreeNAS still tried to write something to .system residing on USB.
- To simulate a failure, I have unplugged the USB cable. FreeNAS noticed it and, as expected, Samba stopped working. Plugging the USB cable back was a no-op (however, that could be specific to my hardware). I could not initiate a reboot from the GUI, also mistakenly I did exit the console and the console menu became unresponsive (it looked like it was trying to read or write GUI's IP address from .system). From my SSH session, I was still able to execute shutdown -r now, but it looks like I should have tried reboot -l instead. The reset button came to my rescue. And the system would not complete the boot sequence... Tried another USB memory with fresh 9.2.1.3. The same... Power button helped. I guess something needs to be reset within the USB controller (likely such a behaviour is specific to my hardware).
- I did not try the GUI and did zpool import on a command line. However, to get FreeNAS writing to it again required a reboot (messing with GUI did nothing). On import, there were the following errors &&&&
Code:[root@freenas] ~# zpool import Log cannot mount '/Log': failed to create mountpoint cannot mount '/Log/.system': failed to create mountpoint cannot mount '/Log/.system/cores': failed to create mountpoint cannot mount '/Log/.system/samba4': failed to create mountpoint cannot mount '/Log/.system/syslog': failed to create mountpoint [root@freenas] ~#
&&&& Added on 2014-05-02: I made a common mistake. Today I know that ZFS tried to mount on / and I should have told it to mount on /mnt