LinuxMCE Forums
General => Users => Topic started by: nite_man on April 18, 2008, 03:33:00 pm
-
Hi,
One friend of mine has problem with access to the media storage on my LMCE core from Windows PC and MAC. He has 16 HDD 250GB each in RAID5. The storage is mounted in /mnt/devices/<Storage ID>.
As I understand both should be used Samba. On Windows PC 8TB storage is shown as 250GB (the size of one HDD in the RAID). But at least the media storage is visible for Windows PC. On MAC it's also visible but each directory is shown as shortcut and not accessible at all.
Any idea how to fix it or from where start to dig?
Thanks in advance.
-
When I access my LMCE core via Samba with my Mac, I have a similar issue. But only with my Leopard machine. The additional drives show up as shortcuts which result in an error when clicked. I can, however, open them all with my Mac running Tiger.
So i have written it off as another one of the numerous problems that the Leopard upgrade installed on my Mac. maybe we will be luckier with 10.5.3
-
I would think it is extremely unlikely that you would want to access those drives in any way if they are showing up as individual drives! It suggests that it is accessing them directly as devices (why SAMBA would present them at all as such is beyond me!) rather than through the RAID driver's device file - very good chance you could screw up the RAID striping and/or parity and corrupt the data - perhaps that's why they are inaccessible in one version?
BTW, 16 drives in a RAID5 is less than 3.75TB not 8TB...
-
On core it shows 8TB:
/dev/sdb1 8.2T 231G 8.0T 3% /mnt/device/174
RAID seems ok because it's possible to copy a big file via Linux. For example, ripping DVD.
BTW, 16 drives in a RAID5 is less than 3.75TB not 8TB...
Maybe the capacity of each HDD is 500GB not 250. I have to confirm that from my friend. But the problem is not here :)
-
Finally, I understand what is the problem. The problem is that only system HDD (250GB) is accessible via Samba. The 8TB storage is mounted into /mnt/device/174 and isn't showed on the first level directories. Does somebody knows how to solve that?
-
I've cheated with samba
on a reboot, the core will re-write the samba.conf files so editing them will need some extra work i've not looked at yet.
So
i went into /home/public/data/ and then created a sybolic link to the path i wanted to access (its a usb external drive)
Its not the best solution but it works :)
-
Check to see if the raid share is showing up under /home/public/data/other. That's where it will be if the PK_Users is set to "Public" instead of "Pluto's structure".
On the file server, only the raid volume (ex: /dev/md0) should be shared by samba, not the physical drives (ex: /dev/sdb1).
HTH,
Roy
-
Check to see if the raid share is showing up under /home/public/data/other. That's where it will be if the PK_Users is set to "Public" instead of "Pluto's structure".
On the file server, only the raid volume (ex: /dev/md0) should be shared by samba, not the physical drives (ex: /dev/sdb1).
HTH,
Roy
Thanks for your suggestion, Roy. I thought about changing the PK_Users to "Public". But I was afraid that this might break recording and ripping functionality.
Also, I don't see such device /dev/md0.
-
You're not seeing /dev/md0 because you are obviously using hardware raid, and md0 belongs to linux software raid.
The problem could be as stupid as the size, 8T being to large to handle for the samba implementation (on one or both ends), but that's just a guess.
-
Maybe you're right, Zaerc. Also, it's possible that the storage was mounted incorrectly. Will try to investigate it.