The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"iscsi FreeBSD  7.0 - initiator and Linux CentOS 5  target"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [ Отслеживать ]

"iscsi FreeBSD  7.0 - initiator and Linux CentOS 5  target"  
Сообщение от zx1 email(ok) on 04-Мрт-08, 01:38 
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
Mar  4 00:06:31  kernel: 0] ism_recv: we lost some rec=0xb3 exp=0x0
Mar  4 00:06:41  kernel: 0] ism_recv: we lost some rec=0xb4 exp=0x0
Mar  4 00:06:41  kernel: 0] ism_recv: we lost some rec=0xb5 exp=0x0
Mar  4 00:06:41  kernel: 0] ism_recv: we lost some rec=0xb6 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
# kldstat
Id Refs Address            Size     Name
1    3 0xffffffff80100000 ac6c08   kernel
2    1 0xffffffff80bc7000 15898    iscsi_initiator.ko
3    1 0xffffffff8f53f000 bbaa     ext2fs.ko


# 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
# iscontrol[785]: running
iscontrol[785]: (pass0:iscsi0:0:0:0):  tagged openings now 0
iscontrol[785]: (pass1:iscsi0:0:0:1):  tagged openings now 0
iscontrol[785]: cam_open_btl: no passthrough device found at 0:0:2
iscontrol[785]: cam_open_btl: no passthrough device found at 0:0:3
iscontrol: supervise starting main loop

# 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

Vidit 2 papki
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/sda5             2.0G  356M  1.6G  19% /
/dev/sda10            131G  188M  124G   1% /mysql
/dev/sda9             965M   18M  898M   2% /tmp
/dev/sda8             1.9G  687M  1.2G  38% /usr
/dev/sda7             1.9G   36M  1.8G   2% /usr/local
/dev/sda6             4.3G  255M  3.8G   7% /var
/dev/sda1              99M   17M   78M  18% /boot
tmpfs                1003M     0 1003M   0% /dev/shm
/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


Mar  4 00:03:46  kernel: pci0: <ACPI PCI bus> on pcib0
Mar  4 00:03:46  kernel: pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
Mar  4 00:03:46  kernel: pci1: <ACPI PCI bus> on pcib1
Mar  4 00:03:46  kernel: vgapci0: <VGA-compatible display> port 0xec00-0xec7f mem 0xc8000000-0xcfffffff,0xfebe0000-0xfebfffff
irq 16 at device 0.0 on pci1
Mar  4 00:03:46  kernel: isab0: <PCI-ISA bridge> at device 2.0 on pci0
Mar  4 00:03:46  kernel: isa0: <ISA bus> on isab0
Mar  4 00:03:46  kernel: atapci0: <SiS 5513 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376 at device 2.5 on pci0
Mar  4 00:03:46  kernel: ata0: <ATA channel 0> on atapci0
Mar  4 00:03:46  kernel: ata0: [ITHREAD]
Mar  4 00:03:46  kernel: ata1: <ATA channel 1> on atapci0
Mar  4 00:03:46  kernel: ata1: [ITHREAD]
Mar  4 00:03:46  kernel: ohci0: <SiS 5571 USB controller> mem 0xfeaff000-0xfeafffff irq 20 at device 3.0 on pci0
Mar  4 00:03:46  kernel: ohci0: [GIANT-LOCKED]
Mar  4 00:03:46  kernel: ohci0: [ITHREAD]
Mar  4 00:03:46  kernel: usb0: OHCI version 1.0, legacy support
Mar  4 00:03:46  kernel: usb0: SMM does not respond, resetting
Mar  4 00:03:46  kernel: usb0: <SiS 5571 USB controller> on ohci0
Mar  4 00:03:46  kernel: usb0: USB revision 1.0
Mar  4 00:03:46  kernel: uhub0: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
Mar  4 00:03:46  kernel: uhub0: 4 ports with 4 removable, self powered
Mar  4 00:03:46  kernel: ohci1: <SiS 5571 USB controller> mem 0xfeafe000-0xfeafefff irq 21 at device 3.1 on pci0
Mar  4 00:03:46  kernel: ohci1: [GIANT-LOCKED]
Mar  4 00:03:46  kernel: ohci1: [ITHREAD]
Mar  4 00:03:46  kernel: usb1: OHCI version 1.0, legacy support
Mar  4 00:03:46  kernel: usb1: SMM does not respond, resetting
Mar  4 00:03:46  kernel: usb1: <SiS 5571 USB controller> on ohci1
Mar  4 00:03:46  kernel: usb1: USB revision 1.0
Mar  4 00:03:46  kernel: uhub1: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
Mar  4 00:03:46  kernel: uhub1: 4 ports with 4 removable, self powered
Mar  4 00:03:46  kernel: ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfeafd000-0xfeafdfff irq 23 at device 3.3 on pci0
Mar  4 00:03:46  kernel: ehci0: [GIANT-LOCKED]
Mar  4 00:03:46  kernel: ehci0: [ITHREAD]
Mar  4 00:03:46  kernel: usb2: EHCI version 1.0
Mar  4 00:03:46  kernel: usb2: companion controllers, 4 ports each: usb0 usb1
Mar  4 00:03:46  kernel: usb2: <EHCI (generic) USB 2.0 controller> on ehci0
Mar  4 00:03:46  kernel: usb2: USB revision 2.0
Mar  4 00:03:46  kernel: uhub2: <SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
Mar  4 00:03:46  kernel: uhub2: 8 ports with 8 removable, self powered
Mar  4 00:03:46  kernel: pci0: <network, ethernet> at device 4.0 (no driver attached)
Mar  4 00:03:46  kernel: atapci1: <SiS 5513 WDMA2 controller> port 0xd800-0xd807,0xd400-0xd403,0xd000-0xd007,0xcc00-0xcc03,0x
c800-0xc80f,0xc400-0xc47f irq 17 at device 5.0 on pci0
Mar  4 00:03:46  kernel: atapci1: [ITHREAD]
Mar  4 00:03:46  kernel: ata2: <ATA channel 0> on atapci1
Mar  4 00:03:46  kernel: ata2: [ITHREAD]
Mar  4 00:03:46  kernel: ata3: <ATA channel 1> on atapci1
Mar  4 00:03:46  kernel: ata3: [ITHREAD]
Mar  4 00:03:46  kernel: pcib2: <ACPI PCI-PCI bridge> at device 6.0 on pci0
Mar  4 00:03:46  kernel: pci2: <ACPI PCI bus> on pcib2
Mar  4 00:03:46  kernel: pcib3: <ACPI PCI-PCI bridge> at device 7.0 on pci0
Mar  4 00:03:46  kernel: pci3: <ACPI PCI bus> on pcib3
Mar  4 00:03:46  kernel: rl0: <RealTek 8139 10/100BaseTX> port 0xc000-0xc0ff mem 0xfeafc800-0xfeafc8ff irq 17 at device 11.0
on pci0
Mar  4 00:03:46  kernel: miibus0: <MII bus> on rl0
Mar  4 00:03:46  kernel: rlphy0: <RealTek internal media interface> PHY 0 on miibus0
Mar  4 00:03:46  kernel: rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Mar  4 00:03:46  kernel: rl0: Ethernet address: 00:08:54:41:02:1b
Mar  4 00:03:46  kernel: rl0: [ITHREAD]
Mar  4 00:03:46  kernel: pci0: <multimedia> at device 15.0 (no driver attached)
Mar  4 00:03:46  kernel: pcib4: <PCI-PCI bridge> at device 31.0 on pci0
Mar  4 00:03:46  kernel: pci4: <PCI bus> on pcib4
Mar  4 00:03:46  kernel: acpi_button0: <Power Button> on acpi0
Mar  4 00:03:46  kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
Mar  4 00:03:46  kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Mar  4 00:03:46  kernel: kbd0 at atkbd0
Mar  4 00:03:46  kernel: atkbd0: [GIANT-LOCKED]
Mar  4 00:03:46  kernel: atkbd0: [ITHREAD]
Mar  4 00:03:46  kernel: sio0: configured irq 4 not in bitmap of probed irqs 0
Mar  4 00:03:46  kernel: sio0: port may not be enabled
Mar  4 00:03:46  kernel: sio0: configured irq 4 not in bitmap of probed irqs 0
Mar  4 00:03:46  kernel: sio0: port may not be enabled
Mar  4 00:03:46  kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Mar  4 00:03:46  kernel: sio0: type 16550A
Mar  4 00:03:46  kernel: sio0: [FILTER]
Mar  4 00:03:46  kernel: ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
Mar  4 00:03:46  kernel: ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
Mar  4 00:03:46  kernel: ppbus0: <Parallel port bus> on ppc0
Mar  4 00:03:46  kernel: ppbus0: [ITHREAD]
Mar  4 00:03:46  kernel: plip0: <PLIP network interface> on ppbus0
Mar  4 00:03:46  kernel: lpt0: <Printer> on ppbus0
Mar  4 00:03:46  kernel: lpt0: Interrupt-driven port
Mar  4 00:03:46  kernel: ppi0: <Parallel I/O> on ppbus0
Mar  4 00:03:46  kernel: ppc0: [GIANT-LOCKED]
Mar  4 00:03:46  kernel: ppc0: [ITHREAD]
Mar  4 00:03:46  kernel: orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff on isa0
Mar  4 00:03:46  kernel: sc0: <System console> at flags 0x100 on isa0
Mar  4 00:03:46  kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Mar  4 00:03:46  kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Mar  4 00:03:46  kernel: sio1: port may not be enabled
Mar  4 00:03:46  kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Mar  4 00:03:46  kernel: ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/20.00, addr 2> on uhub0
Mar  4 00:03:46  kernel: ums0: 4 buttons and Z dir.
Mar  4 00:03:46  kernel: Timecounter "TSC" frequency 3192971556 Hz quality 800
Mar  4 00:03:46  kernel: Timecounters tick every 1.000 msec
Mar  4 00:03:46  kernel: hptrr: no controller detected.
Mar  4 00:03:46  kernel: acd0: DVDR <TSSTcorpCD/DVDW SH-S182D/SB05> at ata1-master WDMA2
Mar  4 00:03:46  kernel: ad3: 38204MB <SAMSUNG SP0411N TW100-11> at ata1-slave WDMA2
Mar  4 00:03:46  kernel: Trying to mount root from ufs:/dev/ad3s1a
Mar  4 00:03:46  savecore: no dumps found
Mar  4 00:03:47  kernel: rl0: link state changed to UP
Mar  4 00:05:45  kernel: da0 at iscsi0 bus 0 target 0 lun 1
Mar  4 00:05:45  kernel: da0: <IET VIRTUAL-DISK 0001> Fixed Direct Access SCSI-5 device
Mar  4 00:05:45  kernel: GEOM_LABEL: Label for provider da0 is ext2fs//home.
Mar  4 00:05:45  kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/ .
Mar  4 00:05:45  iscontrol[785]: cam_open_btl: no passthrough device found at 0:0:2
Mar  4 00:05:45  iscontrol[785]: cam_open_btl: no passthrough device found at 0:0:3
Mar  4 00:06:09  kernel: GEOM_LABEL: Label ext2fs//home removed.
Mar  4 00:06:09  kernel: GEOM_LABEL: Label msdosfs/  removed.
Mar  4 00:06:09  kernel: 0] ism_recv: we lost some rec=0xaf exp=0x0
Mar  4 00:06:31  kernel: 0] ism_recv: we lost some rec=0xb2 exp=0x0
Mar  4 00:06:31  kernel: 0] ism_recv: we lost some rec=0xb3 exp=0x0
Mar  4 00:06:41  kernel: 0] ism_recv: we lost some rec=0xb4 exp=0x0
Mar  4 00:06:41  kernel: 0] ism_recv: we lost some rec=0xb5 exp=0x0
Mar  4 00:06:41  kernel: 0] ism_recv: we lost some rec=0xb6 exp=0x0
Mar  4 00:06:41  kernel: GEOM_LABEL: Label for provider da0 is ext2fs//home.
Mar  4 00:06:41  kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/ .
Mar  4 00:06:47  kernel: GEOM_LABEL: Label ext2fs//home removed.
Mar  4 00:06:47  kernel: GEOM_LABEL: Label msdosfs/  removed.
Mar  4 00:06:47  kernel: 0] ism_recv: we lost some rec=0x13d exp=0x0
Mar  4 00:08:57  kernel: 0] ism_recv: we lost some rec=0x141 exp=0x0
Mar  4 00:08:57  kernel: GEOM_LABEL: Label for provider da0 is ext2fs//home.
Mar  4 00:08:57  kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/ .
Mar  4 00:09:00  kernel: GEOM_LABEL: Label ext2fs//home removed.
Mar  4 00:09:00  kernel: GEOM_LABEL: Label msdosfs/  removed.
Mar  4 00:09:00  kernel: 0] ism_recv: we lost some rec=0x1c8 exp=0x0
Mar  4 00:09:48  kernel: 0] ism_recv: we lost some rec=0x1cd exp=0x0
Mar  4 00:09:48  kernel: 0] ism_recv: we lost some rec=0x1ce exp=0x0
Mar  4 00:10:17  kernel: 0] ism_recv: we lost some rec=0x1cf exp=0x0
Mar  4 00:10:17  kernel: 0] ism_recv: we lost some rec=0x1d0 exp=0x0
Mar  4 00:14:12  kernel: WARNING: R/W mount denied.  Filesystem is not clean - run fsck
Mar  4 00:14:24  kernel: WARNING: R/W mount denied.  Filesystem is not clean - run fsck
Mar  4 00:16:33  kernel: WARNING: R/W mount denied.  Filesystem is not clean - run fsck
                                                                                                                      
************************************************************
Linux:

uname -a
Linux file1.xxxxxxxxx.lv 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:02:30 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
start targe on CentOS
-----------------------------
service tgtd start
tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/sda3
tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL

[centos]# tgtadm --lld iscsi --op show --mode target
Target 1: iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz
    System information:
        Driver: iscsi
        Status: running
    I_T nexus information:
        I_T nexus: 2
            Initiator: n.2001-04.com.example
            Connection: 1
                IP Address: 185.15.113.23
        I_T nexus: 3
            Initiator: iqn.1994-05.com.redhat:7453aa50361
            Connection: 0
                IP Address: 185.15.113.113
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: deadbeaf1:0
            SCSI SN: beaf10
            Size: 0
            Backing store: No backing store
        LUN: 1
            Type: disk
            SCSI ID: deadbeaf1:1
            SCSI SN: beaf11
            Size: 684G
            Backing store: /dev/sda3
    Account information:
    ACL information:
        ALL
--------------------------------------------[

# iscsiadm -m discovery -t sendtargets -p 185.15.113.113
185.15.113.113:3260,1 iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz
#iscsiadm -m node -T iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz -p 185.15.113.113


[centos]# mkfs.msdos /dev/sdc1
mkfs.msdos 2.11 (12 Mar 2005)
[centos]# mount /dev/sdc1 /mnt/
[centos]# mkdir /mnt/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/sda5             2.0G  356M  1.6G  19% /
/dev/sda10            131G  188M  124G   1% /mysql
/dev/sda9             965M   18M  898M   2% /tmp
/dev/sda8             1.9G  687M  1.2G  38% /usr
/dev/sda7             1.9G   36M  1.8G   2% /usr/local
/dev/sda6             4.3G  255M  3.8G   7% /var
/dev/sda1              99M   17M   78M  18% /boot
tmpfs                1003M     0 1003M   0% /dev/shm
/dev/sdc1              94M  2.0K   94M   1% /mnt
[centos]# fdisk -l

Disk /dev/sda: 896.9 GB, 896998047744 bytes
255 heads, 63 sectors/track, 109053 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         651     5124735   82  Linux swap / Solaris
/dev/sda3             652       89999   717687810    0  Empty
/dev/sda4           90001      109053   153043222+   5  Extended
/dev/sda5           90001       90263     2112516   83  Linux
/dev/sda6           90264       90837     4610623+  83  Linux
/dev/sda7           90838       91092     2048256   83  Linux
/dev/sda8           91093       91347     2048256   83  Linux
/dev/sda9           91348       91474     1020096   83  Linux
/dev/sda10          91475      109053   141203286   83  Linux

Disk /dev/sdc: 734.9 GB, 734912317440 bytes
255 heads, 63 sectors/track, 89348 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1             392         403       96390    6  FAT16
/dev/sdc2             404         415       96390   83  Linux
                                                

[centos]# mkfs.ext2 /dev/sdc2
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
24192 inodes, 96388 blocks
4819 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
12 block groups
8192 blocks per group, 8192 fragments per group
2016 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[centos]#
[centos]# mkdir /2
[centos]# mount /dev/sdc2 /2
[centos]# ls
2    boot  etc   lib    lost+found  misc  mysql  opt   root  selinux  sys  usr
bin  dev   home  lib64  media       mnt   net    proc  sbin  srv      tmp  var
[centos]# mkdir /2/linux
[centos]# ls -l /2/
total 13
drwxr-xr-x 2 root root  1024 Mar  5 02:12 linux
drwx------ 2 root root 12288 Mar  5 02:11 lost+found

Высказать мнение | Ответить | Правка | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "iscsi FreeBSD  7.0 - initiator and Linux CentOS 5  target"  
Сообщение от zx1 email(ok) on 04-Мрт-08, 14:44 
Mlin 4to nekto ne stavil na  FreeBSD  7.0 - initiator ne mogu ponjat gde oshibka !! plzz help !
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "iscsi FreeBSD  7.0 - initiator and Linux CentOS 5  target"  
Сообщение от universite email(ok) on 04-Мрт-08, 23:27 
>Mlin 4to nekto ne stavil na  FreeBSD  7.0 - initiator
>ne mogu ponjat gde oshibka !! plzz help !

Оформляйте PR.
Налицо некорректная блокировка.

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

3. "iscsi FreeBSD  7.0 - initiator and Linux CentOS 5  target"  
Сообщение от zx1 (ok) on 05-Мрт-08, 00:12 
>>Mlin 4to nekto ne stavil na  FreeBSD  7.0 - initiator
>>ne mogu ponjat gde oshibka !! plzz help !
>
>Оформляйте PR.
>Налицо некорректная блокировка.

Gde na Linux CentOS 5  target ?
4to takoe  PR.?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

5. "iscsi FreeBSD  7.0 - initiator and Linux CentOS 5  target"  
Сообщение от butcher (ok) on 05-Мрт-08, 14:51 
>>>Mlin 4to nekto ne stavil na  FreeBSD  7.0 - initiator
>>>ne mogu ponjat gde oshibka !! plzz help !
>>
>>Оформляйте PR.
>>Налицо некорректная блокировка.
>
>Gde na Linux CentOS 5  target ?
>4to takoe  PR.?

PR - это Problem Report. Вот здесь можете заполнить:
http://www.freebsd.org/send-pr.html

Но перед этим желательно спросить в списке рассылки (по-английски):
http://lists.freebsd.org/mailman/listinfo/freebsd-stable

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

4. "iscsi FreeBSD  7.0 - initiator and Linux CentOS 5  target"  
Сообщение от zx1 email(ok) on 05-Мрт-08, 14:17 

Решил попробоват все на Фреебсд

FreeBSD  6.1-RELEASE-p20 FreeBSD 6.1-RELEASE-p20 #0: Sun Nov  4 13:29:10 EET 2007     root@:/usr/obj/home/src/sys/PALM

initiator 1
/etc/iscsi.conf
target0 { # nickname
        targetaddress        = 85.115.113.142
        targetname           = iqn.1994-04.org.netbsd.iscsi-target:target0
}

iscontrol -n target0

# mount /dev/da0s1e /mnt/root

--------------------------------------------
iscsi FreeBSD 7.0 - initiator and target

vi /etc/iscsi/targets
# Simple file showing 1 extent, mapped straight into 1 target

# extents       file                    start   length
extent0         /dev/ad3                0       20GB

# target        flags   storage         netmask
target0         rw      extent0         85.115.113.1/24
target1         rw      extent0         85.115.113.1/24

/etc/iscsi.conf
target1 { # nickname
        targetaddress        = 85.115.113.142
        targetname           = iqn.1994-04.org.netbsd.iscsi-target:target0
}


пробвал

target1 { # nickname
        targetaddress        = 85.115.113.142
        targetname           = iqn.1994-04.org.netbsd.iscsi-target:target1
}

без изменений.
/usr/local/etc/rc.d/iscsi_target start


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

FreeBSD 7.0# mount /dev/da0s1e /mnt/root/
FreeBSD 7.0# ls -l /mnt/root/
total 6932
drwxrwxr-x  2 root  operator      512 Mar  4 23:18 .snap
-rw-r--r--  1 root  wheel     7077888 Mar  4 23:33 nout1
drwxr-xr-x  2 root  wheel         512 Mar  5 00:42 root1
FreeBSD 7.0# rm -r /mnt/root/nout1
FreeBSD 7.0# ls -l /mnt/root/
total 4
drwxrwxr-x  2 root  operator  512 Mar  4 23:18 .snap
drwxr-xr-x  2 root  wheel     512 Mar  5 00:42 root1

FreeBSD  6.1# ls -l /mnt/root/
total 6932
drwxrwxr-x  2 root  operator      512 Mar  5 01:18 .snap
-rw-r--r--  1 root  wheel     7077888 Mar  5 01:33 nout1
drwxr-xr-x  2 root  wheel         512 Mar  5 02:42 root1

После удаления фаила на ФрееБСД 7.0
FreeBSD  6.1# ls -l /mnt/root/
total 6932
drwxrwxr-x  2 root  operator      512 Mar  5 01:18 .snap
-rw-r--r--  1 root  wheel     7077888 Mar  5 01:33 nout1
drwxr-xr-x  2 root  wheel         512 Mar  5 02:42 root1
FreeBSD  6.1# umount /mnt/root
FreeBSD  6.1# mount /dev/da0s1e /mnt/root
FreeBSD  6.1# ls -l /mnt/root/
total 4
drwxrwxr-x  2 root  operator  512 Mar  5 01:18 .snap
drwxr-xr-x  2 root  wheel     512 Mar  5 02:42 root1

тепер его нету ! В чем проблема  
почему измений толко после
FreeBSD  6.1# umount /mnt/root
FreeBSD  6.1# mount /dev/da0s1e /mnt/root


Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру