You are not logged in.

#1 2014-04-12 12:51:47

Highball
Member
Registered: 2014-04-12
Posts: 7

Cant access/find an extra internal hard drive that's used for storage

Hello

So I am running into an issue that I just cant seem to find a clear answer and I was wondering if someone could assist.

First machine info:
I have 3 hard drives - 1 with Windows 7, 1 with Arch Linux with both Gnome and Cinnamon (started with Gnome, then added Cinnamon because I prefer the setup), and another hard drive that is strictly file storage, no OS.

The 3rd hard drive is seen fine in Windows, and before I just re-installed Arch Linux last night (made some errors, couldnt fix....thought I'd practice installing again) Arch Linux would see it too, but currently I can not access that drive.
Linux sees my Windows drive and I can access that just fine, but not the extra drive. The extra drive has all my music, recording sessions and crap that I would like to be able to enjoy in Linux too.

I checked fdisk -l and sure enough its listed: (/dev/sdb)

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F4208BAF-BE77-4ECA-9AAC-C6702C8AE1DE

Device           Start          End   Size Type
/dev/sda1           34         2081     1M Microsoft LDM metadata
/dev/sda2         2082       262177   127M Microsoft reserved
/dev/sda3       262178    976773134 465.7G Microsoft LDM data


Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000f2a71

Device    Boot Start       End    Blocks  Id System
/dev/sdb1 *     2048 976769023 488383488   7 HPFS/NTFS/exFAT


Disk /dev/sdc: 153.4 GiB, 164696555520 bytes, 321672960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc29bbc3e

Device    Boot     Start       End    Blocks  Id System
/dev/sdc1 *           63  29302559  14651248+ 83 Linux
/dev/sdc2       29302560 321672959 146185200  83 Linux

I'm just not sure how to get it to mount/detect/auto mount or whatever it needs to do. I love Arch Linux so far, the ArchWiki is incredible and I have been able to work my way through most things, but my experience level is mostly tinkering in Ubuntu and LinuxMint. I am trying to expand my knowledge and skill level and I'm just not ready to give up yet, so please excuse if I dont quite understand things. I am good at following instructions, I just may not 100% understand them Haha


Thank you!

Last edited by Highball (2014-04-12 14:16:03)

Offline

#2 2014-04-12 12:59:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: Cant access/find an extra internal hard drive that's used for storage

highball,

welcome to arch.

please post the output of lsblk and the contents of your /etc/fstab file .

sidenote :
dev/sdb1 is NTFS formatted, the kernel only support read-access for that filesystem.
I assume you want to write to it also, to do that you will need to install the ntfs-3g package.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-04-12 13:04:31

Highball
Member
Registered: 2014-04-12
Posts: 7

Re: Cant access/find an extra internal hard drive that's used for storage

Lone_Wolf wrote:

highball,

welcome to arch.

please post the output of lsblk and the contents of your /etc/fstab file .

sidenote :
dev/sdb1 is NTFS formatted, the kernel only support read-access for that filesystem.
I assume you want to write to it also, to do that you will need to install the ntfs-3g package.


Here you go:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0     1M  0 part 
├─sda2   8:2    0   127M  0 part 
└─sda3   8:3    0 465.7G  0 part 
sdb      8:16   0 465.8G  0 disk 
└─sdb1   8:17   0 465.8G  0 part /run/media/tony/184EF4914EF46940
sdc      8:32   0 153.4G  0 disk 
├─sdc1   8:33   0    14G  0 part /
└─sdc2   8:34   0 139.4G  0 part /home
sr0     11:0    1  1024M  0 rom 


# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sdc1
UUID=fac22496-5fdb-4ee2-a44b-568918796c9e	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sdc2
UUID=b3f5696f-a5b9-4695-858d-8b9c6945bb7d	/home     	ext4      	rw,relatime,data=ordered	0 2

and I just installed ntfs-3g now, thank you!

Last edited by Highball (2014-04-12 14:15:25)

Offline

#4 2014-04-12 13:19:55

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Cant access/find an extra internal hard drive that's used for storage

/dev/sdb1 seems to be mounted at /run/media/tony/184EF4914EF46940 have you tried looking into that directory?

How did you try to mount your drive (using filemanager, manually with mount command, udisks2, etc.)?


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#5 2014-04-12 13:44:48

Highball
Member
Registered: 2014-04-12
Posts: 7

Re: Cant access/find an extra internal hard drive that's used for storage

dice wrote:

/dev/sdb1 seems to be mounted at /run/media/tony/184EF4914EF46940 have you tried looking into that directory?

How did you try to mount your drive (using filemanager, manually with mount command, udisks2, etc.)?


Well that's confusing...I went into /run/media/tony/184EF4914EF46940 and it appears to be the Windows hard drive, not the storage one


as for mounting I tried:

 mount /dev/sdb 

and I get "Cant find /dev/sdb in /etc/fstab.
I tried the same for /dev/sdb1 and got the same error

Last edited by Highball (2014-04-12 13:53:43)

Offline

#6 2014-04-12 13:51:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cant access/find an extra internal hard drive that's used for storage

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode                                                           

like this

                                                                                                                                                               
It makes the code more readable and - in case of longer listings - more convenient to scroll through.                                                                                 
                                                                                                           

Read the man page on how to use the 'mount' command. You need to specify the mount point - either in fstab or on the commandline.

Offline

#7 2014-04-12 14:14:51

Highball
Member
Registered: 2014-04-12
Posts: 7

Re: Cant access/find an extra internal hard drive that's used for storage

I will make sure to post code like that in the future, thank you.

I glanced through mount in the man pages, and I obviously need to read it a little more, but I'm not sure I understand whats going on with /dev/sdb from above?

According to fdisk, sda is my windows hard drive, and sdb is my storage drive, but according to lsblk, sdb is mounted and when I follow the trail its REALLY my Windows hard drive....so once I learn Mount a little more....how am I supposed to mount a drive that is already mounted and is technically the wrong drive? Am I missing something here?

Sorry, I appreciate the help.

Last edited by Highball (2014-04-12 14:17:11)

Offline

#8 2014-04-12 16:17:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cant access/find an extra internal hard drive that's used for storage

You can unmount the drive first.

Offline

#9 2014-04-12 16:26:07

derekArch
Member
Registered: 2013-02-02
Posts: 22

Re: Cant access/find an extra internal hard drive that's used for storage

Try running

 sudo umount /dev/sdb1 

and then remounting it with:

sudo mount /dev/sdb1 /media

You can replace media with wherever you want to mount the drive to. Then navigate to that directory and see if its the correct drive.

Offline

#10 2014-04-12 17:04:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Cant access/find an extra internal hard drive that's used for storage

derekArch's mount command is the correct form for when there is not an entry for a partition in /etc/fstab. 
To allow the form you used in post 4 requires that you place the details for the mount command in fstab.
Be sure to read man mount and man fstab


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2014-04-12 21:23:46

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Cant access/find an extra internal hard drive that's used for storage

Another useful command for identifying disks is

blkid

What makes you think that the mounted /dev/sdb1 is your Windows drive? According to your fdisk output /dev/sda seems to be your Windows drive.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#12 2014-04-12 21:30:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Cant access/find an extra internal hard drive that's used for storage

Are you running Arch or a derivative?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2014-04-13 13:26:37

Highball
Member
Registered: 2014-04-12
Posts: 7

Re: Cant access/find an extra internal hard drive that's used for storage

Sorry for the delay in response..busy day yesterday.

Here's what I've tried since then

Tried

sudo  umount /dev/sdb1 and sudo mount /dev/sdb/1 /media

which worked, however despite what fdisk, lsblk, and blkid are saying, its still the windows partition because I can access all the windows files, and programs files, etc.

so I thought I would try /dev/sda1 and this is what I got:

sudo mount /dev/sda1 /media
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error

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

I should also mention that when I open of the file manager (Nemo) on the left side where it lists directories, under Devices it lists the /dev/sdb1 volume which is still the windows volume.
This is just all so weird because I didnt have to do anything last time I installed and I have the same set up: Arch Linux with Gnome and Cinnamon - no derivatives

Offline

#14 2014-04-13 13:38:43

Highball
Member
Registered: 2014-04-12
Posts: 7

Re: Cant access/find an extra internal hard drive that's used for storage

Here is a Picture just to make sure I'm not crazy

Offline

#15 2014-04-13 17:37:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: Cant access/find an extra internal hard drive that's used for storage

I don't think you're going crazy, anmd it's very likely /dev/sdb1 is indead the windows system partition.

Looking more thorough at the fdisk -l output :

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F4208BAF-BE77-4ECA-9AAC-C6702C8AE1DE

Device           Start          End   Size Type
/dev/sda1           34         2081     1M Microsoft LDM metadata
/dev/sda2         2082       262177   127M Microsoft reserved
/dev/sda3       262178    976773134 465.7G Microsoft LDM data

LDM is windows Logical Disk Manager , and it looks like sda is a windows Dynamic Disk .
These disks are accessible from linux, but require a specific kernel setting .
many options were stripped from the arch stock 3.14 kernel, maybe the LDM setting was one of them.

I suggest you try with the linux-lts kernel, or use the Arch rollback machine (check wiki) to downgrade to latest arch 3.13 kernel.
That will confirm whether a change in kernel 3.14 is the cause.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#16 2014-04-13 21:40:56

Highball
Member
Registered: 2014-04-12
Posts: 7

Re: Cant access/find an extra internal hard drive that's used for storage

Lone_Wolf wrote:

I don't think you're going crazy, anmd it's very likely /dev/sdb1 is indead the windows system partition.

Looking more thorough at the fdisk -l output :

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F4208BAF-BE77-4ECA-9AAC-C6702C8AE1DE

Device           Start          End   Size Type
/dev/sda1           34         2081     1M Microsoft LDM metadata
/dev/sda2         2082       262177   127M Microsoft reserved
/dev/sda3       262178    976773134 465.7G Microsoft LDM data

LDM is windows Logical Disk Manager , and it looks like sda is a windows Dynamic Disk .
These disks are accessible from linux, but require a specific kernel setting .
many options were stripped from the arch stock 3.14 kernel, maybe the LDM setting was one of them.

I suggest you try with the linux-lts kernel, or use the Arch rollback machine (check wiki) to downgrade to latest arch 3.13 kernel.
That will confirm whether a change in kernel 3.14 is the cause.


I went for linux-lts first, but sadly no change. I'll have to try and read up on the downgrade and see if I can make that happen. Thank you all for your help it is appreciated!

Offline

Board footer

Powered by FluxBB