Going back and reading your OP, you need to not mount your user's home directory over /root. (root should certainly have it's own home directory and share your regular user's home directory.) Comment that out of /etc/fstab, reboot, log in as root and your home directory should not be used, so you can unmount it (I assume that both rpool/USERDATA/alex_b7ww6i and homepool/USERDATA/alex_b7ww6i are not mounted to /home/alex at the same time as shown.) Now you can mount homepool (assuming that is the new one) up to your /home/alex mount point. The magic is doing these edits to /etc/fstab without being able to unmount the file systems and test outside of rebooting. If it's wrong the system might not boot.
On Mon, Dec 4, 2023 at 9:10 PM Michael L <[email protected]> wrote: > Can I ask what you mean by "do the magic" to /etc/fstab? > > On Mon, Dec 4, 2023 at 8:59 PM Kent Perrier <[email protected]> > wrote: > >> That won't work if he is logged in as himself. Log in as root and do the >> magic to /etc/fstab. Or do the magic to /etc/fstab, reboot and hope it's >> right! :) >> >> Kent >> >> >> On Mon, Dec 4, 2023 at 3:18 PM Tilghman Lesher <[email protected]> >> wrote: >> >>> 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 >>> . >>> >> -- >> -- >> 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/CA%2B6_KC9pZux2wBkYqn71f2oQ-TjnMmgWHb_13%3DjDxKYhS%3DBZLg%40mail.gmail.com >> <https://groups.google.com/d/msgid/nlug-talk/CA%2B6_KC9pZux2wBkYqn71f2oQ-TjnMmgWHb_13%3DjDxKYhS%3DBZLg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > -- > 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/CALdmzXbL-88F_90Z-uVu6m_9Zc%3D9ZXNi68WyByR%3D4HPfs4J%3D7Q%40mail.gmail.com > <https://groups.google.com/d/msgid/nlug-talk/CALdmzXbL-88F_90Z-uVu6m_9Zc%3D9ZXNi68WyByR%3D4HPfs4J%3D7Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- 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/CA%2B6_KC_O0RJCu7_aLPMKKTPk1PmqRZ51jyDq9yL1u7LRMps_Sg%40mail.gmail.com.
