Problem with disklabel and filesystem over iSCSI

Erik Scholtz, ArgonSoft GmbH e.scholtz at argonsoft.de
Sun Dec 28 14:41:26 UTC 2008


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
> 
> 


More information about the freebsd-scsi mailing list