Archive for month: November, 2019

[Fixed] Windows can’t access linux samba share.

08 Nov
November 8, 2019

Had to comment away the following in the config file:

user@ubuntu:~$ sudo vim /etc/samba/smb.conf

Comment out “map to guest = bad user” line.

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
#   map to guest = bad user

Restart samba service

user@ubuntu:~$ sudo /etc/init.d/smbd restart

Done.

[Fixed] ZFS zpool disappear after reboot [ubuntu]

08 Nov
November 8, 2019

After kernel upgrade, ZFS couldn’t start, but some process create some file in the mount point. So after that ZFS can’t start the process ever again. Here’s how to fix.

1. disable service zfs.target and restart.

user@ubuntu:~$ sudo systemctl disable zfs.target

2. after reboot delete or move data in mount point to another location.

3. enable service zfs.target and restart.

user@ubuntu:~$ sudo systemctl enable zfs.target

4. after reboot move data back.

© Copyright - HHGG It's 42