Date: Sat, 18 Apr 2015 02:52:51 +0000 From: heasley <heas@shrubbery.net> To: freebsd-questions@freebsd.org Subject: Hot swap SATA drive & /dev nodes w/ GPT Message-ID: <20150418025251.GL54669@shrubbery.net>
next in thread | raw e-mail | index | archive | help
Having hot swapped a SATA drive (either on an LSI 9750 or a PEXSAT34RH SATA ctlr) with a new drive that already has GPT label on it from another fbsd machine - or having accidentally deleted the wrong JBOD and recreating it, the disk or unit do not reappear in /dev/da* or /dev/gpt. Though gpart remembers part of the information. Is there some command to cause the kernel to reread the GPT? In this specific case, da2 was detached by the controller due to ECC errors. I mangled the tw_cli command to remove da2 and killed da3. I managed to get da2 reattached, but its not in /dev, though camcontrol sees it. Yesterday, I ejected a drive on a different machine and it brushed against its neighbor and they both popped out. reinserting the neighbor resulted in similar behavior. reinserting it in another slow on the controller did not help. i inserted it in a slot on a different PEXSAT34RH ctlr and it came back normally. # camcontrol devlist -v scbus0 on isci0 bus 0: <> at scbus0 target -1 lun ffffffff () scbus1 on isci0 bus 1: <> at scbus1 target -1 lun ffffffff () scbus2 on tws0 bus 0: <LSI 9750-4i DISK 5.12> at scbus2 target 0 lun 0 (pass0,da0) <LSI 9750-4i DISK 5.12> at scbus2 target 1 lun 0 (pass1,da1) <LSI 9750-4i DISK 5.12> at scbus2 target 2 lun 0 (pass2,da2) <LSI 9750-4i DISK 5.12> at scbus2 target 3 lun 0 (da3) <> at scbus2 target -1 lun ffffffff () .... da2 at tws0 bus 0 scbus2 target 2 lun 0 da2: <LSI 9750-4i DISK 5.12> s/n 6VP2K70V29405300E470 detached da3 at tws0 bus 0 scbus2 target 3 lun 0 da3: <LSI 9750-4i DISK 5.12> s/n 5N47562429405300BF0C detached tws0: INFO: (0x04: 0x0090): Unit now in active mode: unit=2 Geom name: da2 Providers: 1. Name: da2p3 Mediasize: 17179869184 (16G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2148028416 Mode: r1w1e1 Consumers: 1. Name: da2 Mediasize: 749988741120 (698G) Sectorsize: 512 Mode: r1w1e2 Geom name: da3 Providers: 1. Name: da3p3 Mediasize: 17179869184 (16G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2148028416 Mode: r1w1e1 Consumers: 1. Name: da3 Mediasize: 749988741120 (698G) Sectorsize: 512 Mode: r1w1e2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150418025251.GL54669>