From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Berger Subject: Re: Filesystem on RAID5 missing or corrupted after reboot (bad superblock error) Date: Fri, 23 Jan 2009 16:34:05 -0600 Message-ID: <497A45DD.4020107@mike01.com> References: <497A226D.9030807@mike01.com> <497A387B.9000300@mike01.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Justin Piszcz Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids Justin Piszcz wrote: > > > On Fri, 23 Jan 2009, Mike Berger wrote: > >> Justin Piszcz wrote: >>> >>> Hi, >>> >>> If you are using GPT partitions, the kernel will not recognize them >>> after stop/start or a reboot unless you have this option enabled in the >>> kernel: >>> >>> CONFIG_EFI_PARTITION=y >>> >>> Also, why use a GPT partition, do you have individual HDDs over 2TiB? >>> If not, just make a regular partition on each HDD with fdisk and make >>> it type >>> 'fd'? >>> >>> Justin. >> This seems likely to be the problem. >> CONFIG_LBD=y >> CONFIG_EFI=y >> CONFIG_FB_EFI=y >> CONFIG_PARTITION_ADVANCED=y >> # CONFIG_EFI_VARS is not set >> # CONFIG_EFI_PARTITION is not set >> >> >> I've got a kernel building now with CONFIG_EFI_PARTITION=y so I will >> know shortly. >> >> My thinking with the GPT partition table was to be more future proof. >> I'm already using 1.5 TiB drives, so it seems likely I would transition >> to 2 TiB or larger drives whenever I replaced these or added to the >> array. Do you know if using a traditional/msdos partition table now >> would be an issue if I wanted to migrate to larger disks in the future? >> >> Thanks, >> Mike >> > > In that case, use GPT. Who knows, maybe next year there will be > 2T > disks > and in that case you need GPT I believe.. > > Justin. Just wanted to say thanks (and leave a trail for those who may google with similar problems and find the archives). After setting CONFIG_EFI_PARTITION=y and building a new kernel the filesystem showed up again on reboot and things are working great. Mike