Adding a internal Harddrive to my Freebsd 11.2 P3 system

Hi

I added a internal Hard drive to my Freebsd 11.2 p3.. I see the newly added hard drive when the system boots. When I look at /var/run/dmesg.boot from The Handbook 17.2 I dont see ada1, I do see the new drive as da1 ? I don't see the new harddrive listed when I enter mount at the command prompt. Where is the newly installed harddrive listed as ada1 per the Handbook 17.2 Adding Disks? When I enter gpart show ada1 It no such geom: ada1 ?

Thank you
 
Last edited:
I will try that thank you
I managed to create the partition and add the partiton alligned to 1 meg boundary.
Whem I try to get the new file system created om the new partition for da1. It gave me an error message after a while Errror mount volume, /media/.hal -MTAB message. Do I need to update the /etc/fstab with the new hard drive info?

Thanks
 
I followed that step in the Handbook and it still does not work. newfs -U /dev/da1p1 I get the error message. I followed the steps in the handbook and it did not wotk. The Handbook says nothing about how to clear the error message "Cannot mount volume /media/.hal=mTAB"
The Handbook is not helpfull. Please don't referr me there.
I will try the freebsd news group. I think I can find a book on Freebsd. I will look there.
Posting here is almost no value. Thanks any way, I guess.
 
"It doesn't work" doesn't tell us much. If you want help you'll need to provide proper information, like the exact error messages you are getting.

newfs -U /dev/da1p1 I get the error message.
Which error message?
 
It's probably hald(8) that's constantly trying to mount it. You can turn it off temporarily or just ignore it.
 
When I try to delete the partition da1 using the gpart destroy command. I get the message gpart; Device busy? I can't seem to unmount the drive?
How do I unmount it if it's always busy? Please don't refer me to the handbook. It has not been any help so far.

Thanks
 
You can't remove a partition if it's mounted. You can't unmount a partition if it's in use. I often make the mistake of changing directories and have my current directory inside the filesystem I'm trying to unmount. This is easily overlooked, especially if you have opened multiple shells and trying to multitask.

So, make sure none of your shells are inside the filesystem you're trying to unmount. If it's still claiming to be "busy", look for applications that might be running and accessing that filesystem, fstat(1) is quite useful for this.
 
The DA1 hard drive I added, still shows as corrupted no matter how many times I try too recover it with gpart recover. The drive shows up in The Gnome Filemanager. When I try to copy a file to the new drive, I get an input/output error?
 
Back
Top