On 04/30/2015 05:03 PM, [email protected] wrote:
Hello,

for data synchronize reasons I need to have a home directory under /home/<username> 
which needs to be a real or mounted path (must not contain symbolic links). But / is only a 
small RAM disk. How can I use space from the local HDD for /home/<username>? Of cause 
this is possible with a large file and lofi, but I do not like to use this for performance 
reasons. Is it somehow possible through ZFS to mount something on /home?

Carsten

First of all you're going to be fighting against SmartOS to have it re-add <username> to /etc/passwd or getting it to configure LDAP on each reboot.

That said, you could easily do:
"zfs create -o mountpoint=/home zones/home && zfs create zones/home/<username>"

If this is a single machine for home use and you're staying aware that you're using SmartOS in a way that is inconsistent with it's design, that's one thing. If you're planning on doing this on a whole fleet of production machines that run your business I would first rethink your design and try to find a way more in keeping with the way SmartOS was designed.

-Nahum


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to