Geom question
William A. Mahaffey III
wam at hiwaay.net
Fri Oct 2 22:35:33 UTC 2015
On 10/02/15 16:37, Chad J. Milios wrote:
>> [root at kabini1, /etc, 4:00:44pm] 769 % mount /dev/md0s1 /media/sd/
>> mount: /dev/md0s1: Invalid argument
>> [root at kabini1, /etc, 4:01:16pm] 770 % mount -t ufs /dev/md0s1 /media/sd/
>> mount: /dev/md0s1: Invalid argument
>> [root at kabini1, /etc, 4:01:34pm] 771 % mount -t ufs /dev/md0s1a
>> /media/sd/
>> mount: /dev/md0s1a: Invalid argument
>> [root at kabini1, /etc, 4:01:41pm] 772 %
>>
>> & I appear to be stuck trying to mount the /dev/md0 device so I can
>> copy stuff to it :-/. Any clues appreciated. TIA & have a good one.
>
> you need to `newfs /dev/md0s1a` first before attempting to mount it,
> as `gpart add -t freebsd-ufs $GEOM` only marks the meta info in the
> outerlying structure (the front few blocks of /dev/md0s1 in your case)
> and doesn't actually do what you're expecting. `man newfs` to decide
> that you probably want the -U flag with that and might want the -J
> flag as well.
>
> Cheers,
> -Chad
*Damn* !!!! If brains were dynamite, I couldn't blow my nose :-/ ....
That worked AOK, thanks :-) ....
--
William A. Mahaffey III
----------------------------------------------------------------------
"The M1 Garand is without doubt the finest implement of war
ever devised by man."
-- Gen. George S. Patton Jr.
More information about the freebsd-questions
mailing list