NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Bent82's avatar
Bent82
Guide
Jan 19, 2016
Solved

Deleting old home directories

A few years ago I upgraded from an old NV to a 314, OS 6.4.1.  I have gotten used to many of the differences, but there is something I still can't figure out how to do.  I use AD for users, and every...
  • kohdee's avatar
    Jan 26, 2016

    Hi everyone.

     

    You can't just delete those old home folders because they're btrfs subvolumes.


    Though this is not supported by NETGEAR Support, you can remove old home folders with:

    root@rn314:~# btrfs subvolume list /data | grep home
    ID 257 gen 516 top level 5 path home
    ID 309 gen 133 top level 257 path home/admin
    ID 330 gen 516 top level 257 path home/kohdee

    root@rn314:~# btrfs subvolume delete /data/home/kohdee
    Delete subvolume (no-commit): '/data/home/kohdee'
    root@rn314:~# btrfs subvolume list /data | grep home
    ID 257 gen 516 top level 5 path home
    ID 309 gen 133 top level 257 path home/admin

     

     

    By using SMB to connect to the ReadyNAS as admin, you're exposed to the btrfs subvolumes, but you can't delete; however, this lets you delete files and folders from private home shares to regain your missing space from old home folders. 

    The subvolumes being there empty hurt nobody. Once you delete the data, the only benefit you get out of deleting the subvolume is for asthetics. 

    Your subvolume list might be different because you were on a domain. The difference would look like btrfs subvolume delete /data/DOMAIN/USERNAME

     

    Doing this is at your own risk and is not supported by NETGEAR Support. 

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More