This function only works propper in smb1. In SMB2 and SMB3 the login process takes lot more time and sometimes it doesn't fit in required 5seconds.
How to change this in client to negotiate smb2 insted smb3 ?
This stopped working after last samba client upgrade whitch did requirement not to use smb1 whitch was default allowed in Synology NAS. So maybe You should allow what version of samba to use when mounting and not to require smb3?
Why don't You check storage avability by ping? It's no use to relogin every time to check if its avaible.
I did:
time smbclient //192.168.18.70/<Share> -d 0 -m smb3 -U Guest -N -c 'echo 1 0'
and this command and the results are:
real 0m3.636s
user 0m0.063s
sys 0m0.008s
So think this...
So the share is mounted right. I could do whatever I want but GUI says that storage is offline. If I don't use a plugin-storage-samba and mount directory by hand (or by fstab) in /mnt and add that as a storage all the things are working as I expected.
Where is the code that is checking...
> the mount command only indicates that this share was mounted not that it is available.
That was the purpose of using ls and touch commands to check that in first post.
Well this storage (but has other samba share) is used also for second server as a backup storage (the server is older version of proxmox) and there is no problem like this. I use cifs plugin there also.
smbclient //ipaddress/input-vps2 -d 0 -m smb3 -U vps2_rw -c 'echo 1 0'
Enter vps2_rw's...
I cannot use samba storage from plugin. After clicking contents there is a message "storage 'backup-input' is not online (500)".
But from console:
$ mount | grep /mnt/pve --count
2
I can enter to this dirs and do commands like ls, touch.
As You can see in screenshot there is Enabled = NO :(...
Hey guys please don't do offtopic. The bottleneck was not in tar.
Please go back to my two question are:
1. Is this possible to do compressed backup without tar? Is tar really needed this days?
(If You got 1MB file to recover and 1TB backup file, this is really frustrating to unpack and then...
Ok this was my mistake. Tar is not bottleneck. I checked iotop values not top values.
So my two question are:
1. Is this possible to do compressed backup without tar? Is tar really needed this days?
2. Is it possible to do some statistics by ZFS dataset or per LXC container/KVM machine?
I use lzo. Even using lzo all files are tared and then packed by lzo.
The backup target is not ZFS. It's a NAS with ext4 mounted in directory using samba.
It's all about time.
The time server spent on doing backups.
The time we spent on recovering files.
So my three question:
1. Is this possible to do compressed backup without tar? Is tar really needed this days?
2. I think that tar is my bottleneck when doing backups (it uses only one core of...
I write down this in first post - 150TBW.
"It certainly is starting to get old, but if you're not seeing remapped/reallocated cells, it's not yet a problem. But drives are relatively inexpensive, so if you're concerned, trash it or use it for something less critical."
This is answer like "do...
Hellou this is Samsung 850 PRO smarty table.
```
$ smartctl -a /dev/sdh | grep -E 'Wear_Leveling_Count'\|'LBAs'\|'Model'\|'Number'\|'Firmware'
Model Family: Samsung based SSDs
Device Model: Samsung SSD 850 PRO 128GB
Serial Number: S24ZNXAH21XXXXX
Firmware Version: EXM02B6Q
177...