Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2017 10:31:32 +0000
From:      Bob Bishop <rb@gid.co.uk>
To:        Walter Parker <walterp@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: GPT partition gets erased on boot
Message-ID:  <4DBDE77E-3847-4966-BDBD-53CD8C6A7754@gid.co.uk>
In-Reply-To: <CAMPTd_A88LEsKwOC6QG_dui1Kye=JMDDkYDRpa4HJkTSzqehkQ@mail.gmail.com>
References:  <CAMPTd_A88LEsKwOC6QG_dui1Kye=JMDDkYDRpa4HJkTSzqehkQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

> On 13 Nov 2017, at 04:59, Walter Parker <walterp@gmail.com> wrote:
> 
> Hi,
> 
> I'm setting up an old Sunfire X4140 system with 4 SAS drives plugged into
> the SUN STK controller. Each drive is configured as a separate device.
> 
> I ran the FreeBSD 11.1 installer and picked guided ZFS install where I
> selected RAID10 (2 2way mirrors) using aacd0, aacd1, aacd2, and aacd3. It
> installed the system and rebooted.
> 
> When the new system came up, zpool status complained that aacd0p3 was
> unavailable. Looking at /dev, I noticed that the only dev file was aacd0
> (aacd0p* were all missing). Using gpart on aacd0 it said there was no geom.
> I was able to run gpart create to recreate the drive geom and then gpart
> add to readd all of the partitions. After recreating aacd0p3, I was even
> able to run zpool replace -f zroot /dev/aacd0p3 and the pool resilvered and
> stopped complaining.
> 
> On the next boot, aacd0 was missing all of its partitions.
> 
> What would cause the partitions on a ZFS drive to disappear?

At a guess, the controller is writing its metadata to the disk and trampling on the gpart data.

> Thank you,
> 
> 
> Walter
> 
> -- 
> The greatest dangers to liberty lurk in insidious encroachment by men of
> zeal, well-meaning but without understanding.   -- Justice Louis D. Brandeis
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 

--
Bob Bishop
rb@gid.co.uk







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DBDE77E-3847-4966-BDBD-53CD8C6A7754>