Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2017 22:59:08 -0400 (EDT)
From:      DTD <doug@safeport.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   zpool question
Message-ID:  <alpine.BSF.2.00.1710232249280.59952@bucksport.safeport.com>

next in thread | raw e-mail | index | archive | help
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@safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1710232249280.59952>