From: Jack <jiangpeirong@qi...> - 2005-04-23 16:30:11
i met a strange problem.
root.old it works normally . but ony 600M,
and i build a new 1g , but the new filesystem doesn't work . any advices?
dd if=/dev/zero of = newfs bs=1k count=1 seek=$[1024*1024]
mkfs -t ext3 newfs
mount -o loop oldfs /mnt/old
mount -o loop newfs /mnt/new
cp -a /mnt/old/* /mnt/new
linux ubd0=old , still works.
linux ubd0=new , can't work , hangle on " Checking root filesystem
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/ubd/0
fsck.ext3: Filesystem has unsupported feature(s) (/dev/ubd/0)
e2fsck: Get a newer version of e2fsck!
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
why ...., killed me.
From: Gordon Russell <drgrussell@gm...> - 2005-04-23 18:58:11
Any chance you are running mkfs on a fedora or redhat machine?
I ran into a problem with this, where fedora/redhat has patched ext3
with some new features, which then break non fedora guests. I think
the new features are related to large filesystems.
If so download reiserutils and use reiserfs instead. Maybe do that anyway!
I had to switch to install a gentoo image, and discovered reiser uses
half the disk blocks of ext3. Your milage may vary...
On 4/23/05, Jack <jiangpeirong@...> wrote:
> mkfs -t ext3 newfs
> fsck.ext3: Filesystem has unsupported feature(s) (/dev/ubd/0)
> e2fsck: Get a newer version of e2fsck!
From: Frank Sorenson <frank@tu...> - 2005-04-23 19:01:18
-----BEGIN PGP SIGNED MESSAGE-----
| linux ubd0=old , still works.
| linux ubd0=new , can't work , hangle on " Checking root filesystem
| [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/ubd/0
| fsck.ext3: Filesystem has unsupported feature(s) (/dev/ubd/0)
| e2fsck: Get a newer version of e2fsck!
The version of e2fsprogs on your host machine is newer than the version
of e2fsprogs on the UML root filesystem. You can either upgrade e2fsck
in the UML as the error suggests, create the filesystem without the
'unsupported' features, or change the features with tune2fs.
To see a list of filesystem features:
dumpe2fs root_fs | grep features
To add/remove filesystem features:
tune2fs -O^resize_inode rootfs
I'd guess that your new filesystem was created with the 'resize_inode'
feature, but you may have to try other options before finding the right
feature to turn off.
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department
Brigham Young University
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----