Problem with disklabel and filesystem over iSCSI

Danny Braniss danny at cs.huji.ac.il
Sun Dec 28 14:14:28 UTC 2008


> Danny Braniss wrote:
> >> ok, i started the system in single-user-mode and brought up the iSCSI 
> >> connection. I tried to install the ufs first, after each step I synced. 
> >>   No change - problem remains the same (newfs is failing).
> >>
> >> Then I installed the ZFS again, also synced after each step, then 
> >> unmounted the iSCSI device, synced again (always at least three times). 
> >> Then rebooted the system (going to single-user-mode again) and the ZFS 
> >> is corrupted again with the same message.
> >>
> > in the case of zfs, you have to
> > 	 /etc/rc.d/zfs stop
> >
> 
> I used the "zfs umount tank" command. I now tried it with "/etc/rc.d/zfs 
> stop" (both cases: before and after umounting the volume via "zfs 
> umount") and synced again. Still the effect remains the same: After 
> reboot the filesystem is corrupted and unreadable.
> 
> >> I don't think the buffers are the problem.
> >>
> > are you sure that the iscsi target is only used by the freebsd host?
> 
> 100% for sure. The SAN is (at the moment) connected via Cross-Cable 
> directly to the FreeBSD-Box, so has only a dedicated connection. Before 
> that it was connected over a seperate Cisco 520G Switch, only used by 
> the SAN and the FreeBSD Box.
> The networkcard is a INTEL 1GBit. Also tried it with a nVidia nForce Pro 
> 3400 (also 1GBit). I also played with the MTU sizes: at the moment it is 
> default (1500) - but other sizes (jumbo size 9000) also do not change 
> anything (I made sure, both sides (SAN and FreeBSD) uses the same size).

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