Other new disk not recognized

i recently added a new HDD to my system
after adding the drive i encountered multiple such as

no such Geom ada1
gpart does not recognize newly added disk
disk corrupt.
So I decided to try and format from an installation cd.Listed below is what gpart is showing me after installing the Hdd from a cd.
I need to know if I can mount the new disk without ant conflicts are issues. listed below is my current fstab and gprst show. i am currently booting from ada0
Thank you for your assistance.


Code:
root@amd:/etc #  gpart show
=>        40  1953525088  ada1  GPT  (932G)
            40        1024     1  freebsd-boot  (512K)
          1064  1946156032     2  freebsd-ufs  (928G)
    1946157096     7368032     3  freebsd-swap  (3.5G)

=>        40  1953525088  diskid/DISK-S1VSJ90S524937  GPT  (932G)
             40        1024                           1  freebsd-boot  (512K)
           1064  1946156032                           2  freebsd-ufs  (928G)
      1946157096     7368032                           3  freebsd-swap  (3.5G)

=>       40  390721888  ada0  GPT  (186G)
            40       1024     1  freebsd-boot  (512K)
          1064  381680640     2  freebsd-ufs  (182G)
  381681704    9040224     3  freebsd-swap  (4.3G)


Code:
root@amd:/etc # cat /etc/fstab
#device         /mount-point    fstype          options Dump    Pass#
/dev/ada0p2     /               ufs             rw      1       1
/dev/ada0p3     none            swap            sw      0       0
 
no such Geom ada1
gpart does not recognize newly added disk
A new disk doesn't have a partition table. That's what the 'error' is telling you.

I need to know if I can mount the new disk without ant conflicts are issues.
You generally don't mount a disk, you mount a filesystem. Filesystems are typically created in a partition. You need to create a partition table, then a partition, then you format that partition with a filesystem of your choice. You mount that filesystem.

 
Back
Top