Re: mounting linux ext3 partition

2003-08-27 Thread Shantanu Mahajan
+-- Joshua Oreman [freebsd] [26-08-03 21:21 IST]:
| On Tue, Aug 26, 2003 at 01:03:33AM -0400 or thereabouts, dave wrote:
|  Hello,
|  I'm trying to mount a linux ext3 partition. I understand that it's
|  possible to do it using the ext2 kernel driver so i've recompiled a kernel
|  with that option in it. When i do:
|  mount_ext2fs /dev/ad1 /mnt
|  this is what i get.
|  
|  ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  WARNING: mount of ad1s1 denied due to unsupported optional features
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  WARNING: mount of ad1s1 denied due to unsupported optional features
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
| 
| I think your drive is marked dirty. Please mount/umount it in Linux
| and try again.
| 
| BTW: ext3 is compatible w/ext2 *ONLY* when the dirty bit is unset. When
|  it is set, journal rollback is necessary which only ext3 can handle.


to check ext2/3 file system in FreeBSD, checkout the
port
/usr/ports/sysutils/fsck_ext2fs

It worked for me.
| 
| -- Josh
| 
|  
|  Any help appreciated.
|  Dave.
|  

-- 
Regards,
Shantanu Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting linux ext3 partition

2003-08-26 Thread dave
Hello,
I'm trying to mount a linux ext3 partition. I understand that it's
possible to do it using the ext2 kernel driver so i've recompiled a kernel
with that option in it. When i do:
mount_ext2fs /dev/ad1 /mnt
this is what i get.

ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
WARNING: mount of ad1s1 denied due to unsupported optional features
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
WARNING: mount of ad1s1 denied due to unsupported optional features
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
ext2fs: ad1: wrong magic number 0 (expected 0xef53)

ad1 is a slave drive. Here is the fdisk output.

*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 63, size 78156162 (38162 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

Any help appreciated.
Dave.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting linux ext3 partition

2003-08-26 Thread Joshua Oreman
On Tue, Aug 26, 2003 at 01:03:33AM -0400 or thereabouts, dave wrote:
 Hello,
 I'm trying to mount a linux ext3 partition. I understand that it's
 possible to do it using the ext2 kernel driver so i've recompiled a kernel
 with that option in it. When i do:
 mount_ext2fs /dev/ad1 /mnt
 this is what i get.
 
 ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 WARNING: mount of ad1s1 denied due to unsupported optional features
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 WARNING: mount of ad1s1 denied due to unsupported optional features
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)

I think your drive is marked dirty. Please mount/umount it in Linux
and try again.

BTW: ext3 is compatible w/ext2 *ONLY* when the dirty bit is unset. When
 it is set, journal rollback is necessary which only ext3 can handle.

-- Josh

 
 Any help appreciated.
 Dave.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting linux ext3 partition

2003-08-26 Thread Frank Ruell
dave [EMAIL PROTECTED] writes:

 mount_ext2fs /dev/ad1 /mnt
ad1 means the whole disk.

 The data for partition 1 is:
 sysid 131 (0x83),(Linux native)
 start 63, size 78156162 (38162 Meg), flag 80 (active)
  beg: cyl 0/ head 1/ sector 1;
  end: cyl 1023/ head 254/ sector 63
Then you want ad1s1 I guess.

regards,
Frank
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]