Your current PWD is your home directory, which is why you can't unmount it.

Change your working directory to '/', and try again.

On Sun, Dec 3, 2023 at 2:14 PM Alex Smith (K4RNT)
<[email protected]> wrote:
>
> Hey everyone,
>
> I'm running Xubuntu 22.04.3 Jammy, and have some questions for the ZFS 
> experts of the list.
>
> I have several ZFS pools in my system, and have a ZFS pool for a single NVME 
> SSD, which I have set up for my home directories. The /home directory was 
> originally under /, and I have successfully sent the data over to the new 
> pool, but I am having difficulty with the old filesystem, which is still 
> mounted for /home/alex, and it reports that it's busy.
>
> Can I set up the old filesystem to not be mounted automatically on future 
> boots? Do I have to destroy the filesystem, or can I keep the old data. I 
> have snapshots as well.
>
> Here are my filesystems.
>>
>>
>> homepool                                           441G   458G       24K  
>> /homepool
>> homepool/USERDATA                                 59.5G   458G       24K  
>> /homepool/USERDATA
>> homepool/USERDATA/alex_b7ww6i                     59.5G   458G     59.5G  
>> /home/alex
>>
>> homepool/home                                      382G   458G      382G  
>> /home
>>
>> rpool/USERDATA                                    45.7G  83.8G       96K  /
>>
>> rpool/USERDATA/alex_b7ww6i                        45.4G  83.8G     45.4G  
>> /home/alex
>> rpool/USERDATA/root_b7ww6i                         383M  83.8G      383M  
>> /root
>
>
>> alex@wenatchee:~$ sudo zfs unmount rpool/USERDATA/alex_b7ww6i
>> cannot unmount '/home/alex': pool or dataset is busy
>
>
> My problem is that there are two filesystems with the same mountpoint. I 
> don't know how to resolve this.
>
> Thanks for all the help in advance!
>
> " 'With the first link, the chain is forged. The first speech censured, the 
> first thought forbidden, the first freedom denied, chains us all 
> irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and 
> warning... The first time any man's freedom is trodden on, we’re all 
> damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG 
> episode "The Drumhead"
> - Alex Smith (K4RNT)
> - Lacey, Washington (Olympia, WA metropolitan area)
>
> --
> --
> You received this message because you are subscribed to the Google Groups 
> "NLUG" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/nlug-talk/CAMaOCTLWHasjXY3kXiZWrwtNo2JAQ%2BoGo1H7OexA7pWQhiS8YA%40mail.gmail.com.



-- 
Tilghman

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAHPkZcWs1%2BsWiXL3%2BGU2StTUBfb%2BuoDP5703aRkqsaWp6OuEqA%40mail.gmail.com.

Reply via email to