Est' dve mashini FreeBSD 7.0 - initiator Linux CentOS 5 2.6.18-53.1.13.el5 -target + initiator
posle montirovanija na Freebsd particij delaem diriktoriju, eta derektorija ne vidna na linux posle mount umoun vse diriktorie pojavljautsja na oboix masinax.
v freebsd vidaet Mar 4 00:06:31 kernel: 0] ism_recv: we lost some rec=0xb2 exp=0x0 -------------------------------------- FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
# iscontrol -d targetaddress=185.15.113.113 initiatorname=n.2001-04.com.example TargetName=iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz TargetAddress=185.15.113.113:3260,1 # iscontrol targetaddress=185.15.113.113 initiatorname=n.2001-04.com.example TargetName=iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz # mount_msdosfs -o rw /dev/da0s1 /mnt/root/ # ls -l /mnt/root/ total 2 drwxr-xr-x 1 root wheel 2048 Mar 5 01:55 testLinux # mkdir /mnt/root/testFreeebsd # ls -l /mnt/root/ total 4 drwxr-xr-x 1 root wheel 2048 Mar 4 00:06 testFreeebsd drwxr-xr-x 1 root wheel 2048 Mar 5 01:55 testLinux Na linux toka : testLinux [centos]# ls -l /mnt/ total 2 drwxr-xr-x 2 root root 2048 Mar 5 01:55 testLinux [centos]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sdc1 94M 2.0K 94M 1% /mnt [centos]# umount /mnt/ [centos]# mount /dev/sdc1 /mnt/ [centos]# ls -l /mnt/ total 4 drwxr-xr-x 2 root root 2048 Mar 4 00:06 testFreeebsd drwxr-xr-x 2 root root 2048 Mar 5 01:55 testLinux
posle razmotirovanija vidit vse takze esli sodaetsja papka na Freebsd delaem
# umount /mnt/root/ # mount_msdosfs -o rw /dev/da0s1 /mnt/root/ # ls -l /mnt/root/ total 4 drwxr-xr-x 1 root wheel 2048 Mar 4 00:06 testFreeebsd drwxr-xr-x 1 root wheel 2048 Mar 5 01:55 testLinux
i toze vse vidit ;-( particiju na ext2fs ne montiruet Mar 4 00:14:12 kernel: WARNING: R/W mount denied. Filesystem is not clean - run fsck
# mount -o rw -t ext2fs /dev/da0s2 /mnt/home/ mount: /dev/da0s2 : Operation not permitted