Napp-it NFS All Enabled, which isn't true

Brentsj

n00b
Joined
Sep 12, 2012
Messages
7
Hello,

I'm running an all in one with Solaris 11.1 Text install, napp-it release nightly Nov.03.2013.

All my ZFS Filesystems show 'on' under NFS. When I click on, set to off, it doesn't change. I really briefly see flashed
"sudo unlink: command not found"

Every one of my ZFS in the pool show as enabled, I know some of them never were.

Any ideas?
I can't find a way to look at the logs of what happened, and the bottom of the page scrolls by way to fast to read.

This has worked for a long time, so when asked what did I change:
Folder-ACL was set to 777 for each of them. I reset ACL to modify.

I also tried to add local users and delete the everyone@ in SMB Share.

Any help will be appreciated.

Edit: I used showmount -e at command line, and it shows 4 folders shared with NFS. Napp-it shows 8.

Thanks,

-Brent
 
Last edited:
Solaris 11.1 is not my main platform (currently OmniOS) but I fix bugs when they are discovered. At the moment I am not aware of a problem so I would try

- reload ZFS filesystem infos ( menu zfs filesystem - delete zfs buffer)
- or reboot
- or stop + start NFS
 
Thanks Gea for replying. I started on Solaris 11, so pool version is 31. I don't think I can change platforms without moving all my data off the pool and rebuilding it.

I reloaded the ZFS filesystem, rebooted, and even exported the pool, wiped solaris OS and re-installed it new. It must be something with the pool itself, but... I got no idea.

I'm hoping somebody here ran into this.

-Brent
 
I havre tried to reproduce your problem on Solaris 11.1
(set nfs on/off on different ZFS filesystems ) with napp-it 0.9d2 and 0.9e1
but both worked for me.
 
Thanks Gea for ruling out Napp-it. I didn't expect it to be the issue.

Is there any way I can see the history of what flashes at the bottom of the page when commands are run? If I can see what's happening I may be able to do some google searches. It just flashes by so fast, I have no chance of seeing the commands run or the results/error messages.
 
Thanks Gea for ruling out Napp-it. I didn't expect it to be the issue.

Is there any way I can see the history of what flashes at the bottom of the page when commands are run? If I can see what's happening I may be able to do some google searches. It just flashes by so fast, I have no chance of seeing the commands run or the results/error messages.

With the monitor extension (request evalkey at http://www.napp-it.org/extensions/evaluate_en.html) you can activate edit in the upper right topmenu where you find a log menu for a full log.
 
That's what the edit button was for.... Nice.

I'm seeing two things:
(Logged in as admin in napp-it)

When trying to turn off a NFS that shows as on in the ZFS File Systems:
briefly flashes:
sudo unlink: command not found

and log shows:
exe (acllib 1846): smbadm show
unknown subcommand (show)



When trying to delete a user:username from the ACL on SMB shares I see:
exe (acllib 1846): smbadm show
unknown subcommand (show)

it also briefly flashes
chmod WARNING: can't access poolname/foldername/.zfs/shares/foldername
 
Solaris 11.1 is in some cases different in commands and subcommands. Sometimes I have the impression this is intentionally done to have Oracle manuals only be correct with Solaris 11.1

If the difference is important, i add special routines to handle the difference but not always so with Solaris 11.1 you may find minor problems due to this behaviour (nearly all of my users are not on Solaris but on OI/OmniOS so this is mainly a matter of my time). What you or others can do is look at the /root/web-gui/data/napp-it/zfsos/_lib/zfslib.pl file with the actions - especially the functions ask_property and change_property. napp-it scripts are plain text and documented and everyone is welcome to add and suggest modifications to improve Solaris 11.1 support.

The .zfs/shares/.. files are Solaris share control files for SMB.
This message mostly occur if the ZFS buffer is not up to date (menu zfs filesystems - delete zfs buffer) or the smb service is hanging (service restart)

I will check the "delete User ACL" message on Solaris 11.1 as well
 
Last edited:
Back
Top