Page 1 of 1

Big problem after connect External USB HDD NTFS

PostPosted: Wed Dec 16, 2015 3:20 pm
by Acquarious81
Hi,

i try to connect a usb external hdd formatted in htfs, but after that the folder /share/1000 is change from my sd8 partition to external hdd...

i try to remove the external hdd with safe remove in fvdwls site page, but after that the /share/1000/ folder is empty...

if i try "mount /dev/sda8 /share/1000/" via ssh result
"mount: /opt/lib/libblkid.so.1: no version information available (required by mount)
mount: /opt/lib/libblkid.so.1: no version information available (required by mount)
mount: /opt/lib/libblkid.so.1: no version information available (required by mount)
mount: relocation error: mount: symbol blkid_new_probe, version BLKID_2.15 not defined in file libblkid.so.1 with link time reference"

and i can't mount..
in the boot.log after a reboot i read

"create temporary group file
/bin/mount: /opt/lib/libblkid.so.1: no version information available (required by /bin/mount)
/bin/mount: /opt/lib/libblkid.so.1: no version information available (required by /bin/mount)
/bin/mount: /opt/lib/libblkid.so.1: no version information available (required by /bin/mount)
configure loopback network interface
"
after i've see in export variable there is't the LD_LIBRARY_PATH i've try to use "export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/opt/lib:/rw_fs/tmp/arm/lib"

and now mount work..
i don't know if it's related but now i notice if a use ipkg it's say
"update-alternatives: Error: not linking //opt/bin/cmp to /opt/bin/diffutils-cmp since //opt/bin/cmp exists and is not a link
update-alternatives: Error: not linking //opt/bin/diff to /opt/bin/diffutils-diff since //opt/bin/diff exists and is not a link
update-alternatives: Error: not linking //opt/bin/diff3 to /opt/bin/diffutils-diff3 since //opt/bin/diff3 exists and is not a link
update-alternatives: Error: not linking //opt/bin/sdiff to /opt/bin/diffutils-sdiff since //opt/bin/sdiff exists and is not a link
"

how can i fix it??.. because samba not have any share (i thing because in boot time there isn't share/1000/public folder).. the same the minidlna..


----------------------------------------------------------------------------------------------------------

UPDATE

I've resolved the problem...

i don't know how, but it seem that with the connecting of external hdd the firmware had "update" some lib. and exact libblkid.so and libuuid.so.... in /opt/lib there are only a old version libuuid.so.1.0 with two symbolic link... in /usr/lib intead there are new version libuuid.so.1.1 the same with libuuid.so with 1.2 in /opt/lib and 1.3 in /usr/lib...

i copy newest version to opt/lib and recreate symbolic link... now it's all ok.. but the question is.... WHY BEFORE CONNECT HDD was ok.. and after no???

Re: Big problem after connect External USB HDD NTFS

PostPosted: Wed Dec 16, 2015 7:15 pm
by fvdw
The firmware doesn't update libraries. You must gave done something, and ipkg is a rather unreliable source of binaries which may disturb dependencies. I am quite sure you installed something with ipkg that has caused this. I need to check but I don't think that the libs you mentioned are part of the firmware. So they must have been installed by you.

Re: Big problem after connect External USB HDD NTFS

PostPosted: Wed Dec 16, 2015 9:42 pm
by Acquarious81
fvdw wrote:The firmware doesn't update libraries. You must gave donecsomething, and ipkg us a rather unreliable source of binairies which may disturb dependencies. I quite sure you installed something with ipkg that has caused this. I ned to check but I don't think that the libs you mentioned are part of the firmware. So they must have been installed by you.


I didn't installed nothing before the problem, it's too fast, before all work, I connect usb he'd and when I see che share/1000/ folder with external hdd and not sda8 I,ve click on secure disconnect and I don't find my sda8 share folder... I,ve try to mount with mount /Dev/sda8 /share/1000/ but give me a error .. So I try to reinstall mount command with Ipkg and neither that work... So I,be try to restart the nas and after take this post I search for the error...

Re: Big problem after connect External USB HDD NTFS

PostPosted: Wed Dec 16, 2015 9:48 pm
by fvdw
I double checked and the firmware doesn't have the libs you mention in /opt/lib so they must have been installed by you. If I understand well you used ipkg to add some programs
As said using ipkg is a risk, it interferes and breaks the dependencies of the other binaries. Therefor i do not recommend to use it unless you are able to deal with the consequences as the dependencies issues it will generate

If you don't know what I mean with "dependencies" then reading this maybe helpful https://en.wikipedia.org/wiki/Dependency_hell

PS. Of course you can install whatever you want, no problem, its your nas but you may be confronted with these kind of problems as result and as I do not know what you exactly it is very difficult to help you to solve the problems caused by it. ;)

Re: Big problem after connect External USB HDD NTFS

PostPosted: Wed Dec 16, 2015 10:00 pm
by Jocko
In addition,
Acquarious81 wrote:i try to connect a usb external hdd formatted in htfs, but after that the folder /share/1000 is change from my sd8 partition to external hdd...

i try to remove the external hdd with safe remove in fvdwls site page, but after that the /share/1000/ folder is empty...
This is very amazing

I checked the related code and there is no explanation to get this behaviour, please to note this disk should be mounted read-only by the firmware.

So the best thing to do is to reinstall version 16.1 (by using the upgrade firmware menu)

And try again to plug the disk. If still there is an issue please to do nothing and post here for helping.