zpool question

DTD doug at safeport.com
Tue Oct 24 02:59:16 UTC 2017


I have a test system disk is as follows

Filesystem      Size    Used   Avail Capacity  Mounted on
/dev/ada0s1a    2.9G    655M    2.0G    24%    /
devfs           1.0K    1.0K      0B   100%    /dev
/dev/ada0s1d    9.7G    2.3G    6.6G    26%    /var
/dev/ada0s1e     19G    4.5G     13G    25%    /usr
/dev/ada0s1f    415G     27G    354G     7%    /home

I would like to add zfs and define a pool to be /dev/ada0s1f. Possible? It seems 
if I allow root ssh (no console/monitor/keyboard), edit fstab to remove 
/dev/ada0s1f and reboot the following might work:

   zpool create zdata /dev/ada0s1f

and that would hopefully leave the data there. Or does partition need to be 
empty? The goal here is just to make something with a minimum of change I can 
use to test and learn on.

_____
Douglas Denault
http://www.safeport.com
doug at safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277


More information about the freebsd-questions mailing list