Subject: Can't mount large ext2 partition on amd64
To: NetBSD current <current-users@netbsd.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 11/14/2003 13:46:35
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 ?
Thanks in advance,
Regards.
root@ibm1 [~]# uname -a
NetBSD ibm1.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@ibm1 [~]# disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: mydisk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 567
tracks/cylinder: 4
sectors/cylinder: 2268
cylinders: 31310
total sectors: 71096640
rpm: 15015
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
7 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 71096640 0 unused 0 0 # (Cyl. 0 - 31347*)
e: 256977 63 Linux Ext2 0 0 # (Cyl. 0*- 113*)
f: 8385930 257040 swap # (Cyl. 113*- 3810*)
g: 62444655 8642970 Linux Ext2 0 0 # (Cyl. 3810*- 31343*)
disklabel: boot block size 0
disklabel: super block size 0
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.