Gary Gendel
2010-Sep-19 12:42 UTC
[zfs-discuss] Howto reclaim space under legacy mountpoint?
I moved my home directories to a new disk and then mounted the disk using a legacy mount point over /export/home. Here is the output of the zfs list: NAME USED AVAIL REFER MOUNTPOINT rpool 55.8G 11.1G 83K /rpool rpool/ROOT 21.1G 11.1G 19K legacy rpool/ROOT/snv-134 21.1G 11.1G 14.3G / rpool/dump 1.97G 11.1G 1.97G - rpool/export 30.8G 11.1G 23K /export rpool/export/home 30.8G 11.1G 29.3G legacy rpool/swap 1.97G 12.9G 144M - users 32.8G 881G 31.1G /export/home The question is how to remove the files from the orginal rpool/export/home (non mount point) rpool? I a bit nervous to do a: zfs destroy rpool/export/home Is the the correct and safe methodology? Thanks, Gary -- This message posted from opensolaris.org
Edho P Arief
2010-Sep-19 13:03 UTC
[zfs-discuss] Howto reclaim space under legacy mountpoint?
On Sun, Sep 19, 2010 at 7:42 PM, Gary Gendel <gary at genashor.com> wrote:> I moved my home directories to a new disk and then mounted the disk using a legacy mount point over /export/home. ?Here is the output of the zfs list: > > NAME ? ? ? ? ? ? ? ? USED ?AVAIL ?REFER ?MOUNTPOINT > rpool ? ? ? ? ? ? ? 55.8G ?11.1G ? ?83K ?/rpool > rpool/ROOT ? ? ? ? ?21.1G ?11.1G ? ?19K ?legacy > rpool/ROOT/snv-134 ?21.1G ?11.1G ?14.3G ?/ > rpool/dump ? ? ? ? ?1.97G ?11.1G ?1.97G ?- > rpool/export ? ? ? ?30.8G ?11.1G ? ?23K ?/export > rpool/export/home ? 30.8G ?11.1G ?29.3G ?legacy > rpool/swap ? ? ? ? ?1.97G ?12.9G ? 144M ?- > users ? ? ? ? ? ? ? 32.8G ? 881G ?31.1G ?/export/home > > The question is how to remove the files from the orginal rpool/export/home (non mount point) rpool? ?I a bit nervous to do a: >set mountpoint to somewhere and decide for yourself. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org