Author Topic: Adding a NTFS hard drive under 1404  (Read 3953 times)

Govo

  • Guru
  • ****
  • Posts: 204
    • View Profile
Adding a NTFS hard drive under 1404
« on: March 07, 2016, 01:55:56 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Adding a NTFS hard drive under 1404
« Reply #1 on: March 07, 2016, 10:00:04 pm »
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:
Code: [Select]
DEBUG=yes /usr/pluto/StorageDevices_Radar.sh

and

Code: [Select]
blkid

and paste the output.  Thanks.

Third, you should really start a new thread ;)

J.
« Last Edit: March 07, 2016, 10:26:14 pm by phenigma »

Govo

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: Adding a NTFS hard drive under 1404
« Reply #2 on: March 07, 2016, 11:12:59 pm »
Hi phenigma

Sorry was just trying to keep thing tidy.

Quote
dcerouter_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:~#


Quote
dcerouter_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

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Adding a NTFS hard drive under 1404
« Reply #3 on: March 07, 2016, 11:16:55 pm »
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.

Govo

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: Adding a NTFS hard drive under 1404
« Reply #4 on: March 07, 2016, 11:29:43 pm »
Hi J

Done Issue #2619


Cheers
Gov

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Adding a NTFS hard drive under 1404
« Reply #5 on: March 08, 2016, 04:02:37 pm »
The first thing that pops up to me is the fact that sdc1 is missing

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Adding a NTFS hard drive under 1404
« Reply #6 on: March 08, 2016, 07:35:47 pm »
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.