On Thu, 15 May 2014, Ronald F. Guilmette wrote:

1)  I placed the 1tb drive into my #2 system and then booted that system
using a recent vintage (0.18.2) version of the "Gparted Live" CD.

2)  I used Gparted to create and initialize a GPT partition table on the
drive.

3)  I used Gparted to create and initialize a single partition (containing
all free space on the drive) and had it (Gparted) create an ext3 filesystem
on that partition.

4)  I then performed a clean shutdown of Gparted.

5)  I then removed the new 1tb drive in question from my #2 desktop system
and moved it into the hot-swap rack of my main (FreeBSD 9.1-RELEASE) system
(which already contains two other drives, i.e. ada0 and ada1).

6)  I used the power switch on the rack to power on the drive.

The result of the above operations is as follows:

May 15 21:53:33 segfault kernel: ada2 at ata5 bus 0 scbus5 target 0 lun 0
May 15 21:53:33 segfault kernel: ada2: <Hitachi HTS541010A9E680 JA0OA480> ATA-8 
SATA 3.x device
May 15 21:53:33 segfault kernel: ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, 
PIO 8192bytes)
May 15 21:53:33 segfault kernel: ada2: 31MB (65134 512 byte sectors: 16H 63S/T 
64C)
May 15 21:53:33 segfault kernel: ada2: Previously was known as ad10
May 15 21:53:33 segfault kernel: GEOM_PART: integrity check failed (ada2, MBR)

Some Linuxes (Linii?) might be creating "hybrid" GPTs, with a PMBR that is non-standard. I can't speak to what Gparted does.

There is a sysctl to relax the strict checking in FreeBSD, but I would suggest using gpart(8) instead. (Backups necessary, etc., and this is off the top of my head and untested.):

# gpart destroy -F ada2
# gpart create -s gpt ada2
# gpart add -t \!0x83 -b1m -a4k ada2

(That 0x83 is for the Linux partition type. gpart(8) might have a keyword for that, like "linux" or "linux-data".)

Then newfs /dev/ada2p1 to ext2 or 3.

The steps would be nearly identical for MBR, but avoid MBR if you can.
_______________________________________________
freebsd-geom@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Reply via email to