LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Issues mounting external HDD (https://www.linuxquestions.org/questions/linux-newbie-8/issues-mounting-external-hdd-4175571643/)

Skatman88 02-07-2016 07:21 AM

Issues mounting external HDD
 
I've got an external HDD connected to my laptop which is acting as a media server. For some reason the HDD is split into two separate partitions (OEM feature). One of the partitions is called sdb and has mounted fine. The other is called sdc. sdc is where I'm having the issues. For some reason it's decided to partition itself further into sdc1. I've tried wiping the HDD and reformatting it using fdisk, gdisk, and gparted. Nothing has removed the secondary partition.

Code:

lsblk
produces this:

Code:

****@MediaServer:/mnt/EHDD1/Films$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0 698.7G  0 disk
├─sda1  8:1    0    94M  0 part /boot/efi
├─sda2  8:2    0  46.6G  0 part /
├─sda3  8:3    0  954M  0 part /boot
├─sda4  8:4    0  18.6G  0 part /var
├─sda5  8:5    0  9.3G  0 part [SWAP]
├─sda6  8:6    0  93.1G  0 part /home
└─sda7  8:7    0  530G  0 part /data
sdb      8:16  0    2T  0 disk /mnt/EHDD1
sdc      8:32  0 746.5G  0 disk
└─sdc1  8:33  0 746.5G  0 part /media/****/EHDD2
sr0    11:0    1  1024M  0 rom

The secondary partition isn't that much of an issue, to be honest I'm really not bothered about it as it only reduces the total size by less than 1MB (the disk is 750GB), the issue is that I can't mount the thing where I want it. At the minute, it's mounted in /media/****/EHDD2. However I want to mount it in /mnt/EHDD2.

Whenever I try to do this I can different kinds of errors. First I unmount it using sudo umount /media/****/EHDD2 which works fine. However when I try to mount sdc on its own, it I get this:

Code:

****@MediaServer:/mnt/EHDD1/Films$ sudo mount /dev/sdc /mnt/EHDD2
mount: wrong fs type, bad option, bad superblock on /dev/sdc,
      missing codepage or helper program, or other error

      In some cases useful info is found in syslog - try
      dmesg | tail or so.

When I try to mount sdc1 I get this:

Code:

****@MediaServer:/mnt/EHDD1/Films$ sudo mount /dev/sdc/sdc1 /mnt/EHDD2
mount: special device /dev/sdc/sdc1 does not exist (a path prefix is not a directory)

Pretty stuck at the moment. Any help would be much appreciated.

Skat

Emerson 02-07-2016 07:27 AM

You want to mount /dev/sdc1. Not /dev/sdc or /dev/sdc/sdc1.

Skatman88 02-07-2016 09:21 AM

I bloody hate it when it's something as simple as that.

Cheers.


All times are GMT -5. The time now is 01:55 AM.