Advice/Help/Assistance requested.
I want to say that I've had issues with zfs file systems not mounting >automatically if the mount point contained files.
In article <ts8g0u$f58$1@tncsrv09.home.tnetconsulting.net>,
Grant Taylor <gtaylor@tnetconsulting.net> wrote:
I want to say that I've had issues with zfs file systems not mounting
automatically if the mount point contained files.
Absolutely.
My WAG is the OP created his eve user before creating the eve's home directory filesystem.
useradd(1M) on the Solaris 11.4 supported branch has options to do
the right thing as does illumos useradd(8): <URL:https://illumos.org/man/8/useradd>
John
groenveld@acm.org
/home/eve has files in it and I cannot unmount it.
Would you suggest forcing an unmount?
John, to answer your question:
root@hal:~# zfs list -r
NAME USED AVAIL REFER MOUNTPOINT
rpool/home/eve 1.94G 12.4G 1.94G /home/eve
/home/eve has files in it and I cannot unmount it. Would you suggest
forcing an unmount?
In article <1742eb7448755709$2$3548892$3aa16cbb@news.newsdemon.com>,
Chuck <cc.63dw@gmail.com> wrote:
John, to answer your question:
root@hal:~# zfs list -r
NAME USED AVAIL REFER MOUNTPOINT
[snipped]
rpool/home/eve 1.94G 12.4G 1.94G /home/eve
[snipped]
/home/eve has files in it and I cannot unmount it. Would you suggest
forcing an unmount?
# zfs umount -f rpool/home/eve
# find /home/eve
John
groenveld@acm.org
On 2/11/23 5:14 PM, Chuck wrote:"zfs unmount rpool/home/eve" reports that /home/eve is not mounted and
/home/eve has files in it and I cannot unmount it.
Why can't you unmount /home/eve? Is it because Eve is using the files currently? Or is it that you've tried an unmount and it errored out for some reason, possibly open files?
Point taken.Would you suggest forcing an unmount?
I always avoid /forced/ unmounting if at all possible.
Why are you wanting to unmount it? To see if there are files in the underlying mount point?There is no bind option in Solaris umount.
I am more familiar with Linux than I am Solaris, so I'll say this: On Linux, I would do a bind-mount of the /home directory on a different / additional location (oft /mnt/bla) and then look therein (/mnt/bla/eve)
to access the underlying mount point without needing to unmount
anything. -- I don't know how to do similar in Solaris.
"zfs unmount rpool/home/eve" reports that /home/eve is not mounted and
"zfs get all rpool/home/eve" confirms this.
Alice, Bob, and Eve are test users and root is the only user signed on.
(I thought those names better than user[123].)
Point taken.
There is no bind option in Solaris umount.
What is confusing me is that there are files in /home/eve but zfs
considers /home/eve unmounted. Whence those files?
But you have given me an idea.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (0 / 16) |
Uptime: | 129:45:24 |
Calls: | 6,663 |
Calls today: | 1 |
Files: | 12,212 |
Messages: | 5,335,299 |