From: Alex <ro...@ya...> - 2004-04-01 00:09:25
|
Hi, I also faced that problem before. Seems that there is a bug in coLinux with calculating size of partition(or maybe its windows reports zero size to coLinux, dunno). I fixed it by patching reiserfs driver in kernel, its easy, just find that error message in fs/reiserfs(it should be in super.c if i remember correctly) and comment out condition where it resides. After this fix it works OK for me. Milind Kamble wrote: > I have updated to coLinux-0.6.0 and use > Debian-3.0r0 filesystem image to boot into Linux. > I am having trouble mounting a reiserfs partition when > colinux is booted up. The setup I have is follows: > I have a 15G extended partition seperate from the > Windows XP partition. It has 4 logical partitions > within it, which were created using Knoppix, and then > formatted using mkfs.reiserfs > The mapping has been setup correctly to use raw disk > in default.colinux.xml so that the partitions are > accessible as /dev/cobd[2345] etc. > Sample entry from default.colinux.xml: > <block_device index="2" > path=\Device\Harddisk0\Partition2" enabled="true"/> > > Note: the partition is the first logical partition in > the extended partition -- so from XP point of view, > the partition is number 2 > > However when I try to mount I get the following error > message: > > colinux-mbk:~# mount -t reiserfs /dev/cobd3 /mnt/tmp > reiserfs: found format "3.6" with standard journal > Filesystem on 75:03 cannot be mounted because it is > bigger than the device > You may need to run fsck or increase size of your LVM > partition > Or may be you forgot to reboot after fdisk when it > told you to > mount: wrong fs type, bad option, bad superblock on > /dev/cobd3, > or too many mounted file systems > (could this be the IDE device where you in fact > use > ide-scsi so that sr0 or sda or so is needed?) > > Then I tried running mkfs.reiserfs from colinux as > follows: > > colinux-mbk:~# mkfs.reiserfs /dev/cobd2 > All data on /dev/cobd2 will be lost. Do you really > want to create reiser filesystem(v3.6) (y/n) y > Error: Invalid filesystem size (0). > Error: Couldn't create filesystem on /dev/cobd2 > > So it seems that the size of /dev/cobd2 is reported to > be 0, where as actual size is 2G. > > Any clues what is going wrong? > > When I reformatted the partition to ext3, they can be > mounted with no problems in colinux. > > Thanks > > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > > -- With best regards, Alex |