News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Adding a NTFS hard drive under 1404

Started by Govo, March 07, 2016, 01:55:56 PM

Previous topic - Next topic

Govo

Hi Folks

Instead of opening  another topic I am going to post here as I have the same problem.

Just installed 14.4 the latests snap shot and ran a sudo update.

Plugged in my USB 4TB Seagate  Expansion Desk  external hard drive with all my media,  and the LMCE didn't ask to added it to the system.

Instead I had to mount it to /home/public/date/videos/dvd (dvd is a new folder I created )

sudo mount /dev/sdb2 /home/public/data/videos/dvds

The drive works prefect in 10.4 and LMCE picks the device up with out any issues.

As you can see from the out put of lsblk, the device is there

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
|-sda1   8:1    0 461.9G  0 part /
|-sda2   8:2    0     1K  0 part
`-sda5   8:5    0   3.9G  0 part [SWAP]
sdb      8:16   0   3.7T  0 disk
|-sdb1   8:17   0   128M  0 part
`-sdb2   8:18   0   3.7T  0 part /home/public/data/videos/dvds
sr0     11:0    1  1024M  0 rom 



Here's a link to  paste bin with the out put of  my system specs

http://pastebin.com/EZGrwY7v

Cheers
Gov

phenigma

#1
First thing is that manually mounting that drive there will cause massive issues when the drive is detected.  You should undo that mount.

Second thing is that all the detection stuff was completely re-written and I'm still dealing with feedback on it.  Please run:

DEBUG=yes /usr/pluto/StorageDevices_Radar.sh


and


blkid


and paste the output.  Thanks.

Third, you should really start a new thread ;)

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

Govo

Hi phenigma

Sorry was just trying to keep thing tidy.

Quotedcerouter_1047697:~# DEBUG=yes /usr/pluto/bin/StorageDevices_Radar.sh
availPath: /dev/sda1 /dev/sda5 /dev/sdb1 /dev/sdc2
mountedDevPath: /dev/sdc2 /dev/sdb1
mountedPath: /dev/sda1
mountedDevPath: /dev/sdc2 /dev/sdb1
mountedPath: /dev/sda1
unknownPath:
subtractPath:  /dev/sda1  /dev/sdc2 /dev/sdb1
diff_Funk: /dev/sda5
availPath: /dev/sda5
auxPath:
availPath:
dcerouter_1047697:~#


Quotedcerouter_1047697:~# blkid
/dev/sda1: UUID="1e79c27e-4e32-41a2-a3ea-e99591a74242" TYPE="ext4"
/dev/sda5: UUID="d52577b0-baeb-47a7-9751-77277dc03dd6" TYPE="swap"
/dev/sdb1: UUID="8a65c0e4-6283-4cc5-88fc-580ce5ca9b6f" TYPE="ext4"
/dev/sdc2: LABEL="Seagate Expansion Drive" UUID="4CF20DC1F20DAFEE" TYPE="ntfs"
dcerouter_1047697:~#

Cheers
Gov

phenigma

No problem.  I'm assuming this is the ntfs drive?  I'm not sure we have things setup to mount ntfs drives (or that we ever did).  Could you create an new Issue for this at git.linuxmce.org?

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

Govo


Marie.O

The first thing that pops up to me is the fact that sdc1 is missing
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

phenigma

That shouldn't be an issue at all.  We look at individual partitions and deal with them on their own.

One thing about the new detection scripts is that if the drive is already mounted (manually by the user say) then LMCE will ignore it.  mountedDevPath and subtractPath in the data.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]