You're mixing a mkdir operation with a zfs create operation and only
the zfs create operation creates a file system that is mounted, which
is why df -h doesn't show dir2 as mounted. dir2 is just a directory,
not a file system.
ZFS does two things with a default zfs create operation:
o creates th
Thanks Richard for the prompt response.
But second time same commands creates dir3 too.
I mean to say, as I said earlier, first time it gives the mounting error and
does not create dir3
*# zfs create -p tank/dir1/dir2/dir3*
*cannot mount '/tank/dir1/dir2': directory is not empty*
*#*
but if I i
comment below...
On Jan 24, 2011, at 1:58 PM, Rahul Deb wrote:
> I have a pool "tank" and "dir1" is the filesystem on that pool. "zfs list"
> and "df -h" both shows "tank/dir1" mounted.
>
> -
> # zfs list
> tank 124K 228G
I have a pool "tank" and "dir1" is the filesystem on that pool. "zfs list"
and "df -h" both shows "tank/dir1" mounted.
*-*
*# zfs list*
*tank 124K 228G32K /tank*
*tank/dir1 31K 228G31K /tank/dir1*
*#*
*