Subject: Re: Can't mount large ext2 partition on amd64
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 11/18/2003 11:16:52
On Fri, Nov 14, 2003 at 09:43:54PM +0100, Manuel Bouyer wrote:
> On Fri, Nov 14, 2003 at 01:46:35PM +0100, Nicolas Joly wrote:
> >
> > We recently installed an amd64 machine, using -current (20031113,
> > locally cross-builded from i386).
> >
> > It came with 2 (IBM 36GB) SCSI disks. sd0 holds a RedHat linux
> > distribution, and i installed NetBSD on sd1. The linux disk has 2 EXT3
> > primary partitions for `/boot' (128MB) and `/' (31GB).
> >
> > I can successfuly mount the small `/boot' partition, but i got
> > problems with the large one :
> >
> > root@ibm1 [~]# mount -t ext2fs /dev/sd0e /mount/linux/boot
> > root@ibm1 [~]# mount -t ext2fs /dev/sd0g /mount/linux/root
> > mount_ext2fs: /dev/sd0g on /mount/linux/root: Read-only file system
> > root@ibm1 [~]# mount
> > /dev/sd1a on / type ffs (local)
> > /dev/sd1f on /var type ffs (local)
> > /dev/sd1e on /usr type ffs (local)
> > /dev/sd1g on /home type ffs (local)
> > /dev/sd1h on /local type ffs (local)
> > kernfs on /kern type kernfs (local)
> > /dev/sd0e on /mount/linux/boot type ext2fs (local)
> >
> > Did i missed anything ? Is there a size limit for ext2fs partitions ?
>
> Could be an issue with ext2fs extentions that we don't support yet.
> Does anyone remember how to see ext2fs extentions in use on a filesystem ?
After a fsck under linux, problem solved. I can now mount this
partition without any problem ...
We have an other amd64 machine running RedHat and NetBSD. All linux
partitions mounted fine under NetBSD ...
But the linux crashed yesterday ... Reboot under linux, all EXT3
partitions seems fine. Reboot under NetBSD, which can't mount one
partition `/dev/sd1g' (linux root) and told me to make a fsck
manually. I tried it, but it crashed :
root@calimero [~]# fsck_ext2fs /dev/rsd1g
** /dev/rsd1g
BAD SUPER BLOCK: INCOMPATIBLE FEATURE BITS IN SUPER BLOCK
zsh: floating point exception (core dumped) fsck_ext2fs /dev/rsd1g
I can understand that NetBSD cannot repair EXT3 filesystems. But i
wanted to report the fsck_ext2fs program crash.
root@calimero [~]# uname -a
NetBSD calimero.sis.pasteur.fr 1.6ZF NetBSD 1.6ZF (GENERIC.MP) #4: Thu Nov 13 11:51:35 CET 2003 njoly@hal.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/GENERIC.MP amd64
root@calimero [~]# disklabel sd1
# /dev/rsd1d:
type: SCSI
disk: mydisk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 651
tracks/cylinder: 3
sectors/cylinder: 1953
cylinders: 36703
total sectors: 71687340
rpm: 10000
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 71687340 0 unused 0 0 # (Cyl. 0 - 36706*)
e: 256977 63 Linux Ext2 0 0 # (Cyl. 0*- 131*)
f: 16771860 257040 swap # (Cyl. 131*- 8719*)
g: 8385930 17028900 Linux Ext2 0 0 # (Cyl. 8719*- 13013*)
h: 46267200 25414830 Linux Ext2 0 0 # (Cyl. 13013*- 36703*)
disklabel: boot block size 0
disklabel: super block size 0
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.