What did you try?
Please be careful now. Double check you don't make any typos. What follows now are destructive commands
This will wipe anything from your external disk!
To remove
/dev/da0p2 use
gpart delete -i 2 /dev/da0
.
Then create a new partition
gpart add -t freebsd-ufs -l backup /dev/da0
.
Finally UFS filesystem with Soft Updates+Journaling
newfs -jU /dev/da0p1
Just in case you somehow managed to completely bork the partition table and the above does not work, use
gpart destroy -F /dev/da0
and
gpart create -s gpt /dev/da0
to create a new GPT partition table.
Then use the above commands to create partition and filesystem
Remove the last line from your
/etc/fstab.
Please look up the above commands in
gpart(8) to understand what you are doing.
the first 2 commands worked fine but the last failed, as follows;
Using inode 4 in cg 0 for 33554432 byte journal
newfs: Failed to initialize new block: Operation not permitted
newfs: soft updates journaling can not be enabled
newfs: /dev/da0p1: failed to write superblock
root@FreeBSD11:/home/Brenton #
$ su
Password:
root@FreeBSD11:/home/Brenton # newfs -jU /dev/da0p1
newfs: /dev/da0p1: failed to open disk for writing
root@FreeBSD11:/home/Brenton #
$ su
Password:
root@FreeBSD11:/home/Brenton # ee /etc/fstab
===========================
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0p2 / ufs rw 1 1
/dev/ada0p3 none swap sw 0 0
proc /proc procfs rw 0 0
.
root@FreeBSD11:/home/Brenton # sade
┌──────────────────Partition Editor────────────────────┐
│ Create partitions for FreeBSD. No changes will be │
│ made until you select Finish. │
│┌────────────────────────────────────────────────────┐│
││ada0 932 GB GPT ││
││ ada0p1 512 KB freebsd-boot ││
││ ada0p2 928 GB freebsd-ufs / ││
││ ada0p3 3.5 GB freebsd-swap none ││
││da0 932 GB GPT ││
││ da0p1 932 GB freebsd-ufs ││
││ ││
││ ││
│└────────────────────────────────────────────────────┘│
├──────────────────────────────────────────────────────┤
│<Create> <Delete> <Modify> <Revert> < Auto > <Finish> │
└──────────────────────────────────────────────────────┘
Thanks again