If you have any sharesmb property set on you ZFS file systems
turn them off, if you have any CIFS shares defined with sharemgr
remove them then reboot the system and try again.
Afshin
Harry Putnam wrote:
Harry Putnam <[email protected]> writes:
Ross Smith <[email protected]> writes:
The first thing I'd check is permissions. Search the list for "chmod
A=everyone", that's something I recommend as a starting step with
cifs.
Thanks, I'm going to try that... however I started completely wiping
the slate clean just a little bit ago so will no start all over with
setting up shares.
Fortunately I haven't used the shares at all far as writing data
there.
That isn't working out so swell either.
A filesystem I created with `zfs create' on rpool will not be removed.
Originally I did:
zfs create rpool/zbk
Then created a main subdirectory and sever sub sub directoies
All with zfs create rpool/zbk/whatever
Then I moved the mount point
zfs set mountpoint=/ rpool/zbk (I think that was it)
Now attemtping to get shed of this filesystem, I tried every syntax
known to man...
zfs destroy rpool/zbk
cannot open 'rpool/zbk': dataset does not exist
zfs destroy zbk
zfs destroy zbk
cannot open 'zbk': dataset does not exist
zfs destroy /zbk
cannot open '/zbk': invalid dataset name
# rm -rf /zbk
rm: cannot remove directory `/zbk/hosts/harvey': Device busy
rm: cannot remove directory `/zbk/hosts/ansil': Device busy
rm: cannot remove directory `/zbk/hosts/reader': Device busy
rm: cannot remove directory `/zbk/hosts/bjp': Device busy
rm: cannot remove directory `/zbk/hosts/mob1': Device busy
I saw that busy part and just disbled smb/server
svdadm disable smb/server
And then rebooted.
But now after reboot when those shares cannot possibly be busy
I still get all the same output as shown above.
ls -ld /zbk
drwxr-xr-x 3 reader wheel 3 2009-03-22 17:44 /zbk
So what to do with this thing.
Its apparently preventing me creating a similar filesystem
zfs create rpool/z1
cannot create 'rpool/z1': dataset already exists
ls /z1
ls: cannot access /z1: No such file or directory
ls /rpool/z1
ls: cannot access /rpool/z1: No such file or directory
Not even visble under rpool at all
ls /rpool
boot etc
Or / trimmed output for brevity.. but z1 is not there.
zfs list -r rpool shows:
[...]
rpool/swap 1.53G 448G 1.53G -
rpool/z1 125K 448G 21K /zbk
rpool/z1/hosts 104K 448G 24K /zbk/hosts
rpool/z1/hosts/ansil 20K 448G 20K /zbk/hosts/ansil
rpool/z1/hosts/bjp 20K 448G 20K /zbk/hosts/bjp
rpool/z1/hosts/harvey 20K 448G 20K /zbk/hosts/harvey
rpool/z1/hosts/mob1 20K 448G 20K /zbk/hosts/mob1
So somehow I've diddled around and got a nice mess going here.
It appears I've mounted z1 on zbk
And cannot get rid of either.
It alwasys hows that one or another device is busy:
zfs destroy -r rpool/z1
cannot unmount '/zbk/hosts/harvey': Device busy
No other client machines are even running.
zfs destroy -r rpool/z1
cannot unmount '/zbk/hosts/bjp': Device busy
what a mess... my bungling has created a monster.
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss