* 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot
@ 2008-12-23 13:36 Justin Piszcz
2008-12-23 13:42 ` Christoph Hellwig
0 siblings, 1 reply; 7+ messages in thread
From: Justin Piszcz @ 2008-12-23 13:36 UTC (permalink / raw)
To: linux-kernel, linux-raid, xfs; +Cc: bug-parted
[-- Attachment #1: Type: TEXT/PLAIN, Size: 4766 bytes --]
Kernel = 2.6.27.10
Parted = 1.8.8.git.2008.03.24-11.1
Can anyone help explain the problem here?
After a reboot:
p34:~# mount /dev/sda1 /r1
mount: you must specify the filesystem type
(from dmesg)
[ 75.325551] XFS: bad magic number
[ 75.325557] XFS: SB validate failed
p34:~# xfs_repair -n /dev/sda1
Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!
attempting to find secondary superblock...
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................< no go >
So I re-did what I did before the reboot, this time though I removed the
old partition and created a new one just as I did before.
p34:~# parted /dev/sda
GNU Parted 1.8.8
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: AMCC 9650SE-16M DISK (scsi)
Disk /dev/sda: 13.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 13.0TB 13.0TB xfs
(parted) rm 1
(parted) print
Model: AMCC 9650SE-16M DISK (scsi)
Disk /dev/sda: 13.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
(parted) q
Information: You may need to update /etc/fstab.
p34:~# od -c -N 2000 /dev/sda
0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000700 001 \0 î þ ÿ ÿ 001 \0 \0 \0 ÿ ÿ ÿ ÿ \0 \0
0000720 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000760 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 U ª
0001000 E F I P A R T \0 \0 001 \0 \ \0 \0 \0
0001020 ; 213 # Ë \0 \0 \0 \0 001 \0 \0 \0 \0 \0 \0 \0
0001040 ÿ ÿ a é 005 \0 \0 \0 " \0 \0 \0 \0 \0 \0 \0
0001060 Þ ÿ a é 005 \0 \0 \0 ï * w p ê £ \a @
0001100 © ² Þ 212 225 # ½ 206 002 \0 \0 \0 \0 \0 \0 \0
0001120 200 \0 \0 \0 200 \0 \0 \0 206 Ò T « \0 \0 \0 \0
0001140 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0003720
p34:~# parted /dev/sda
GNU Parted 1.8.8
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: AMCC 9650SE-16M DISK (scsi)
Disk /dev/sda: 13.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
(parted) mklabel gpt
Warning: The existing disk label on /dev/sda will be destroyed and all data on
this disk will be lost. Do you want to continue?
parted: invalid token: gpt
Yes/No? yes
New disk label type? [gpt]?
(parted) p
Model: AMCC 9650SE-16M DISK (scsi)
Disk /dev/sda: 13.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
(parted) mkpart
Partition name? []?
File system type? [ext2]? xfs
Start? 0
End? 13T
(parted) p
Model: AMCC 9650SE-16M DISK (scsi)
Disk /dev/sda: 13.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 13.0TB 13.0TB xfs
(parted) quit
Information: You may need to update /etc/fstab.
p34:~# mount /dev/sda1 /r1
p34:~# df -h
/dev/sda1 12T 2.2T 9.8T 18% /r1
Is this normal? Now everything is fine etc, how come this information is
not kept across reboots? Are partitions broken > 10T?
p34:~# od -c -N 200000 /dev/sda| grep -E '^.*X*F*S.*$'
0042000 X F S B \0 \0 020 \0 \0 \0 \0 \0 ½ , ? ÷
p34:~# od -c -N 200000 /dev/sda| nl | grep -E '^.*X*F*S.*$'
20 0042000 X F S B \0 \0 020 \0 \0 \0 \0 \0 ½ , ? ÷
How come the information is 'lost' after a reboot?
I have done this same process with ext3 and no issues when the partition is
less than 6TiB, am I hitting some kind of bug here with parted or XFS?
Justin.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot
2008-12-23 13:36 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot Justin Piszcz
@ 2008-12-23 13:42 ` Christoph Hellwig
2008-12-23 14:50 ` Justin Piszcz
0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2008-12-23 13:42 UTC (permalink / raw)
To: Justin Piszcz; +Cc: linux-kernel, linux-raid, xfs, bug-parted
On Tue, Dec 23, 2008 at 08:36:17AM -0500, Justin Piszcz wrote:
> Kernel = 2.6.27.10
> Parted = 1.8.8.git.2008.03.24-11.1
>
> Can anyone help explain the problem here?
Can you post your kernel .config file?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot
2008-12-23 13:42 ` Christoph Hellwig
@ 2008-12-23 14:50 ` Justin Piszcz
2008-12-23 14:54 ` Christoph Hellwig
0 siblings, 1 reply; 7+ messages in thread
From: Justin Piszcz @ 2008-12-23 14:50 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-kernel, linux-raid, xfs, bug-parted
On Tue, 23 Dec 2008, Christoph Hellwig wrote:
> On Tue, Dec 23, 2008 at 08:36:17AM -0500, Justin Piszcz wrote:
>> Kernel = 2.6.27.10
>> Parted = 1.8.8.git.2008.03.24-11.1
>>
>> Can anyone help explain the problem here?
>
> Can you post your kernel .config file?
>
http://home.comcast.net/~jpiszcz/20081223/config-2.6.27.10.txt
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot
2008-12-23 14:50 ` Justin Piszcz
@ 2008-12-23 14:54 ` Christoph Hellwig
2008-12-23 15:49 ` Justin Piszcz
0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2008-12-23 14:54 UTC (permalink / raw)
To: Justin Piszcz
Cc: Christoph Hellwig, linux-raid, bug-parted, linux-kernel, xfs
On Tue, Dec 23, 2008 at 09:50:26AM -0500, Justin Piszcz wrote:
>
>
> On Tue, 23 Dec 2008, Christoph Hellwig wrote:
>
> > On Tue, Dec 23, 2008 at 08:36:17AM -0500, Justin Piszcz wrote:
> >> Kernel = 2.6.27.10
> >> Parted = 1.8.8.git.2008.03.24-11.1
> >>
> >> Can anyone help explain the problem here?
> >
> > Can you post your kernel .config file?
> >
>
> http://home.comcast.net/~jpiszcz/20081223/config-2.6.27.10.txt
Without CONFIG_EFI_PARTITION the kernel won't find your gpt labels. See
http://xfs.org/index.php/XFS_FAQ#Q:_Why_does_my_.3E_2TB_XFS_partition_disappear_when_I_reboot_.3F
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot
2008-12-23 14:54 ` Christoph Hellwig
@ 2008-12-23 15:49 ` Justin Piszcz
2008-12-23 16:03 ` Eric Sandeen
0 siblings, 1 reply; 7+ messages in thread
From: Justin Piszcz @ 2008-12-23 15:49 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-raid, bug-parted, linux-kernel, xfs
On Tue, 23 Dec 2008, Christoph Hellwig wrote:
> On Tue, Dec 23, 2008 at 09:50:26AM -0500, Justin Piszcz wrote:
>>
>>
>> On Tue, 23 Dec 2008, Christoph Hellwig wrote:
>>
>>> On Tue, Dec 23, 2008 at 08:36:17AM -0500, Justin Piszcz wrote:
>>>> Kernel = 2.6.27.10
>>>> Parted = 1.8.8.git.2008.03.24-11.1
>>>>
>>>> Can anyone help explain the problem here?
>>>
>>> Can you post your kernel .config file?
>>>
>>
>> http://home.comcast.net/~jpiszcz/20081223/config-2.6.27.10.txt
>
> Without CONFIG_EFI_PARTITION the kernel won't find your gpt labels. See
>
> http://xfs.org/index.php/XFS_FAQ#Q:_Why_does_my_.3E_2TB_XFS_partition_disappear_when_I_reboot_.3F
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Christoph,
Thank you-- enabled, rebooted, success.
Steps performed/location in menuconfig:
$ make menuconfig
$ File systems
$ Partition Types
$ Hit 'Y'
$ Enable this: [X] EFI GUID Partition support (NEW)
Better question as well, need to find out if KNOPPIX or distro-CDs support
this option, if one to boot into recovery and this option was not
enabled.. that would not be fun.
Justin.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot
2008-12-23 15:49 ` Justin Piszcz
@ 2008-12-23 16:03 ` Eric Sandeen
2008-12-23 16:21 ` Christoph Hellwig
0 siblings, 1 reply; 7+ messages in thread
From: Eric Sandeen @ 2008-12-23 16:03 UTC (permalink / raw)
To: Justin Piszcz
Cc: Christoph Hellwig, linux-raid, xfs, bug-parted, linux-kernel
Justin Piszcz wrote:
> Better question as well, need to find out if KNOPPIX or distro-CDs support
> this option, if one to boot into recovery and this option was not
> enabled.. that would not be fun.
I'd think most do... Fedora does, at least.
-Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot
2008-12-23 16:03 ` Eric Sandeen
@ 2008-12-23 16:21 ` Christoph Hellwig
0 siblings, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2008-12-23 16:21 UTC (permalink / raw)
To: Eric Sandeen
Cc: Justin Piszcz, Christoph Hellwig, linux-raid, bug-parted,
linux-kernel, xfs
On Tue, Dec 23, 2008 at 10:03:59AM -0600, Eric Sandeen wrote:
> Justin Piszcz wrote:
>
>
> > Better question as well, need to find out if KNOPPIX or distro-CDs support
> > this option, if one to boot into recovery and this option was not
> > enabled.. that would not be fun.
>
> I'd think most do... Fedora does, at least.
It might be time to have gpt partition support in the x86 defconfig, and
without CONFIG_PARTITION_ADVANCED.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-12-23 16:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-23 13:36 2.6.27.10: cannot mount xfs filesystem partition (12TiB) after reboot Justin Piszcz
2008-12-23 13:42 ` Christoph Hellwig
2008-12-23 14:50 ` Justin Piszcz
2008-12-23 14:54 ` Christoph Hellwig
2008-12-23 15:49 ` Justin Piszcz
2008-12-23 16:03 ` Eric Sandeen
2008-12-23 16:21 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).