hi to everyone, first of all this is my only creation of a ZFS filesystem on a disk, i'l get some clues but before do it..ask the experts
the steps:
-follow this steps(single disk non-redundant) Chapter 19. The Z File System (ZFS)
now, I want to set a mountpoint for zroot2/home , and after figthing for a while with commands like this:
and get this:
I'think...the zfs volume that create is in /dev/zvol/zroot2/home without format, so, do I have to format this volume
to UFS? to set the mountpoint correctly?
ps:
if I'folow this steps I'can set the mount point:
but when I'want to set the size of zroot/home :
I'll get:
and cannot create files o folders with a normal user,only with root
this is my actual
and
the steps:
-follow this steps(single disk non-redundant) Chapter 19. The Z File System (ZFS)
Code:
dd if=/dev/zero of=/dev/ada0 bs=4M status="progress"
zpool create zroot2 /dev/ada0
zfs create -V 380G zroot2/home
now, I want to set a mountpoint for zroot2/home , and after figthing for a while with commands like this:
Code:
zfs set mountpoint=zroot2/home zroot2/home
Code:
cannot set property for 'zroot2/home': 'mountpoint' does not apply to datasets of this type
I'think...the zfs volume that create is in /dev/zvol/zroot2/home without format, so, do I have to format this volume
to UFS? to set the mountpoint correctly?
ps:
if I'folow this steps I'can set the mount point:
Code:
zfs create -o mountpoint=/zroot2/home zroot2/home
Code:
zfs set volsize=430G zroot2/home
Code:
cannot set property for 'zroot2/home': 'volsize' does not apply to datasets of this type
and cannot create files o folders with a normal user,only with root
this is my actual
zfs list
Code:
NAME USED AVAIL REFER MOUNTPOINT
zroot 185G 261G 88K /zroot
zroot/ROOT 9.67G 261G 88K none
zroot/ROOT/default 9.67G 261G 9.67G /
zroot/data 103G 295G 68.8G -
zroot/tmp 320K 261G 320K /tmp
zroot/usr 71.4G 261G 88K /usr
zroot/usr/home 67.7G 261G 67.7G /usr/home
zroot/usr/ports 3.04G 261G 3.04G /usr/ports
zroot/usr/src 711M 261G 711M /usr/src
zroot/var 668M 261G 88K /var
zroot/var/audit 88K 261G 88K /var/audit
zroot/var/crash 88K 261G 88K /var/crash
zroot/var/log 516K 261G 516K /var/log
zroot/var/mail 112K 261G 112K /var/mail
zroot/var/tmp 667M 261G 667M /var/tmp
zroot2 764K 449G 88K /zroot2
zroot2/home 88K 449G 88K /zroot2/home
and
zpool list
Code:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zroot 460G 151G 309G - - 7% 32% 1.00x ONLINE -
zroot2 464G 1004K 464G - - 0% 0% 1.00x ONLINE -