SOLVED GPT Mount Error

Status
Not open for further replies.

scottmaverick

Dabbler
Joined
Aug 24, 2016
Messages
24
I am trying to mount a GPT formatted disk in FreeNAS 9.10. Here is what I've tried so far.

Code:
# gpart show

=>      34           5860533101  da15      GPT  (2.7T)
           34                   262144     1         ms-reserved  (128M)
      262178                    2014                - free -  (1.0M)
      264192       5860268032     2        ms-basic-data  (2.7T)
  5860532224                  911               - free -  (456K)


Then I try to mount:
Code:
[root@freenas] /# mount -t gpt /dev/da15 /mnt/external/
mount: /dev/da15: Operation not supported by device
[root@freenas] /# mount -t gpt /dev/da15s1 /mnt/external/
mount: /dev/da15s1: Operation not supported by device


Is there a different way I should be doing this?
 
Last edited by a moderator:

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Well, yes. GPT is a type of partitioning. mount doesn't care about that, it cares about the type of filesystem. I don't know what ms-basic-data is as a filesystem, though.
 

scottmaverick

Dabbler
Joined
Aug 24, 2016
Messages
24
Well I was trying to use ntfs-3g because the filesystem was NTFS. That does not work for this drive and the other drives I've used it with all say NTFS where this one says GPT.
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
It's the part that says ms-basic-data where it would normally say NTFS. If you think that really is NTFS, you can try ntfs-3g on the da15p2 partition.
 

scottmaverick

Dabbler
Joined
Aug 24, 2016
Messages
24
Here my attempt with ntfs-3g, this has worked for the other drives, but they dont show up slightly different in gpart.

Code:
[root@freenas] ~# ntfs-3g -o ro /dev/da15 /mnt/external/
NTFS signature is missing.
Failed to mount '/dev/da15': Invalid argument
The device '/dev/da15' doesn't seem to have a valid NTFS.

Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Code:
[root@freenas] ~# ntfs-3g -o ro /dev/da15s1 /mnt/external/
ntfs-3g: Failed to access volume '/dev/da15s1': No such file or directory


This is what gpart shows for another disk which worked using the ntfs command.

Code:
=>
 63                     3907029105      da14  MBR  (1.8T)
 63                                 1985                 - free -  (993K)
 2048                3907024896        1       ntfs  [active]  (1.8T)
 3907026944                 2224                 - free -  (1.1M)
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
As said above, use /dev/da15p2.

On FreeBSD, old crappy MBR partitions start with an s. New, nice GPT partitions start with a p.

Note that the old drive was MBR partitioned, and the ntfs filesystem was on partition 1, so it is da14s1.
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Untested: ntfs-3g /dev/da15p2 /mnt/external
 
Status
Not open for further replies.
Top