UFS usb external disk acting weird

/dev/ada0
Code:
I have 3 other usb drives with ufs mounted and working.
I am not sure what happened with this 4th disk, I wonder
if I somehow had an unsuccesful install which picked
this disk since it seems to have efi and swap partition.
I had used it a year ago to hold torrent files like
books movies.
It constantly says device busy.

root@drizzle-drizzle:~ # gpart show ada0
=>       40  488397088  ada0  GPT  (233G)
         40     532480     1  efi  (260M)
     532520  479715320     2  freebsd-ufs  (229G)
  480247840    8149288     3  freebsd-swap  (3.9G)
 
root@drizzle-drizzle:~ # gpart destroy  /dev/ada0
gpart: Device busy

I even started zfs and tried to make a zpool, with idea to
suck all the torrent files into 1 zpool with all 4 usb disks:

root@drizzle-drizzle:~ # zpool create titsborg /dev/ada0
cannot create 'titsborg': no such pool or dataset

This is is one ornrey bastard.

Any one know how I can press it back into duty?
 
I doubt that /dev/ada0 is USB.

cat /etc/fstab | grep -v \#

What's in the file?

geom disk list

What's listed?

gpart show

gpart show -l

What's shown?
Code:
root@drizzle-drizzle:~ # cat /etc/fstab | grep -v \#
/dev/ada0p2     /               ufs     rw      1       1
/dev/ada0p1     /boot/efi               msdosfs rw      2       2
/dev/ada0p3     none            swap    sw      0       0
root@drizzle-drizzle:~ # d
you have mail
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada0p2    222G     53G    151G    26%    /
devfs          1.0K      0B    1.0K     0%    /dev
/dev/ada0p1    260M    1.3M    259M     1%    /boot/efi
/dev/da2p2     5.3T    4.7T    142G    97%    /a
/dev/da1p1     3.5T    3.1T    147G    96%    /b
/dev/da0p1     3.5T    3.2T     65G    98%    /d



root@drizzle-drizzle:~ # geom disk list
Geom name: ada0
Providers:
1. Name: ada0
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r3w3e5
   descr: CT250MX500SSD1
   lunid: 500a0751e144b35f
   ident: 1825E144B35F
   rotationrate: 0
   fwsectors: 63
   fwheads: 16

Geom name: cd0
Providers:
1. Name: cd0
   Mediasize: 0 (0B)
   Sectorsize: 2048
   Mode: r0w0e0
   descr: hp HLDS DVDRW  GUD1N
   ident: (null)
   rotationrate: unknown
   fwsectors: 0
   fwheads: 0

Geom name: da0
Providers:
1. Name: da0
   Mediasize: 4000787025920 (3.6T)
   Sectorsize: 4096
   Mode: r1w1e2
   descr: Seagate Backup+ Desk
   lunid: 5000000000000001
   ident: NA5L1SYJ
   rotationrate: unknown
   fwsectors: 63
   fwheads: 255

Geom name: da1
Providers:
1. Name: da1
   Mediasize: 4000786149376 (3.6T)
   Sectorsize: 4096
   Mode: r1w1e2
   descr: HGST
   ident: 31001306280002100241
   rotationrate: unknown
   fwsectors: 63
   fwheads: 255

Geom name: da2
Providers:
1. Name: da2
   Mediasize: 6001140957184 (5.5T)
   Sectorsize: 4096
   Mode: r1w1e2
   descr: WD My Book 1230
   lunname: WD      My Book 1230    WXL1H643533S
   lunid: 50014eef09a5e820
   ident: 57584C314836343335333353
   rotationrate: 5700
   fwsectors: 63
   fwheads: 255




root@drizzle-drizzle:~ # gpart show
=>       40  488397088  ada0  GPT  (233G)
         40     532480     1  efi  (260M)
     532520  479715320     2  freebsd-ufs  (229G)
  480247840    8149288     3  freebsd-swap  (3.9G)

=>        6  976754634  da0  GPT  (3.6T)
          6  976754634    1  freebsd-ufs  (3.6T)

=>        6  976754420  da1  GPT  (3.6T)
          6        250       - free -  (1.0M)
        256  976753920    1  freebsd-ufs  (3.6T)
  976754176        250       - free -  (1.0M)

=>         6  1465122293  da2  GPT  (5.5T)
           6       66560    1  efi  (260M)
       66566  1464007680    2  freebsd-ufs  (5.5T)
  1464074246     1048053    3  freebsd-swap  (4.0G)

root@drizzle-drizzle:~ # ls /dev
acpi                    cuau0.init              drm                     iic4                    mixer2                  reroot                  ttyv1                   ugen0.6
ada0                    cuau0.lock              dsp0                    iic5                    mlx5ctl                 sequencer0              ttyv2                   uinput
ada0p1                  cuau2                   dsp1                    input                   music0                  ses0                    ttyv3                   ukbd0
ada0p2                  cuau2.init              dsp2                    io                      netdump                 ses1                    ttyv4                   ums0
ada0p3                  cuau2.lock              dumpdev                 kbd0                    netmap                  sndstat                 ttyv5                   urandom
apm                     da0                     efi                     kbd1                    null                    stderr                  ttyv6                   usb
apmctl                  da0p1                   enc@n3061686369656d30   kbd2                    pass0                   stdin                   ttyv7                   usbctl
atkbd0                  da1                     fd                      kbdmux0                 pass1                   stdout                  ttyv8                   wmistat0
audit                   da1p1                   fido                    klog                    pass2                   sysmouse                ttyv9                   wmistat1
auditpipe               da2                     full                    kmem                    pass3                   tcp_log                 ttyva                   wmistat2
bpf                     da2p1                   geom.ctl                led                     pass4                   ttyu0                   ttyvb                   xpt0
bpf0                    da2p2                   gptid                   log                     pass5                   ttyu0.init              ufssuspend              zero
cd0                     da2p3                   hpet0                   mdctl                   pass6                   ttyu0.lock              ugen0.1                 zfs
console                 devctl                  iic0                    mem                     pci                     ttyu2                   ugen0.2
consolectl              devctl2                 iic1                    midistat                pfil                    ttyu2.init              ugen0.3
ctty                    devstat                 iic2                    mixer0                  pts                     ttyu2.lock              ugen0.4
cuau0                   dri                     iic3                    mixer1                  random                  ttyv0                   ugen0.5
root@drizzle-drizzle:~ # mount
/dev/ada0p2 on / (ufs, local, soft-updates, journaled soft-updates)
devfs on /dev (devfs)
/dev/ada0p1 on /boot/efi (msdosfs, local)
/dev/da2p2 on /a (ufs, local, soft-updates, journaled soft-updates)
/dev/da1p1 on /b (ufs, local, soft-updates, journaled soft-updates)
/dev/da0p1 on /d (ufs, local, soft-updates, journaled soft-updates)
root@drizzle-drizzle:~ # gpart show -l
=>       40  488397088  ada0  GPT  (233G)
         40     532480     1  (null)  (260M)
     532520  479715320     2  (null)  (229G)
  480247840    8149288     3  (null)  (3.9G)

=>        6  976754634  da0  GPT  (3.6T)
          6  976754634    1  (null)  (3.6T)

=>        6  976754420  da1  GPT  (3.6T)
          6        250       - free -  (1.0M)
        256  976753920    1  (null)  (3.6T)
  976754176        250       - free -  (1.0M)

=>         6  1465122293  da2  GPT  (5.5T)
           6       66560    1  (null)  (260M)
       66566  1464007680    2  (null)  (5.5T)
  1464074246     1048053    3  (null)  (4.0G)
 
Ok it seems I am being dumb.
ada0 is my ssd root disk.

ok unplug 4th usb disk and plug back in:

dmesg shows nothing, its like the disk is not even seen by the os...
 
Back
Top