Author Topic: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server (SOLVED)  (Read 3153 times)

Offline sdgengineer

  • Member
  • ***
  • Posts: 79
  • Karma: 5
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9, 10
Hello

I am trying to set up an old desktop as a media server in the basement. I installed SAMBA, and shares are visible to the rest of my network.  Shares on the Hard Disk that has Pmnt installed are visible and I can read files from them.  However the share from a Large NTFS Hard Drive, Called "MassStorage" I have full of media are visible, but when I try to access it I get a "Device not mounted" from the remote computer. 

I did a "mount"  command before I ran pcmanfm and the result is shown below:

mount
/dev/sdc1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/scott/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=scott)

After I open pcmanfm and select the "MassStorage" hard drive, and type in my password I can see it locally but still cannot see it on the remote computer via SAMBA

I did a Mount command again and the results are shown below:

/dev/sdc1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/scott/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=scott)
/dev/sda1 on /media/MassStorage type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)


As you can see the last line now shows the MassStorage drive is mounted at /media (I guess)

How do I modify the fstab file in /etc to automount the MassStorage drive so I can see it remotely via SAMBA? Or is there something else I should/could do instead?

The present fstab file is shown below:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdc1 during installation
UUID=cc25274c-311c-4287-a3b7-bf196c3172e7 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdc5 during installation
UUID=bb5cc553-723e-42a9-9f7c-7cdedfdf7d03 none     


I am sure I can do this, but need a little guidance.

Thanks

Scott


« Last Edit: January 16, 2015, 07:45:54 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server
« Reply #1 on: January 12, 2015, 03:55:25 am »
is "Mass Storage" a USB HDD ?

With "MassStorage" connected, what's the output from:
Code: [Select]
sudo blkid
have you actually shared /media/MassStorage ?

what's the contents of:
Code: [Select]
gedit /etc/samba/smb.conf
« Last Edit: January 12, 2015, 04:11:37 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Member
  • ***
  • Posts: 79
  • Karma: 5
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9, 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server
« Reply #2 on: January 12, 2015, 07:30:47 pm »
First off Thanks

MassStorage is a 500 GB Serial ATA NTFS Hard Drive. It originally had a space between Mass and Storage, but I went into windows and removed the space (I had heard that Linux doesn't like spaces in file names. 

Here is the output from sudo blkid:

/dev/sda1: UUID="78487A8D487A49C0" TYPE="ntfs"
/dev/sdb1: UUID="cc25274c-311c-4287-a3b7-bf196c3172e7" TYPE="ext4"
/dev/sdb5: UUID="bb5cc553-723e-42a9-9f7c-7cdedfdf7d03" TYPE="swap"
/dev/sdc1: LABEL="MassStorage" UUID="1C

/dev/sda1 is a 170GB hard drive with the windows on it.  It also has some files I will share out, after I figure out how to share the /dev/sdc1 drive
I assume
/dev/sdb1 is the pmt 3 linux drive with sdb5 being the swap file


have you actually shared /media/MassStorage ?

I can see the MassStorage drive locally, but have not been able to see it from a remote host. I get the message "MassStorage is not mounted"  Even if I had already accessed it locally (and therby mounted it locally) using pcmanfm. It also asks for my password the first time I access it via pcmanfm.

Here  are the contents of gedit /etc/samba/smb.conf

Sorry for the long output, I chopped off the beginning commentary and started with "Global settings"


#======================= Global Settings =======================

[global]

## Browsing/Identification ###

Spoiler (click here to view / hide)
[close]

#### Networking ####

Spoiler (click here to view / hide)
[close]



#### Debugging/Accounting ####

Spoiler (click here to view / hide)
[close]


####### Authentication #######

Spoiler (click here to view / hide)
[close]

########## Domains ###########

Spoiler (click here to view / hide)
[close]

########## Printing ##########

Spoiler (click here to view / hide)
[close]

############ Misc ############

Spoiler (click here to view / hide)
[close]

#======================= Share Definitions =======================

Spoiler (click here to view / hide)
[close]


Thanks for your help

Scott
« Last Edit: January 12, 2015, 09:56:52 pm by AndyInMokum »
No Job is impossible for the  person who doesn't have to do it!

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server
« Reply #3 on: January 12, 2015, 10:02:51 pm »
Hi sdgengineer.  I see that the output you returned is very long.  In future, could you please encapsulate long outputs with the Sp Spoiler function.  This is located in the forum editor, just above the crying  :'( emoticon.  It makes it much easier for people to read and keeps things neat and tidy.  This time I've done this for you.  Thanks in advance ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server
« Reply #4 on: January 13, 2015, 04:12:43 am »
Quote
/dev/sdc1: LABEL="MassStorage" UUID="1C

That can't  be the full output .. can you post the output from:
Code: [Select]
sudo blkidagain.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Member
  • ***
  • Posts: 79
  • Karma: 5
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9, 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server
« Reply #5 on: January 13, 2015, 05:15:06 pm »
Hi sdgengineer.  I see that the output you returned is very long.  In future, could you please encapsulate long outputs with the Sp Spoiler function.  This is located in the forum editor, just above the crying  :'( emoticon.  It makes it much easier for people to read and keeps things neat and tidy.  This time I've done this for you.  Thanks in advance ;).

Will do, I was unfamiliar with that function...Sorry

Scott
No Job is impossible for the  person who doesn't have to do it!

Offline sdgengineer

  • Member
  • ***
  • Posts: 79
  • Karma: 5
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9, 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server
« Reply #6 on: January 13, 2015, 06:47:26 pm »
Quote
/dev/sdc1: LABEL="MassStorage" UUID="1C

That can't  be the full output .. can you post the output from:
Code: [Select]
sudo blkidagain.
[/quote

Here you go:

sudo blkid
[sudo] password for scott:
/dev/sda1: LABEL="MassStorage" UUID="1CA4FC28A4FC05D4" TYPE="ntfs"
/dev/sdb1: UUID="78487A8D487A49C0" TYPE="ntfs"
/dev/sdc1: UUID="cc25274c-311c-4287-a3b7-bf196c3172e7" TYPE="ext4"
/dev/sdc5: UUID="bb5cc553-723e-42a9-9f7c-7cdedfdf7d03" TYPE="swap"
scott@Basement-Linux ~ $

« Last Edit: January 16, 2015, 07:47:24 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server
« Reply #7 on: January 14, 2015, 04:58:45 am »
Run:
Code: [Select]
sudo mkdir /media/Mass-Storagethen backup fstab with:
Code: [Select]
sudo cp -v /etc/fstab /etc/fstab.bakthen oen fstab for editing:
Code: [Select]
sudo gedit /etc/fstaband add these 2 lines at the bottom:
Code: [Select]
## Mount MassStorage
UUID=1CA4FC28A4FC05D4  /media/Mass-Storage  ntfs-3g  defaults,windows_names,locale=en_US.utf8  0 0
SAVE the file and exit gedit.

Back in the terminal run:
Code: [Select]
sudo mount -aif that runs without error, you can reboot then make sure "Mass-Storage" is automounted at bootup.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Member
  • ***
  • Posts: 79
  • Karma: 5
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9, 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server (SOLVED)
« Reply #8 on: January 16, 2015, 07:49:12 pm »
Run:
Code: [Select]
sudo mkdir /media/Mass-Storagethen backup fstab with:
Code: [Select]
sudo cp -v /etc/fstab /etc/fstab.bakthen oen fstab for editing:
Code: [Select]
sudo gedit /etc/fstaband add these 2 lines at the bottom:
Code: [Select]
## Mount MassStorage
UUID=1CA4FC28A4FC05D4  /media/Mass-Storage  ntfs-3g  defaults,windows_names,locale=en_US.utf8  0 0
SAVE the file and exit gedit.

Back in the terminal run:
Code: [Select]
sudo mount -aif that runs without error, you can reboot then make sure "Mass-Storage" is automounted at bootup.

THAT Did it!.  I will use this as a pattern for other file servers I build

THANKS 
SDGEngineer
No Job is impossible for the  person who doesn't have to do it!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to "Mount" NTFS Hard Drive on Pmnt 3 File Server (SOLVED)
« Reply #9 on: January 17, 2015, 10:14:24 am »
You're most welcome .. thanks for marking the topic (SOLVED).
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec