osmc@osmc:~$ du -hs /mnt/*
771G /mnt/NAS
13G /mnt/NAS_OSMC
osmc@osmc:~$
This is odd nas_osmc is supposed to be 1TB
osmc@osmc:~$ du -hs /mnt/*
771G /mnt/NAS
13G /mnt/NAS_OSMC
osmc@osmc:~$
This is odd nas_osmc is supposed to be 1TB
NAS_OSMC is not mounted, it’s using local SD space (13GB of it)
I’m also wondering… is the NAS mountpoint empty.
sudo umount /mnt/NAS
du -hs /mnt/*
Double post sorry
osmc@osmc:~$ sudo umount /mnt/NAS
osmc@osmc:~$ du -hs /mnt/*
du: fts_read failed: /mnt/NAS/Music: No such file or directory
13G /mnt/NAS_OSMC
osmc@osmc:~$
I think you have other problems, before continuing, please do as @Tom_Doyle asked you, and post your logs.
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Thanks for your understanding. We hope that we can help you get up and running again shortly.
Ok sure will do it shortly just need to make sure debugging is checked as my son is watching the t.v. can’t use kodi GUI for now
For now, you can just do grab-logs -A and post the link. I think that will give us what we are looking for.
Looks like the sd card is full so can’t do anything
Unable to write temporary log to /var/tmp/uploadlog.txt
Failed
osmc@osmc:~$
I’d be careful about declaring a FS corruption as a result of one du error. The external FS had just been unmounted and maybe needed time to sync to the changed data structure. Clearly, if it persists with the fts_read failed error, then that increases the probability of it being a FS issue.
Run grab-logs -A -C
then
paste-log /boot/uploadlog.txt
Check what’s in the /mnt/NAS_OSMC directory @SuperLmnt. That’s what’s using your space. Maybe you can remove some of it? Or, you could change your fstab to mount to /mnt/NAS_OSMC1 (and create the /mnt/NAS_OSMC1) mountpoint. You could then copy everything from NAS_OSMC to NAS_OSMC1 and then clean up NAS_OSMC.
On /mnt/NAS_OSMC I don’t have anything important I can even wipe the drive. I deleted a file and got the logs
May 05 20:36:15 osmc systemd[1]: Mounting /mnt/NAS_OSMC...
May 05 20:36:15 osmc mount[513]: Retrying with upper case share name
May 05 20:36:15 osmc kernel: CIFS VFS: cifs_mount failed w/return code = -6
May 05 20:36:15 osmc mount[513]: mount error(6): No such device or address
I’m seeing this a lot, could you please advise on make and model of router, so I can look in to how it does its shares.
Tom.
Looks like the router doesn’t like EXT4
osmc@osmc:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 370520 0 370520 0% /dev
tmpfs 375512 14752 360760 4% /run
/dev/mmcblk0p2 15022000 1624712 12611164 12% /
tmpfs 375512 0 375512 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 375512 0 375512 0% /sys/fs/cgroup
//192.168.1.2/NAS/ 1026536408 789200504 237335904 77% /mnt/NAS
/dev/mmcblk0p1 244988 21004 223985 9% /boot
/dev/sda1 976726012 953878820 22847192 98% /media/My Passport
tmpfs 75104 0 75104 0% /run/user/1000
osmc@osmc:~$
Cleary NAS which is the NTFS partition of the HDD plugged in to that router IS being MOUNTED correctly I guess it doesn’t support ext4
If the router is running ddwrt, it should be fine with ext4. I don’t have ddwrt here to test with however. Does the router show the drive as mounted in the status pages?
There is a small problem (I doubt related to this issue) with your fstab. You have both systemd.automount and auto and noauto. Try removing the auto
//192.168.1.2/NAS/ /mnt/NAS/ cifs noauto,x-systemd.automount,guest,uid=1000,gid=1000,iocharset=utf8,rw,user 0 0
//192.168.1.2/EXT4/ /mnt/NAS_OSMC/ cifs noauto,x-systemd.automount,guest,uid=1000,gid=1000,iocharset=utf8,rw,user 0 0
Hi,
which is it fat32 or ext4?
The manual for your router, I can’t find anything for shares, so I’m taking an inspired guess. Please try the following:
sudo mkdir /mnt/NAS_OSMC2
sudo mount -t cifs //192.168.1.2/NAS/EXT4 /mnt/NAS_OSMC2/
whats the output of the above?
Well it shows available space correctly but it’s not MOUNTED on /mnt only the NTFS partition is accessible
After the mount command it asks for root password…i don’t know for what?
osmc@osmc:/mnt$ sudo mount -t cifs //192.168.1.2/NAS/EXT4 /mnt/NAS_OSMC2/
Password for root@//192.168.1.2/NAS/EXT4:
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Hi,
Can you please show a screenshot of this?
Thanks Tom.
edit:
Screenshot not required, something weird is happening at my end, I’m only getting half your post, till I either post a response or refresh. It looks like my inspired guess was wrong, sorry about that, Will have another think.
Tom.