Forum
[PROBLEM] Symbolic link from an hdd to another - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Community (/forum-5.html)
+--- Forum: Uncategorized (/forum-59.html)
+--- Thread: [PROBLEM] Symbolic link from an hdd to another (/thread-1910.html)



Symbolic link from an hdd to another - Turk - 20th Dec, 2013 04:14 AM

Sorry for my bad inglish I'm italian and use google traslate! Blush

Software
XBian version: XBian 1.0 Beta 2
XBMC version: 12.2 Git:20130916-09cb29 (Compiled: Oct 2 2013)
Overclock settings: High

Hardware
Power supply rating: 5V 1,2 A
RPi model (model A/B 256mb/512mb): B 512mb
SD card size and make/type: SanDisk Ultra 8GB calss 10 30MB/s
Network (wireless or LAN): LAN
Connected devices (TV, USB, network storage, etc.):
TV by HDMI
2 HDD 2tb Trekstore DataStation maxi light

Link to logfile(s):

Problem description:
1st HDD I use for FILM and TV FILMS on the second.
Since I installed the latest Xbian when I connect remotely I get 2 new folders on the hdd like a link:

Practically I have a tree like this for 1st:
FILM
|-- Backup
|-- FILM HD
|-- FILM SD
|--TELEFILM (which if I open i find the contents of the HDD with TELEFILM (2nd HDD)
| |-- Bones
| |-- Castle
| |-- NCIS-- Backup

And a tree like this for 2nd:
TELEFILM
|-- Bones
|-- Castle
|-- NCIS
|---FILM(which if I open i find the contents of the HDD with the TELEFILM (1st HDD)
| |-- Backup
| |-- FILM HD
| |-- FILM SD

Terminal
xbian@xbian /media $ ls -l
totale 16
drwxrwxrwx 1 xbian xbian 4096 dic 15 21:29 FILM
drwxrwxrwx 1 xbian xbian 4096 dic 7 17:43 TELEFILM
lrwxrwxrwx 1 root root 15 dic 19 13:59 usb0 -> /media/TELEFILM
lrwxrwxrwx 1 root root 11 dic 19 13:59 usb1 -> /media/FILM


Terminal
xbian@xbian /media/FILM $ ls -l
totale 401
drwxrwxrwx 1 xbian xbian 0 dic 15 09:55 Backup
drwxrwxrwx 1 xbian xbian 81920 dic 19 15:24 FILM_HD
drwxrwxrwx 1 xbian xbian 323584 dic 19 16:42 FILM_SD
drwxrwxrwx 1 xbian xbian 0 dic 3 16:57 $RECYCLE.BIN
drwxrwxrwx 1 xbian xbian 4096 dic 3 09:08 ScreenShot
drwxrwxrwx 1 xbian xbian 0 dic 3 16:56 System Volume Information
lrwxrwxrwx 1 xbian xbian 38 dic 15 21:29 TELEFILM -> /media/TELEFILM

Terminal
xbian@xbian /media/TELEFILM $ ls -l
totale 33
drwxrwxrwx 1 xbian xbian 4096 mag 11 2013 File Originali
lrwxrwxrwx 1 xbian xbian 30 dic 5 10:54 FILM -> /media/FILM
drwxrwxrwx 1 xbian xbian 4096 apr 28 2013 Foto & Video
drwxrwxrwx 1 xbian xbian 0 dic 7 17:43 $RECYCLE.BIN
drwxrwxrwx 1 xbian xbian 0 dic 7 17:43 System Volume Information
drwxrwxrwx 1 xbian xbian 24576 dic 4 16:54 TELEFILM

Why is this happening?


RE: News link from an hdd to another - IriDium - 20th Dec, 2013 05:13 AM

Ok I can replicate:
Why it is happening I'm not too sure.

Will have to investigate this a bit further.


News link from an hdd to another - Turk - 21st Dec, 2013 06:33 AM

Thanks
I'm curious what do you think happened?


RE: News link from an hdd to another - mk01 - 21st Dec, 2013 06:44 AM

if you remove the symlinks, are they recreated again ?


RE: News link from an hdd to another - IriDium - 21st Dec, 2013 10:57 PM

I removed the links, rebooted and they have not reappeared.

No idea when they appeared or how.


Symbolic link from an hdd to another - Turk - 22nd Dec, 2013 09:11 AM

When i return at home i try!


RE: Symbolic link from an hdd to another - Turk - 26th Dec, 2013 05:32 AM

(21st Dec, 2013 06:44 AM)mk01 Wrote:  if you remove the symlinks, are they recreated again ?
I have not tried to delete the link, I was afraid that I deleted some 1tb of movies!

I noticed that the link is created only if both HDD are mounted, if I turn off one, the link disappears, and reappears when I turn on the HHD.


RE: Symbolic link from an hdd to another - IriDium - 27th Dec, 2013 04:55 AM

@turk. I plugged my USB HDD into a Windoze machine and deleted the links there - just for safety.


Symbolic link from an hdd to another - Turk - 11th Jan, 2014 03:13 AM

Tnks i do it and now they are dead!


RE: Symbolic link from an hdd to another - IriDium - 11th Jan, 2014 03:29 AM

I've just checked my main machine and they are BACK - well at least one of them.

I have a WD 2TB HDD configured as Movies and TV (Each 1TB)

The link is back in Movies. TV -> media/TV but not in TV (yet)

Something is going on - the link is dated 7/1/2014 which I think is about the date I upgraded. Upgrade log date confirms this.


RE: Symbolic link from an hdd to another - mk01 - 16th Jan, 2014 03:14 PM

@IriDium

can you copy&paste packages upgraded that particular run ?


RE: Symbolic link from an hdd to another - IriDium - 17th Jan, 2014 01:47 AM

(16th Jan, 2014 03:14 PM)mk01 Wrote:  @IriDium

can you copy&paste packages upgraded that particular run ?

Is there anyway to find out? I didn't take a note of them as I generally upgrade the test machine and wait a couple of weeks before I upgrade the main machine.

If I remember correctly, it wasn't many CEC, and possibley scripts but cannot be sure.

Will keep an eye out when I next upgrade.


RE: Symbolic link from an hdd to another - mk01 - 17th Jan, 2014 02:22 AM

(17th Jan, 2014 01:47 AM)IriDium Wrote:  Is there anyway to find out? I didn't take a note of them as I generally upgrade the test machine and wait a couple of weeks before I upgrade the main machine.

/var/log/apt/*

package lists with actions with date/time


RE: Symbolic link from an hdd to another - IriDium - 17th Jan, 2014 02:50 AM

A lot more than I thought.

xbian@xbian /var/log/apt $ more history.log
xbian@xbian /var/log/apt $ sudo more term.log