Other Unable to mount FAT partition - Invalid argument

balanga

Son of Beastie

Reaction score: 109
Messages: 2,661

This should be easy to sort out but I'm stuck....

Code:
root@Vbox:/# mount -t msdosfs /dev/da0s1 /mnt/dos
mount_msdosfs: /dev/da0s1: Invalid argument
Code:
root@Vbox:/# gpart show da0
=>      63  15656897  da0  MBR  (7.5G)
        63  15656897    1  fat32  (7.5G)
Code:
root@Vbox:/mnt# ls -al /mnt/dos
total 8
drwxr-xr-x   2 root  wheel  512 Mar 12  2018 .
drwxr-xr-x  14 root  wheel  512 Sep  3 11:46 ..
Code:
root@Vbox:/# camcontrol devlist
<Hitachi HTS545032B9SA00 PB3OC64G>  at scbus0 target 0 lun 0 (pass0,ada0)
<ST1000LM048-2E7172 SDM1>          at scbus1 target 0 lun 0 (pass1,ada1)
<AHCI SGPIO Enclosure 1.00 0001>   at scbus3 target 0 lun 0 (pass2,ses0)
<UDISK PDD09_8G B9J2.0 1.00>       at scbus4 target 0 lun 0 (da0,pass3)
Code:
root@Vbox:/# file -s /dev/da0
/dev/da0: DOS/MBR boot sector; partition 1 : ID=0xb, start-CHS (0x0,1,1), end-CHS (0x3ce,153,11), startsector 63, 15656897 sectors, extended partition table (last)
Code:
root@Vbox:/# file -s /dev/da0s1
/dev/da0s1: data
What could I have overlooked?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,183
Messages: 29,471

The da0s1 has a partition type of FAT32 but file(1) indicates it's not a filesystem. Because there's no filesystem it cannot be mounted. Did you only create the partitions but forgot to format them?
 
Top