trying to mount usb media in 14.4

Hi all,

As per the subject , but it will not mount,

I am sure I have all the bases covered after all I have been trying to mount for some weeks.

This morning I made a file /mnt/storeng and ran the cammand mount /dev/da9 /mnt/storengo, all I got was file not found message repeatedly. I checked permission they were root:wheel so I changed that to root:operator but still no luck.

I checked dmesg and the device is showing as 'da0'.

Of couse I have checked and inserted from the web all the nessacary in devfs.rules, devfs.conf and rc.conf - I am not on freebsd right now as iys not my main OS until it becomes more usable.

Any help much appreciated

nillnvoid.
 
You seem to have made a bunch of typos.

I made a file /mnt/storeng
A mountpoint is a directory not a file.

mount /dev/da9 /mnt/storengo
Mountpoint doesn't match, typo again?

Maybe try the commands again, this time paying attention not to make any typos.

Then double check if you actually used the whole disk, not a partition on that disk.

gpart show da0
file -s /dev/da0
 
You seem to have made a bunch of typos.


A mountpoint is a directory not a file.


Mountpoint doesn't match, typo again?

Maybe try the commands again, this time paying attention not to make any typos.

Then double check if you actually used the whole disk, not a partition on that disk.

gpart show da0
file -s /dev/da0

Thanks - but as far as a partition within the usb drive I did try to mount under 'da0s1' to of course see if that would make a difference - still no luck.

cheers
 
Sorry for all the typos - I should take more care, usually do, but I was in a rush, plus I am half-blind (not joking), and I do not seem to be able to edit OP and have the system save the edit, keeps giving the message 'OOps something went wrong'...oh well!
 
I did try to mount under 'da0s1'
That's a slice, not a partition. And would only exist if the MBR scheme was used, slices do not exist with GPT, the used partitioning scheme is important. Hence the gpart show da0 as that would clear up any confusion. It's possible no partitioning exists and the whole disk was used, but that's what the file -s /dev/da0 would be able to tell you.
 
That's a slice, not a partition. And would only exist if the MBR scheme was used, slices do not exist with GPT, the used partitioning scheme is important. Hence the gpart show da0 as that would clear up any confusion. It's possible no partitioning exists and the whole disk was used, but that's what the file -s /dev/da0 would be able to tell you.
Hi SirDice,

Yes, I forgot the terminology is different for FBSD than linux - again sorry.

I will write down the gpaty command and see what it spits out, but thinking about the situation, its the same for any usb device I try to mount.

BTW I use cfce4 as the deskyop and of course thunat as the filemenager, the usb device shows in thunar but again cant mount it like in linux.

Oh yeah - its is a GPT file system.

But thanks for your help - all the best.

nillnvoid
 
I rushed at stating the thing about GPT, for clarity the USB drive/s are not GPT, just the hard-drives.

Sorry for the confusion.

nillnvoid
 
Hi,

I ran the commands you kindly supplird with the output as thus

gpart
=> 32 1974239 da0 MBR (964M)
32 2016 - free - (1008K)
2048 1972223 1 linux-data (963M)

file
/dev/da0: DOS/MBR boot sector; partition 1 : ID=0x83, start-CHS (0x5,21,1), end-CHS (0x82,33,7), startsector 2048, 1972223 sectors

I do not see what good it will do as I have already stated that this is the sutuation for all usb media, and I will add partitionsm apart from the partition that is in /etc/fstab that is a linux partition.

All the best.

nillnvoid
 
Ok, so it is da0s1 here (because it's MBR). But it's not UFS, so a mount /dev/da0s1 /mnt/storengo isn't going to work. Unlike the mount command on Linux FreeBSD's mount(8) will not automagically pick the right filesystem.

Guessing it might be ext2 or perhaps ext4, try ext2fs(4)/ext4fs(4): mount -t ext2fs /dev/da0s1 /mnt/storengo
 
Back
Top