Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 15:41:17 +0100
From:      "Erik Scholtz, ArgonSoft GmbH" <e.scholtz@argonsoft.de>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Problem with disklabel and filesystem over iSCSI
Message-ID:  <4957900D.80601@argonsoft.de>
In-Reply-To: <E1LGwPS-000B6h-Dx@kabab.cs.huji.ac.il>
References:  <4956B01B.3000509@argonsoft.de> <E1LGrjK-0007Zn-5K@kabab.cs.huji.ac.il> <49575045.4090601@argonsoft.de> <E1LGti5-0009Dv-Uo@kabab.cs.huji.ac.il> <49577118.1080700@argonsoft.de> <E1LGvW7-000ALB-Sl@kabab.cs.huji.ac.il> <4957824C.1000601@argonsoft.de> <E1LGwPS-000B6h-Dx@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, I'm trying to find a solution to this problem - I already spend 6 
whole days in testing, downloading and reading "FM"s, "HowTo"s and 
Mailinglists. I don't want to waste the time of others, so giving as lot 
information as possible and do the testing is the least I can do.

I downgraded the SAN from 1Tb to 200GB:

------------------------------------------------------------

web3# fdisk da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=26108 heads=255 sectors/track=63 (16065 blks/cyl)

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

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1

------------------------------------------------------------

Partition:
          0         63         62        -     12     unused        0
         63  419424957  419425019    da0s1      8    freebsd      165
  419425020       5380  419430399        -     12     unused        0



1) Result of newfs in compatible mode:

419256288
internal error: can't find block in cyl 0


2) Result of newfs in dangerously dedicated mode:

..., ..., ...
419256288
cg 0: bad magic number


ZFS remains the same (all cases: before and after umounting the volume 
via "zfs umount" executing the "/etc/rc.d/zfs stop" - sync before and 
after zfs stop). When starting the zfs without rebooting, the FS is 
still ok. After reboot the FS is broken again.


Again the fdisk output before the SAN was downgraded:

 >web3# fdisk /dev/da0s1
 > ******* Working on device /dev/da0s1 *******
 > parameters extracted from in-core disklabel are:
 > cylinders=3D99693 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
 >
 > Figures below won't work with BIOS for partitions not in cyl 1
 > parameters to be used for BIOS calculations are:
 > cylinders=3D99693 heads=3D255 sectors/track=3D63 (16065 blks/cyl)


Erik

-----
ArgonSoft GmbH      | Im Ermlisgrund 3      | 76337 Waldbronn
Tel: +49 7243 71520 | Fax: +49 7243 715222  | http://www.argonsoft.de
Umsatzsteuer-Identnummer: DE205762306       | Handelsregister: HRB2372E
Geschäftsführer: Erik Scholtz

Danny Braniss wrote:
> Since you seem to be in a cooperative mood :-), can you try checking
> with a smaller volume? say 200GB? either UFS or ZFS?
> the biggest I have access to is 921595 Meg and it does not show your problems.
> also, what is the Media Sector size?
> fdisk da0 should show it.
> 
> cheers,
> 	danny
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4957900D.80601>