Last active
September 30, 2022 21:37
-
-
Save Zobber/ffbe5346afcf389f3cf92fb253708908 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Check information about the AD | |
net ads info join status workgroup gpo dns user | |
## Commands for to verify the conection established with AD | |
1) sqlite3 /data/freenas-v1.db "UPDATE directoryservice_activedirectory SET ad_enable=1" | |
2) service ix-hostname start | |
3) service ix-kerberos start | |
4) service ix-kinit start | |
5) service ix-pre-samba start | |
6) net -k -d 7 ads join | |
## Sync ntp server | |
service ntpd stop | |
ntpdate <name or ip of the server> | |
service ntpd start | |
## test the connection | |
wbinfo -t | |
## Show user and groupd from AD | |
wbinfo -g | |
wbinfo -u | |
## Test AD Connection | |
midclt call activedirectory.get_state | |
midclt call activedirectory.domain_info | jq | |
## Scrub Task | |
zpool status | |
zpool scrub -s <Poolname> from the command line will stop | |
## Set boot environment via console | |
beadm list | |
beadm activate <release> | |
## Analyze and check bad sectors in hdd | |
http://bytesandbolts.com/fixing-freenas-error-currently-unreadable-pending-sectors/ | |
https://dekoder.wordpress.com/2014/10/08/fixing-freenas-currently-unreadable-pending-sectors-error/ | |
https://www.ixsystems.com/community/threads/is-this-a-bad-sign-smartd-1-currently-unreadable-pending-sectors.9824/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
nice list.
Maybe you like those too 🙈