So, I have built a FreeBSD 13.2-RELEASE today on my shop computer. That has 3 HDDs in it, and an installation of Windoze10 on one of those. 2 of the others are 2TB drives, one of which now has my new installation of FreeBSD on it. The other one HAD a complete installation of FreeBSD on it, but yesterday that took a long hike. But no matter.
I have also enabled USB-drive use from the Handbook's info. Good deal.
So, now I want to use the other 2TB drive for....something, but cannot delete the partitions on it.
That drive is /dev/ada1. For some reason it was automatically being mounted in /etc/fstab. When I do
OK. Let's see what
OK so I decide to do
I really don't want to yank the drive, haul it to my office, and wipe it on that computer, then haul it back to the shop.
So what am I doing wrong? According to everything I have read on this subject today, from the Handbook and from the Forum, it should have worked.
Ken Gordon
I have also enabled USB-drive use from the Handbook's info. Good deal.
So, now I want to use the other 2TB drive for....something, but cannot delete the partitions on it.
That drive is /dev/ada1. For some reason it was automatically being mounted in /etc/fstab. When I do
mount
, I see that it is mounted as /dev/ada1a. So, I do umount -a -f UFS
, then do mount
again and it is still shown. So, I do umount -a -f
, and mount
again and it is still there.OK. Let's see what
gpart show /dev/ada1
has to say for itself. It shows the drive with its two partitions, 1 with "freebsd-ufs" and 2 with "freebsd-swap"OK so I decide to do
gpart delete -i swap /dev/ada1b
and I get a "Device busy" message, which says to me that it is still mounted. (Duh)I really don't want to yank the drive, haul it to my office, and wipe it on that computer, then haul it back to the shop.
So what am I doing wrong? According to everything I have read on this subject today, from the Handbook and from the Forum, it should have worked.
Ken Gordon