- Code: Select all
root@fvdwsl-base:/ # debugfs -R "ncheck 22428" /dev/sda5
debugfs 1.43.4 (31-Jan-2017)
Inode Pathname
22428 /usr/samba/private/msg.sock
root@fvdwsl-base:/ # debugfs -R "ncheck 22428" /dev/sda5
debugfs 1.43.4 (31-Jan-2017)
Inode Pathname
22428 /usr/samba/private/msg.sock
Need to test if by moving it in tmpfs that solves the issue.
mount -o remount,rw,noatime /
However you can fix the noatime option on the fw system partition with this command (at each booting)
- Code: Select all
mount -o remount,rw,noatime /
it is not worth it because I will send you the patch tomorrow. So just run manually the command.serram wrote:Do you mean using a boot job?
Indeed from the web interface, you can not do it.serram wrote:I can't see an option for disable it. I've seen that the new NAS disks like WD Red or IronWolf Seagate are designed for enviroments of 24/7 access. So how could I change that setting for the disks be always spininng?
killall noflushd
plugout download 6523
tar -xf /tmp/fvdw-sl-18-x-fix-noatime-samba-21sep2020.tgz -C /
mount
ls -al /usr/samba/private/
diskmon 5
killall diskmon
root@fvdwsl-base:/ # mount
/dev/sda2 on / type ext3 (rw,noatime,stripe=4,data=ordered)
none on /proc type proc (rw,noatime)
none on /sys type sysfs (rw,noatime)
none on /dev/pts type devpts (rw,noatime,mode=600,ptmxmode=000)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,noatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,noatime)
/dev/sda8 on /share/1000 type ext3 (rw,noatime,data=ordered)
/dev/sda7 on /lacie-boot type ext3 (rw,relatime,data=ordered)
root@fvdwsl-base:/ # ls -al /usr/samba/private/
total 0
drwxr-xr-x 3 root root 200 2020-09-22 20:10 .
drwxr-xr-x 3 root root 60 2020-09-22 20:09 ..
lrwxrwxrwx 1 root root 33 2020-09-22 20:09 hkcr.ldb -> /rw_fs/usr/samba/private/hkcr.ldb
lrwxrwxrwx 1 root root 33 2020-09-22 20:09 hkcu.ldb -> /rw_fs/usr/samba/private/hkcu.ldb
lrwxrwxrwx 1 root root 33 2020-09-22 20:09 hklm.ldb -> /rw_fs/usr/samba/private/hklm.ldb
lrwxrwxrwx 1 root root 32 2020-09-22 20:09 hku.ldb -> /rw_fs/usr/samba/private/hku.ldb
drwx------ 2 root root 300 2020-09-22 20:10 msg.sock
lrwxrwxrwx 1 root root 36 2020-09-22 20:09 secrets.ldb -> /rw_fs/usr/samba/private/secrets.ldb
lrwxrwxrwx 1 root root 36 2020-09-22 20:09 secrets.tdb -> /rw_fs/usr/samba/private/secrets.tdb
lrwxrwxrwx 1 root root 34 2020-09-22 20:09 smbpasswd -> /rw_fs/usr/samba/private/smbpasswd
And also Mijzelf, without his suggestions and his tool I do not think I would be able to detect the noatime issueserram wrote:Anyway, thanks for your work.
Return to Lacie cloudbox (white casing)
Users browsing this forum: No registered users and 4 guests